1 Linux loader for Pocket PC
6 1. Two asm files from asm directory has to be compiled with armasm.exe. This will create two
7 obj files, that should be copied into lib directory(and will be included in the project)
8 2. Compile & link project
10 The c++ source file also contains some routines to read physical memory and to translate virtual mem to phys.
11 However, the translation is limited and not fully implemented.
13 The booting of Linux begins IMMEDIATELLY after program is started.
14 zImage filename is "image2" (without "")
15 initrd filename is "initrd"
17 If it for some reason freezes try removing pieces of code that write into Frame buffer on Axim
18 (this fb is beyond limits of physical memory and should not cause problems on IPAQ. adr=0x14042000)
20 Limitations: There are some limitations of file sizes.
22 If a screen with Hello World appears, there was a problem in booting. Check filenames.
24 To make it work for SA11x0 you will have to change these lines in asm.asm:
29 with proper adresses and limits of memory( just change the "a" with "8" I think)
30 Also KERNELCOPY and INITRD macros have to be changed.
33 author: Demo; cooldemo@inmail.sk
36 ================================================================================
40 linexec has been changed a lot and therefore some stuff in the above readme
41 might not be true anymore. But anyway, here is how you use linexec:
44 To use linexec, you need 4 files.
46 linexec config file: params
48 Create a file called "params", and put it under either "\My Documents\", or
49 "\CF Card\". If you really care where and what this file is called, edit
50 tester1.cpp and look for load_boot() call.
52 This params file specifies three lines of config for:
57 For example, my params looks like this:
59 \My Documents\initrd.gz
60 init=/linuxrc keepinitrd root=/dev/rd/0
63 (This is what I actually have in my params file, but remember this might not
64 work for your kernel/device)
66 (Also a note for the params file, seems that the code is only happy if the
67 file is in unix format, i.e. newline as \r, but not dos format)
70 And yes, if you see "Hello World", you've got something wrong.