According to the list, this seems to be the prevailing problem for
people who start using HaRET.

Most people can easily copy over the kernel image, initrd, and
default.txt files using ActiveSync, but running leaves them with
output like this[1].

In my case, I'm using HaRET to port Linux to new machine (undisclosed
at the moment). It's based on a PXA270 processor, and I assumed that
it would be easy to just copy the Dell Axim X50 kernel code and modify
it slightly, since the Axim X50 has already been ported to Linux with
HaRET. What I did, was copy the X50 source, renamed most of the
functions and data structures, and then defined my own entry in
arm/asm/tools/mach-types.

This line is particularly interesting, showing virtual/physical addresses:

Allocated 279 pages (tags=49900000/a74a5000 kernel=49901000/a74a4000
initrd=49A13000/a7392000 index=49A13000/a7392000)

The kernel is loaded at 0xa74a4000 ... is this number related to the
zreladdr defined in arch/arm/mach-pxa/Makefile.boot ?

My default.txt is:

set MTYPE 1554
set kernel "zImage.bin"
set cmdline "rdinit=/sbin/init console=tty0"
bootlinux

[1]
Welcome, this is HaRET 0.5.2 running on WindowsCE v5.0
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Generic Intel PXA27x/PXA27x (Plat='PLATFORM_TYPE'
OEM='PLATFORM_OEM')
CPU is Intel ARM arch 5TE revision 0 product 17 stepping 7 running in
system mode
Enter 'HELP' for a short command summary.

HaRET(1)# run default.txt
boot KERNEL=zImage-cl9400.bin INITRD=
Opening file zImage-cl9400.bin
boot params: RAMADDR=a0000000 RAMSIZE=03000000 MTYPE=1554
CMDLINE='rdinit=/sbin/init console=tty0'
Boot FB feedback: 1
Built virtual to physical page mapping
Allocated 279 pages (tags=49900000/a74a5000 kernel=49901000/a74a4000
initrd=49A13000/a7392000 index=49A13000/a7392000)
Built kernel tags area
Built page index
Video buffer at A7D00480 sx=240 sy=320 mx=60 my=53
Video Phys FB=a7d00480 Fonts=a7390064
preload=2...@49a16000/a738f000 sj=49A16000 stack=49A14000/a7391000
data=49A15000/a7390000 exec=a738f128
Reading 1120360 bytes...
Read complete
Launching to physical address a738f010
Trampoline setup (tram=...@000255f4/100255f4/a738d5f4)
MMU setup: mmu=A2DA0000/a2da0000
Go Go Go...
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to