Linux loader for Pocket PC





How to compile:



1. Two asm files from asm directory has to be compiled with armasm.exe. This will create two 

obj files, that should be copied into lib directory(and will be included in the project)

2. Compile & link project



The c++ source file also contains some routines to read physical memory and to translate virtual mem to phys.

However, the translation is limited and not fully implemented.



The booting of Linux begins IMMEDIATELLY after program is started.

zImage filename is "image2" (without "")

initrd filename is "initrd"



If it for some reason freezes try removing pieces of code that write into Frame buffer on Axim

(this fb is beyond limits of physical memory and should not cause problems on IPAQ. adr=0x14042000)



Limitations: There are some limitations of file sizes.



If a screen with Hello World appears, there was a problem in booting. Check filenames.



To make it work for SA11x0 you will have to change these lines in asm.asm:

	ldr	r5, =0xa0000100



	ldr	r7, =0xa0400000



with proper adresses and limits of memory( just change the "a" with "8" I think)

Also KERNELCOPY and INITRD macros have to be changed.





authot: Demo; cooldemo@inmail.sk

