[Hpipaq21x-devel] Haret booting
jet at oliford.co.uk
Thu Oct 30 15:25:31 CET 2008
For pre-MMU (and assembly) kernel debugging you need code like:
mov r10, #0x40000000;
add r10,r10, #0x00900000;
add r10,r10, #0x0000002c;
mov r9, #0x00000000;
to set the RTC regs.
A very useful place if you're having startup difficulties is in
__error_p and __error_a in arch/arm/kernel/head-common.S which are the
error handles for when it doesn't want to run on the machine (eg. you
get the machine ID wrong etc, see head.S in the same dir for the actual
kernel entry point).
More information about the Hpipaq21x-devel