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