I am working on porting wince to our custom platform. It is a
headless device and due to memory constraint we are using tiny kernel
configuration. Thus the entire explorer, shell etc are not available.
However when the device boots up we need to have "cmd.exe" executed
and the prompt available on the serial port.
Found that it is possible by the following registry settings
[HKEY_LOCAL_MACHINE\Drivers\Console]
OutputTo = REG_DWORD:1 // Redirects CMD to COM1
COMSpeed = REG_DWORD:19200 // Speed of serial
connection
And have cmd.exe executed at startup by a separate application. Since
putting cmd.exe in the init registry does execute it but terminates
with message "unrecognized option". The application just does a create
process and executes cmd.exe.
But using platform builder I found that the registry settings set in
platform.reg for COMSpeed, does not match with the actual settings on
the target. I checked the final reginit.ini which infact had the
settings same as platform.reg but the target registry had totally
different settings.
For ex: A setting of 9600 in platform.reg/reginit.ini would result in
target setting of 38400
Any inputs or guidance on this problem