Nxl67063 - Windows XP

From miki
Jump to navigation Jump to search

Introduction

This is the configuration page for the WINDOWS XP partition on NXL67063 - Dell Latitude E6410.

Configuration Files

All configuration files can be found here.

Installed Applications

Generic

[2011-07-05] Opera set http://www.google.be as home page.
[2011-07-05] SysInternals Suite Incl. Process Explorer, Autoruns...
[2011-07-05] Launchy v2.5
[2011-07-05] 7zip
[2011-07-05] UltraEdit32 v15.00
[2011-07-05] CCleaner v3.0.8
[2011-07-05] Unlocker v1.8.6, explorer extensions, no check for updates, no Assistant, no eBay shortcuts
[2011-07-05] Cleartype Tuner PowerToy advanced tab, enabled ClearType, RGB, darker (1.0)
[2011-07-07] Firefox v5.0 — Enabled Master Password.
[2011-07-07] Synergy v1.4.3! — See global config — Client & Server — Enable autostart — Set as server, and with Linux 1.3.7 client, copy&paste works both ways!
[2011-07-18] TrueCrypt v7.0a
[2011-07-18] PDF XChange Viewer v2.5a — Set A-F12 for View - Continuous Facing, to enable it while in Fullscreen (F12)

ATOP Development

[2011-07-05] TortoiseSVN [2011-12-14] Updated to version 1.7.2.22327
Version 1.6.16.21511.
  • In SettingsGlobal ignore patterns, add:
.classes _arm9e_rvds22b616 comp.res errors.res map.cmd notfound.res tracer*.res 
*.map _cygwin_nt-5.1 tmp *.tmp jardiff *.stackdump spy_incl.h mkhee_errors.log
[2011-07-06] Kdiff3 ... will integrate automatically in TortoiseSVN.
[2011-07-05] Cygwin Version 1.7.9(1) - See Local settings
[2011-07-05] MS Visual Studio 2010 Keep SQL Server Compact 3.5 SP2, because VS needs it for IntelliSense...
[2011-07-06] ARM RVDS 2.2 (ARM Real View Developer Suite 2.2.1 SP1)

For ATOP 2.5G:

  • Installed in C:\Program Files\ARM
  • Defined user environment variables (no space!):
  • export MK_TARGET=arm9e_rvds22b616.ptl
    export MK_TARGET_NAME=_arm9e_rvds22b616
    
    export RVCT22LIB="C:\apps\RVDS221\RVCT\Data\2.2\503\lib"
    export RVCT22INC="C:\apps\RVDS221\RVCT\Data\2.2\503\include\windows"
    export RVCT22BIN="C:\apps\RVDS221\RVCT\Programs\2.2\503\win_32-pentium.616"
    
  • Define license env variable:
  • export LM_LICENSE_FILE=8224@lichostc;8224@lichostb;8224@lichosta
    
  • Installed RVCT 2.2 patch 593 in ...\2.2\503\win_32-pentium.593
  • TODO: Could define these variables in Cygwin only
  • If not done already, copy armcc.exe to ttc.exe, tcpp.exe and armcpp.exe in each win_32-pentium.*** directory

For ATOP 3.5G:

  • Copied C:\Program Files\ARM\RVCT to C:\apps\RVDS221\RVCT.
[2011-07-06] Java SE JDK Version: Java SE 6 Update 26 (Development Tools, Demos and Samples, Source Code, Public JRE, Java DB).
  • Define variables (for now, as Windows variables):
export JAVA_HOME="C:\Program Files\Java\jdk1.6.0_26\jre"
[2011-07-06] Eclipse Indigo 3.7
[2011-07-06] Ant version 1.8.2, decompressed into C:\ant-1.8.2. Define variables (for now, as Windows variables):
export ANT_HOME='C:\ant-1.8.2'
export PATH=PATH:$(cygpath $ANT_HOME)/bin
[2011-07-06] FTDI drivers USB COM: serial drivers. Select FTDI folder when plugging in USB devices
[2011-10-17] NXP SCCommUI version 2.50 (to see UID on Pegoda reader)
[2011-10-17] NXP SCRTester version 1.6.20 (TAMA, i.e. PN531x, Test application)
[2011-10-17] JCOP Tools version 3.3.2
[2011-10-18] Tera-Term version 4.71 → Full install except japanese stuff, LogMeTT not started at windows logon
[2011-10-18] NXP MifareWnd version 1.70 (to see UID on Pegoda reader)
[2011-10-20] ATOPLoader version 1.30 (from atop repository, D:\atop\Tools\AtopLoader\AtopLoader_1.3.0.zip)
[2011-10-20] TAT version 7.32 (from atop delivery repository, or also on CollabNet, project ATOP, section File Releases)
[2011-10-20] FlashMagic version 5.93 (from http://www.flashmagictool.com). Remove the lines added in C:\AUTOEXEC.BAT, which create a duplicate of path:
SET PATH=%PATH%;C:\PROGRA~1\FLASHM~1
[2011-10-20] CVI DLLs from atop delivery repository. cvirte.dll and cvirte/ copied in C:\WINDOWS\system32
[2011-10-20] SpyTracerV2 version 2.9.0 (from Intermediate Delivery 7.1.1), BUGGY. Version 2.7.4.3. Checked Up to Date dependencies (not Add application directory to your system path or install MSC Builder 3.1
[2011-10-20] 490x UsbRegDrv got from TLMT Wiki — was needed for old SpyTracer, but not needed anymore
[2012-03-01] Trace32 ARM Debugger (see TLMT-T32 probe installation, see also TLMT_ATOP_BasebandDebug.ppt in ATOP repo)
[2012-03-01] TimeDoctor From [1], or [2]

ATOP 3.5G Development

[2012-03-01] Python v 2.5.4 — Installed in C:\python25
[2012-09-27] — v 2.7.3 — Installed in C:\python27.Necessary for ATOP 3.5G B, fix a bug in python ([3], [4]):
 === Compiling  boot/image_header_image_header.c ...
 === Linking    D:/_git/atop35_B/bb/firmware/core/bsp/bootloaders/dbl/build/dbl_SCAUTNZ.elf ...
gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler.
[2012-03-01] pywin32 A set of extension, including binding to Windows API.
v216 for Python 2.6
[2012-09-27] — v217 for Python 2.7
[2012-09-03] QXDM v. 314204 — From \\beqleunxp1ms233.be-leu01.nxp.com\PRO-NXP\_Automotive\13555.Telematics_Roadtolling\QC tools & docs (also atop_35g/Tools/QCT Software Tools)
  • Check README at atop_35g/docs/Option/readme.txt.
  • Copy qct software tools/qxdm/oskJ9Parser.dll to C:\Documents and Settings\All Users\Documents\Qualcomm\QXDM\Parsers.
    This is a custom parser to shown the J9 trace messages.
  • Start QXDM, and close all sub windows.
  • Set option→communication→Target Port to your diagnostics port (needs to be enabled in QPST configuration), then click OK.
  • Press C-F5 (message view configuration), unselect all messages, then in log packets → discovered items, select 0x0001 (this is the J9 trace log messages).
  • Press F3 (message view). After a while you should see the J9 messages.


Un-installed applications (by uninstall date):

[2011-07-07] gVim
+ ruby
[2011-12-08] uninstalled (not used anymore, use cygwin-X gvim instead) — v7.3. See Windows configuration for Vim (Tab Edit with Vim, Share config with Cygwin, ruby support).
[2011-07-08] TortoiseGit [2011-12-08] uninstalled (never used actually) — Use TortoisePLink (from Putty). Don't install msysgit, I'll try to use cygwin's git first...

Simple Settings

[2011-07-05] File Explorer Usual settings...
[2011-07-05] Regional & Language options (Languages): Do not install additional languages; removed pages: 10001-10005, 10008, 10010, 10021, 20000, 20290, 28596, 28598, 38597, 54936, 708, 864
[2011-07-05] Regional & Language options Text services and input languages: (setting) Uninstall all asian keyboards, install my custom BE keyboard, hide language bar / (advanced) Turn off advanced text services
[2012-06-18] Device Manager COM 11 — Set BM Options → Latency Timer set 1ms (to fix long flashing time with FTDI, and possibly connection issues with TAT) (default value = 16ms)

Performance Tuning

Disabled

Component How Reason
Indexing Service for C: & D:
Windows Search service
properties tab → DO NOT Allow Indexing Service to index this disk for fast file searching) Disk grinder and performance hog
JAVA Quick Starter, IQS.exe via Java Control Panel Useless
Services TapiSrv (Telephony)

TermService (Terminal)
RemoteAccess (Remote Access Manager)

Via autoruns Suspected to generate high IO activity, related to lsass.exe ([5], [6]).
CDRom autorun reg. key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom\Autorun ← 0 Might also cause IO activity ([7]).
Junos Logon entry

JuniperAccessService service

via Autoruns Redundant with RACS

Uninstalled:

  • Microsoft Office Language Pack 2007 - Chinese (PRC)
  • Microsoft Office Language Pack 2007 - Chinese (Taiwan)
  • Microsoft Office Language Pack 2007 - Japanese
  • Microsoft Office Language Pack 2007 - Korean
  • Adobe Reader Extended Language Support Font Pack
  • Chinese Simplified Fonts Support For Adobe Reader 9
  • Chinese Traditional Fonts Support For Adobe Reader 9
  • Japanese Fonts Support For Adobe Reader 9
  • Korean Fonts Support For Adobe Reader 9

Compressed:

  • C:\MSOCache
  • C:\Windows\Installer
  • C:\Windows\Software Distribution
  • C:\Windows\NXP Wallpapers

To Do:

  • Delete / compress C:\SwDepot?
  • Delete / compress directories above?
  • Delete Adobe Acrobat Reader?
  • Dete C:\Program Files\Common Files\Microsoft Shared\IME12
    • remove HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Korean IME Migration (Microsoft Korean IME)
    • remove HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IMJPMIG12.0 (Microsoft Office IME 2007)
    • remove HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IMJPMG8.1

Detailed System Settings

Preferences

  • Background: %USERPROFILE%\Pirate Mac.jpg

Environment Variables

User PATH C:\Program Files\UltraEdit\
System PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\ruby\bin;C:\Progra~1\Vim\vim73;C:\cygwin\bin;C:\Program Files\Windows Imaging\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin

Network

  • Mount samba share //nxl67063ux/data as E:
    We will try to use this share as workarea (build area in cygwin, edit and source management, i.e. git, via virtualbox linux)
net use e: /USER:beq06659 '\\nxl67063ux\data'

Detailed Application Settings

CMD.EXE

  • Installed DOSHere

Office

Cygwin

  • Cygwin 1.7.9(1), package dir = D:\TEMP\cygwin, manual proxy, using http://ftp.gwdg.de.
  • Update group/passwd:
#Example (actually this was done automatically on 1st install, and command below does not give same results?!?)
mkgroup -l > /etc/group
mkgroup -d -g "Domain Users" >> /etc/group
mkpasswd -l > /etc/passdw
mkgroup -d -u beq06659 >> /etc/group
  • Create launch shortcut Mintty Bash Shell, target: C:\cygwin\bin\mintty.exe /usr/bin/bash --login -i
  • Add C:\cygwin\bin in PATH (after ...\Wbem).
 ☒  TODO: might create conflicts with tortoisegit & msysgit...
  • Edit /etc/fstab to move cygdrive prefix to / (alternative to mount --change-cydrive-prefix):
vi /etc/fstab
# Add the lines:
#   none / cygdrive binary,posix=0 0 0
mount -a                                  #To mount all
Not! → Again a shortcoming of Cygwin, there is no obvious way for scripts to get the cygdrive prefix. Moreover even if it was possible, there is a big chance that scripts would still hardcode /cygdrive as the default prefix. A better and more portable solution is to leave the default prefix to /cygdrive, and create symbolic links in root dir:
for i in c d h z; do ln -sf /cygdrive/$i /$i; done
  • Add ~/bin/local/nxp/start_nxl67063.sh in windows startup group.
  • Set /HKLM/Software/Cygwin/heap_chunk_in_mb to 1024 1536(solve OoM issue in Git).
  • Added Cygwinports repository.

Default environment:

[2011-07-05] Misc (unison, gnupg, expect, wget, netcat, socat, vim, make, patch, patchutils, psmisc, connect-proxy, p7zip)
[2011-07-05] Git (git, git-svn, git-completion) [2011-12-15] Updated to 1.7.8 Installed from sources
[2011-07-26] SSH (autossh, cygrunsrv, openssh) Client and server. See sshd install instructions. Open port 22 in Windows firewall.
[2011-07-05] psmisc (psmisc) for killall
[2011-07-05] Chere (chere)
chere -i -t mintty
[2011-07-06] MC (mc + dependencies glib, libglib1.2_0)
[2011-07-06] gvim (gvim) Custom build Vim with ruby support
[2011-07-06] Cygwin/X (xorg-server, xinit, xorg-docs, X-start-menu-icons) + some fonts package (like BitStream...)
[2011-07-08] mlcscope (mlcscope) Built from source (got here).
[2011-07-08] cscope Built from source (got here). Requires flex, libncurses-devel (configure; make; make install)
[2011-07-06] Ctags (ctags)
[2011-07-11] Colordiff (colordiff) Add alias diff='colordiff -W ${COLUMNS:-130}' to .bashrc
[2011-07-18] g++ 4 (g++-4) However this conflicts with ATOP 3.5G B (gcc-4 no longer supports option -mno-cygwin. For 3.5G B, select gcc-3 with
/usr/sbin/update-alternatives --set gcc /usr/bin/gcc-3.exe
[2011-07-20] Hex editor (hexedit)
[2011-07-20] wdiff (wdiff)
[2011-07-26] colortail (colortail) build from source ([8]) (configure, make, make install)
[2011-08-03] ack (App::Ack) Install with cpan, with force install App::Ack
[2011-12-01] uncrustify v0.59 — ./configure; make; make install
[2012-05-07] terminator via Cygwinports. See Gnome Terminator. Using --geometry=1435x860+0+0 in windows shortcut.
[2012-05-25] ping Linux version needed by Git helper script ~/bin/prj (detect host availability)
  • Not installed: gcc4 (might conflict with gcc-core?)


For ATOP Build environment:

[2011-07-05] Basic build env (make, gcc-core, perl, python, mintty, openssh, tcsh, ksh, libintl2, util-linux, subversion, subversion-tools, corkscrew, zip, unzip)
[2011-07-05] For CPAN (wget, curl, unzip, lynx, ncftp, patch, patchutils)

To Do

Cygwin Related Issues

  • SolvedCygwin Git shows lots of modified files when changing directory with cd. For instance:
  • cd ~
    git st               # No modified files
    cd bin
    git st               # Plenty of modified files in bin/ and one in ../.vim (strangely...)
    

    Settings:

    autocrlf=input               # Global, in ~/.gitconfig
    ignorecase=true              # Local, in .git/config
    # core.filemode unset
    

    Solution:

    • On cygwin, we must use the following settings (to set in .git/config because these are machine specific):
    core.ignorecase=true
    core.filemode=false
    
    Also for projects with Windows CRLF, better use:
    core.autocrlf=false
    
  • IssueSynergy interfers with Cygwin/X, AltGr not working. See bug.
  • Done — Try to install Gnome Terminator (available from a CygwinPort project mirror). Tried, but failed to load (prob. requires a rebase all or something). Moreover the new X windows had worse fonts.
    • Installed from cygwinports. Nice fonts and all.