Nxl67063 - Windows XP: Difference between revisions

From miki
Jump to navigation Jump to search
 
(37 intermediate revisions by the same user not shown)
Line 31: Line 31:
|[2011-07-18]||'''TrueCrypt'''||v7.0a
|[2011-07-18]||'''TrueCrypt'''||v7.0a
|-
|-
|[2011-07-18]||'''PDF XChange Viewer'''||v2.5a
|[2011-07-18]||'''PDF XChange Viewer'''||v2.5a — Set {{kb|A-F12}} for ''View - Continuous Facing'', to enable it while in ''Fullscreen'' ({{kb|F12}})
|}
|}

=== ATOP Development ===
=== ATOP Development ===
{| class="install_log"
{| class="install_log"
Line 53: Line 54:
<ul>
<ul>
<li>Installed in <tt>C:\Program Files\ARM</tt></li>
<li>Installed in <tt>C:\Program Files\ARM</tt></li>
<li>Defined user environment variables:</li><source lang="bash">
<li>Defined user environment variables ('''no space'''!):</li><s><source lang="bash">
export MK_TARGET=arm9e_rvds22b616.ptl
export MK_TARGET=arm9e_rvds22b616.ptl
export MK_TARGET_NAME=_arm9e_rvds22b616
export MK_TARGET_NAME=_arm9e_rvds22b616
</source></s>
export RVCT22LIB="C:\Program Files\ARM\RVCT\Data\2.2\503\lib"
<source lang="bash">
export RVCT22INC="C:\Program Files\ARM\RVCT\Data\2.2\503\include\windows"
export RVCT22BIN="C:\Program Files\ARM\RVCT\Programs\2.2\503\win_32-pentium.616"
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"
</source>
</source>
<li>Define license env variable:</li><source lang="bash">export LM_LICENSE_FILE=8224@lichostc;8224@lichostb;8224@lichosta</source>
<li>Define license env variable:</li><source lang="bash">export LM_LICENSE_FILE=8224@lichostc;8224@lichostb;8224@lichosta</source>
Line 71: Line 74:
* Define variables (for now, as Windows variables):
* Define variables (for now, as Windows variables):
<source lang="bash">
<source lang="bash">
export JAVA_HOME="C:\Program Files\Java\jdk1.6.0_26\jre"
export JAVA_HOME="C:\Progra~1\Java\jdk1.6.0_26\jre"
export PATH=$(cygpath $JAVA_HOME)/bin:$PATH # Optional it seems
</source>
</source>
|-
|-
Line 79: Line 83:
<source lang="bash">
<source lang="bash">
export ANT_HOME='C:\ant-1.8.2'
export ANT_HOME='C:\ant-1.8.2'
export PATH=PATH:$(cygpath $ANT_HOME)/bin
export PATH=$PATH:$(cygpath $ANT_HOME)/bin
</source>
</source>
|-
|-
Line 102: Line 106:
|[2011-10-20]||'''CVI DLLs'''||from atop delivery repository. <tt>cvirte.dll</tt> and <tt>cvirte/</tt> copied in <tt>C:\WINDOWS\system32</tt>
|[2011-10-20]||'''CVI DLLs'''||from atop delivery repository. <tt>cvirte.dll</tt> and <tt>cvirte/</tt> copied in <tt>C:\WINDOWS\system32</tt>
|-
|-
|[2011-10-20]||'''SpyTracerV2'''||<s>version 2.9.0 (from Intermediate Delivery 7.1.1), BUGGY</s>. 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]||'''SpyTracerV2'''||<s>version 2.9.0 (from Intermediate Delivery 7.1.1), BUGGY</s>. Version 2.7.4.3. Checked ''Up to Date dependencies'' (not ''Add application directory to your system path'' or ''install MSC Builder 3.1''<br/>[2012-12-18] Let's try v2.9.0 from Delivery 7.6.1
|-
|-
|[2011-10-20]||'''490x UsbRegDrv'''||got from TLMT Wiki &mdash; was needed for old SpyTracer, but not needed anymore
|[2011-10-20]||'''490x UsbRegDrv'''||got from TLMT Wiki &mdash; was needed for old SpyTracer, but not needed anymore
|-
|[2012-03-01]||'''Trace32'''||ARM Debugger (see [https://nww.wiki.nxp.com/display/TLMT/T32+probe+installation TLMT-T32 probe installation], see also ''TLMT_ATOP_BasebandDebug.ppt'' in ATOP repo)
|-
|[2012-03-01]||'''TimeDoctor'''||From [http://timedoctor.net/], or [http://sourceforge.net/projects/timedoctor/]
|-
|}

=== ATOP 3.5G Development ===
{| class="install_log"
|-
|[2012-03-01]||'''Python'''||<s>[http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi v 2.5.4] &mdash; Installed in <tt>C:\python25</tt></s><br/>[2012-09-27] &mdash; [http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi v 2.7.3] &mdash; Installed in <tt>C:\python27</tt>.Necessary for ''ATOP 3.5G B'', fix a bug in python ([http://stackoverflow.com/questions/9645004/python-mno-cygwin], [http://bugs.python.org/issue12641]):
<source lang=text>
=== 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.
</source>
|-
|[2012-03-01]||'''pywin32'''||A set of extension, including binding to Windows API.<br/><s>[http://heanet.dl.sourceforge.net/project/pywin32/pywin32/Build216/pywin32-216.win32-py2.5.exe v216 for Python 2.6]</s><br/>[2012-09-27] &mdash; [http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win32-py2.7.exe/download v217 for Python 2.7]
|-
|[2012-09-03]||'''QXDM'''||v. 314204 &mdash; From <tt>\\beqleunxp1ms233.be-leu01.nxp.com\PRO-NXP\_Automotive\13555.Telematics_Roadtolling\QC tools & docs</tt> (also <tt>atop_35g/Tools/QCT Software Tools</tt>)
* Check README at <tt>atop_35g/docs/Option/readme.txt</tt>.
* {{green|A-sample only}} &mdash; '''Copy''' <tt>qct software tools/qxdm/oskJ9Parser.dll</tt> to <tt>C:\Documents and Settings\All Users\Documents\Qualcomm\QXDM\Parsers</tt>. <br/>This is a custom parser to shown the J9 trace messages.
* '''Start''' QXDM, and close all sub windows.
* '''Set''' ''option&rarr;communication&rarr;Target Port'' to your ''diagnostics port'' (needs to be enabled in QPST configuration), then '''click''' ''OK''.
* '''Press''' {{kb|C-F5}} (message view configuration), '''unselect''' all messages, then in ''log packets &rarr; discovered items'', '''select''' ''0x0001'' (this is the J9 trace log messages).
* '''Press''' {{kb|F3}} (message view). After a while you should see the J9 messages.
* Copy ''ATOPDB'' folder to Qualcomm QXDM data directory (on win7, copy it to <tt>%PUBLIC%\Documents\Qualcomm\QXDM\Database\ATOPDB</tt>)

|-
|[2012-09-28]||'''QPST'''||v2.7.391
|-
|[2012-09-28]||'''QC USB Drivers'''||''atop 35G_B'' &mdash; Unpack file HK11-NA430-2.zip (or check atop tree at <tt>./Tools/USBDrivers</tt>). Plug the atop board, wait for windows pop-up, and select <tt>.\fre\XP-Vista</tt> as location for the driver
|-
|[2013-04-12]||'''I2cbird drivers'''||downloaded from https://nww.wiki.nxp.com/display/HWProto/I2C+Tools
|}
|}


Line 124: Line 162:
|-
|-
|[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
|[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''' &mdash; Set BM Options &rarr; Latency Timer set '''1ms''' (to fix long flashing time with FTDI, and possibly connection issues with TAT) (default value = 16ms)
|}
|}


== Performance Tuning ==
== Performance Tuning ==
* Disabled:
'''Disabled'''
{| class="wikitable"
** Indexing Service - C: & D: properties - DO NOT ''Allow Indexing Service to index this disk for fast file searching''
!Component!!How!!Reason
** JAVA Quick Starter, <tt>IQS.exe</tt> (from Java Control Panel)
|-
* Uninstalled:
|Indexing Service for C: & D:<br/>''Windows Search'' service
** Microsoft Office Language Pack 2007 - Chinese (PRC)
|''properties'' tab &rarr; DO NOT ''Allow Indexing Service to index this disk for fast file searching'')
** Microsoft Office Language Pack 2007 - Chinese (Taiwan)
|Disk grinder and performance hog
** Microsoft Office Language Pack 2007 - Japanese
|-
** Microsoft Office Language Pack 2007 - Korean
|JAVA Quick Starter, <tt>IQS.exe</tt>
** Adobe Reader Extended Language Support Font Pack
|via Java Control Panel
** Chinese Simplified Fonts Support For Adobe Reader 9
|Useless
** Chinese Traditional Fonts Support For Adobe Reader 9
|-
** Japanese Fonts Support For Adobe Reader 9
|Services TapiSrv (''Telephony'')<br/>
** Korean Fonts Support For Adobe Reader 9
TermService (''Terminal'')<br/>
* Compressed:
RemoteAccess (''Remote Access Manager'')
** <tt>C:\MSOCache</tt>
|Via autoruns
** <tt>C:\Windows\Installer</tt>
|Suspected to generate high IO activity, related to ''lsass.exe'' ([http://www.tomshardware.com/forum/115387-45-lsass-read-write], [http://help.wugnet.com/windows/lsass-exe-ftopict570536.html]).<br/>
** <tt>C:\Windows\Software Distribution</tt>
'''{{red|Terminal Services}} are needed to share desktop on Communicator!!!'''
** <tt>C:\Windows\NXP Wallpapers</tt>
|-
|CDRom autorun
|reg. key <tt>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom\Autorun</tt> &larr; 0
|Might also cause IO activity ([http://forums.techguy.org/windows-xp/577417-solved-why-does-lsass-exe.html]).
|-
|Junos Logon entry<br/>
JuniperAccessService service
|via Autoruns
|Redundant with RACS
|}
'''{{red|!NEW!}}''' [2012-12-20] &mdash; I disabled again a few things with autoruns, and also booting as a local user, and now I'm getting '''92 forks/s''' in cygwin (in a ''screen'' session)!!! This is really incredible since before I only got 6 forks/s:
<source lang=bash>
$ while : ; do date ; done | uniq -c
19 Thu, Dec 20, 2012 8:28:11 PM
91 Thu, Dec 20, 2012 8:28:12 PM
92 Thu, Dec 20, 2012 8:28:13 PM
</source>

'''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''':
* <tt>C:\MSOCache</tt>
* <tt>C:\Windows\Installer</tt>
* <tt>C:\Windows\Software Distribution</tt>
* <tt>C:\Windows\NXP Wallpapers</tt>


To Do:
'''To Do''':
* Delete / compress <tt>C:\SwDepot</tt>?
* Delete / compress <tt>C:\SwDepot</tt>?
* Delete / compress directories above?
* Delete / compress directories above?
Line 168: Line 242:
|<tt>%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</tt>
|<tt>%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</tt>
|}
|}

=== Network ===
* Mount samba share <tt>//nxl67063ux/data</tt> as <tt>E:</tt><br/>We will try to use this share as workarea (build area in cygwin, edit and source management, i.e. git, via virtualbox linux)
<source lang=bash>
net use e: /USER:beq06659 '\\nxl67063ux\data'
</source>

=== Firewall ===
* Remove group policy (after disabling ''netlogon'') at <tt>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall</tt>. Disabled '''all''' exceptions except:
** Microsoft Office Outlook
** Office Communicator
** Opera Internet Browser
** ping.exe
** SSH
** XWin


== Detailed Application Settings ==
== Detailed Application Settings ==
Line 183: Line 272:
mkgroup -l > /etc/group
mkgroup -l > /etc/group
mkgroup -d -g "Domain Users" >> /etc/group
mkgroup -d -g "Domain Users" >> /etc/group
mkpasswd -l > /etc/passdw
mkpasswd -l > /etc/passwd
mkgroup -d -u beq06659 >> /etc/group
mkpasswd -d -u beq06659 >> /etc/passwd
</source>
</source>
* Create launch shortcut '''Mintty Bash Shell''', target: <code>C:\cygwin\bin\mintty.exe /usr/bin/bash --login -i</code>
* Create launch shortcut '''Mintty Bash Shell''', target: <code>C:\cygwin\bin\mintty.exe /usr/bin/bash --login -i</code>
Line 201: Line 290:
* Add <tt>~/bin/local/nxp/start_nxl67063.sh</tt> in windows ''startup'' group.
* Add <tt>~/bin/local/nxp/start_nxl67063.sh</tt> in windows ''startup'' group.
* Set <tt>/HKLM/Software/Cygwin/heap_chunk_in_mb</tt> to '''1024''' '''<s>1536</s>'''(solve OoM issue in Git).
* Set <tt>/HKLM/Software/Cygwin/heap_chunk_in_mb</tt> to '''1024''' '''<s>1536</s>'''(solve OoM issue in Git).
* Added [[Cygwin#Cygwinports|Cygwinports]] repository.
* Environment variables
{| class="wikitable"
|-
|User||ANT_HOME||<tt>C:\ant-1.8.2</tt>||For ATOP java build
|-
|User||CYGWIN||<tt>nodosfilewarning</tt>||
|-
|User||DISPLAY||<tt>127.0.0.1:0.0</tt>||for CygwinX
|-
|User||HOME||<tt>C:\cygwin\home\mpe</tt>||
|-
|User||JAVA_HOME||<tt>C:\Progra~1\Java\jdk1.6.0_26\jre</tt>||For ATOP java build
|-
|User||TEMP||<tt>C:\TEMP</tt>||... to avoid troubles in Cygwin
|-
|User||TMP||<tt>C:\TEMP</tt>||... to avoid troubles in Cygwin
|}


'''Default environment''':
'''Default environment''':
Line 231: Line 338:
|[2011-07-11]||'''Colordiff''' (<tt>colordiff</tt>)||Add <code>alias diff='colordiff -W ${COLUMNS:-130}'</code> to <tt>.bashrc</tt>
|[2011-07-11]||'''Colordiff''' (<tt>colordiff</tt>)||Add <code>alias diff='colordiff -W ${COLUMNS:-130}'</code> to <tt>.bashrc</tt>
|-
|-
|[2011-07-18]||'''g++ 4''' (<tt>g++-4</tt>)||
|[2011-07-18]||'''g++ 4''' (<tt>g++-4</tt>)||However this conflicts with ATOP 3.5G B (gcc-4 no longer supports option <tt>-mno-cygwin</tt>. For 3.5G B, select gcc-3 with
<source lang=bash>
/usr/sbin/update-alternatives --set gcc /usr/bin/gcc-3.exe
</source>
|-
|-
|[2011-07-20]||'''Hex editor''' (<tt>hexedit</tt>)||
|[2011-07-20]||'''Hex editor''' (<tt>hexedit</tt>)||
Line 242: Line 352:
|-
|-
|[2011-12-01]||'''uncrustify'''||v0.59 &mdash; <code>./configure; make; make install</code>
|[2011-12-01]||'''uncrustify'''||v0.59 &mdash; <code>./configure; make; make install</code>
|-
|[2012-05-07]||'''terminator'''||via Cygwinports. See [[Linux Software#Gnome Terminator|Gnome Terminator]]. Using <tt>--geometry=1435x860+0+0</tt> in windows shortcut.
|-
|[2012-05-25]||'''ping'''||Linux version needed by Git helper script <tt>~/bin/prj</tt> (detect host availability)
|}
|}


Line 257: Line 371:


== To Do ==
== To Do ==
=== Other ===
<ul>
<li>'''{{green|Solved}}''' &mdash; '''Communicator Share Desktop''' does not work (show a huge pause sign on remote)<br/>
Solution: Enable the '''Terminal Services''' (automatic) (see [http://social.technet.microsoft.com/Forums/en-US/ocsconferencing/thread/17032f49-7ad2-4491-b130-7014438444fc/]).
</ul>
=== Cygwin Related Issues ===
=== Cygwin Related Issues ===
<ul>
<ul>
Line 284: Line 403:


<li>'''{{red|Issue}}''' &mdash; '''Synergy''' interfers with Cygwin/X, AltGr not working. See [http://synergy-foss.org/pm/issues/966 bug].
<li>'''{{red|Issue}}''' &mdash; '''Synergy''' interfers with Cygwin/X, AltGr not working. See [http://synergy-foss.org/pm/issues/966 bug].
<li>'''{{blue|To Do}}''' &mdash; Try to install '''Gnome Terminator''' (available from a CygwinPort project mirror). Tried, but failed to load (prob. requires a <code>rebase all</code> or something). Moreover the new X windows had worse fonts.</li>
<li>'''{{green|Done}}''' &mdash; Try to install '''Gnome Terminator''' (available from a CygwinPort project mirror). Tried, but failed to load (prob. requires a <code>rebase all</code> or something). Moreover the new X windows had worse fonts.</li>
* Installed from cygwinports. Nice fonts and all.
</ul>
</ul>

Latest revision as of 09:55, 19 June 2013

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:\Progra~1\Java\jdk1.6.0_26\jre"
export PATH=$(cygpath $JAVA_HOME)/bin:$PATH               # Optional it seems
[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
[2012-12-18] Let's try v2.9.0 from Delivery 7.6.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.
  • A-sample onlyCopy 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.
  • Copy ATOPDB folder to Qualcomm QXDM data directory (on win7, copy it to %PUBLIC%\Documents\Qualcomm\QXDM\Database\ATOPDB)
[2012-09-28] QPST v2.7.391
[2012-09-28] QC USB Drivers atop 35G_B — Unpack file HK11-NA430-2.zip (or check atop tree at ./Tools/USBDrivers). Plug the atop board, wait for windows pop-up, and select .\fre\XP-Vista as location for the driver
[2013-04-12] I2cbird drivers downloaded from https://nww.wiki.nxp.com/display/HWProto/I2C+Tools


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]).

Terminal Services are needed to share desktop on Communicator!!!

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

!NEW! [2012-12-20] — I disabled again a few things with autoruns, and also booting as a local user, and now I'm getting 92 forks/s in cygwin (in a screen session)!!! This is really incredible since before I only got 6 forks/s:

$ while : ; do date ; done | uniq -c
     19 Thu, Dec 20, 2012  8:28:11 PM
     91 Thu, Dec 20, 2012  8:28:12 PM
     92 Thu, Dec 20, 2012  8:28:13 PM

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'

Firewall

  • Remove group policy (after disabling netlogon) at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall. Disabled all exceptions except:
    • Microsoft Office Outlook
    • Office Communicator
    • Opera Internet Browser
    • ping.exe
    • SSH
    • XWin

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/passwd
mkpasswd -d -u beq06659 >> /etc/passwd
  • 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.
  • Environment variables
User ANT_HOME C:\ant-1.8.2 For ATOP java build
User CYGWIN nodosfilewarning
User DISPLAY 127.0.0.1:0.0 for CygwinX
User HOME C:\cygwin\home\mpe
User JAVA_HOME C:\Progra~1\Java\jdk1.6.0_26\jre For ATOP java build
User TEMP C:\TEMP ... to avoid troubles in Cygwin
User TMP C:\TEMP ... to avoid troubles in Cygwin

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

Other

  • SolvedCommunicator Share Desktop does not work (show a huge pause sign on remote)
    Solution: Enable the Terminal Services (automatic) (see [9]).

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.