]> git.zerfleddert.de Git - linexec-j720/blame - ReadMe.txt
Initial import of xdadeveloper linexec sources
[linexec-j720] / ReadMe.txt
CommitLineData
77a37381 1Linux loader for Pocket PC\r
2\r
3\r
4How to compile:\r
5\r
61. Two asm files from asm directory has to be compiled with armasm.exe. This will create two \r
7obj files, that should be copied into lib directory(and will be included in the project)\r
82. Compile & link project\r
9\r
10The c++ source file also contains some routines to read physical memory and to translate virtual mem to phys.\r
11However, the translation is limited and not fully implemented.\r
12\r
13The booting of Linux begins IMMEDIATELLY after program is started.\r
14zImage filename is "image2" (without "")\r
15initrd filename is "initrd"\r
16\r
17If it for some reason freezes try removing pieces of code that write into Frame buffer on Axim\r
18(this fb is beyond limits of physical memory and should not cause problems on IPAQ. adr=0x14042000)\r
19\r
20Limitations: There are some limitations of file sizes.\r
21\r
22If a screen with Hello World appears, there was a problem in booting. Check filenames.\r
23\r
24To make it work for SA11x0 you will have to change these lines in asm.asm:\r
25 ldr r5, =0xa0000100\r
26\r
27 ldr r7, =0xa0400000\r
28\r
29with proper adresses and limits of memory( just change the "a" with "8" I think)\r
30Also KERNELCOPY and INITRD macros have to be changed.\r
31\r
32\r
33author: Demo; cooldemo@inmail.sk\r
34\r
35\r
36================================================================================\r
37\r
38Amendment by Pigeon:\r
39\r
40linexec has been changed a lot and therefore some stuff in the above readme\r
41might not be true anymore. But anyway, here is how you use linexec:\r
42\r
43\r
44To use linexec, you need 4 files.\r
45\r
46linexec config file: params\r
47\r
48Create a file called "params", and put it under either "\My Documents\", or\r
49"\CF Card\". If you really care where and what this file is called, edit\r
50tester1.cpp and look for load_boot() call.\r
51\r
52This params file specifies three lines of config for:\r
53kernel image\r
54initrd image\r
55kernel args\r
56\r
57For example, my params looks like this:\r
58\My Documents\zimage\r
59\My Documents\initrd.gz\r
60init=/linuxrc keepinitrd root=/dev/rd/0\r
61\r
62\r
63(This is what I actually have in my params file, but remember this might not\r
64work for your kernel/device)\r
65\r
66(Also a note for the params file, seems that the code is only happy if the\r
67file is in unix format, i.e. newline as \r, but not dos format)\r
68\r
69\r
70And yes, if you see "Hello World", you've got something wrong.\r
71\r
72\r
73Pigeon.\r
74\r
75\r
76\r
77\r
Impressum, Datenschutz