Once you decided to use open source for your mobile/embedded device, Linux comes to your mind. Thanks to Linus Torvalds, it has seen several avatars in servers, desktops and embedded devices. I am a fan and a hard-core Linux user/developer, I decided to load it in my Windows Moblie, at any cost.
I backed up everything in my mobile (just in case!). I decided to use a SD mini disk to try my experiments. We need a boot loader to boot this device. I learnt that Haret is used a boot loader for Windows Mobile. Haret not only used as a boot loader, but also used for accessing internal hardware of the device as well.
I copied it on to the SD mini disk and ran it. Without any problem, it loaded and ran and created a log file. Here is the output of Haret.
===== HaRET 0.5.2 =====
Setting KMode to true.
Old KMode was 0
Finished initializing output
Loading dynamically bound functions
Function ‘AllocPhysMem’ in library ‘coredll’ at 03F77854
Function ‘FreePhysMem’ in library ‘coredll’ at 03F778C0
Function ‘?GXOpenDisplay@@YAHPAUHWND__@@K@Z’ in library ‘gx’ at 022D19EC
Function ‘?GXCloseDisplay@@YAHXZ’ in library ‘gx’ at 022D1DCC
Function ‘?GXBeginDraw@@YAPAXXZ’ in library ‘gx’ at 022D12A8
Function ‘?GXEndDraw@@YAHXZ’ in library ‘gx’ at 022D136C
Function ‘LoadLibraryExW’ in library ‘coredll’ at 03F779FC
Function ‘NLedSetDevice’ in library ‘coredll’ at 03F9E3C0
Function ‘GetSystemPowerStatusEx2′ in library ‘coredll’ at 03F7E170
Function ‘SleepTillTick’ in library ‘coredll’ at 03F7791C
Function ‘CreateToolhelp32Snapshot’ in library ‘toolhelp’ at 02E8105C
Function ‘CloseToolhelp32Snapshot’ in library ‘toolhelp’ at 02E8107C
Function ‘Process32First’ in library ‘toolhelp’ at 02E81140
Function ‘Process32Next’ in library ‘toolhelp’ at 02E811AC
Function ‘Module32First’ in library ‘toolhelp’ at 02E81340
Function ‘Module32Next’ in library ‘toolhelp’ at 02E813B0
Function ‘Heap32ListFirst’ in library ‘toolhelp’ at 02E8144C
Function ‘Heap32ListNext’ in library ‘toolhelp’ at 02E814D4….
…..
….
Detecting current machine
Trying to detect machine (Plat=’PocketPC’ OEM=’WIZA200′)
Wince reports processor: core= name=OMAP850-195MHz cat= vend=TI…..
.,…
….
Detecting ram size
WinCE reports memory size 67108864 (phys=46149632 store=49770496)
Mapping mmu table
Build L1 reverse map
Found 85 uncached and 85 cached L1 mappings (ignored 1).….
….
….
Welcome, this is HaRET 0.5.2 running on WindowsCE v5.1
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Wizard/OMAP850 (Plat=’PocketPC’ OEM=’WIZA200′)
CPU is ARM ARM arch 5TEJ stepping 3 running in system mode
Enter ‘HELP’ for a short command summary.
Once Haret was run, the device was waiting on the port 9999 to receive commands. Since my mobile was connected through my home wifi, I was able to telnet to port 9999 and here is the response
$ telnet 192.168.0.112 9999
Trying 192.168.0.112…
Connected to 192.168.0.112.
Escape character is ‘^]’.
Welcome, this is HaRET 0.5.2 running on WindowsCE v5.1
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Wizard/OMAP850 (Plat=’PocketPC’ OEM=’WIZA200′)
CPU is ARM ARM arch 5TEJ stepping 3 running in system mode
Enter ‘HELP’ for a short command summary.
The next step is to find a Linux port for OMAP850. Watch this space for more updates.
Recent Comments