Problem in booting PPC with kernel 2.5.44
linux2 at cdotd.ernet.in
Thu Nov 14 17:06:09 EST 2002
We are porting Linux 2.5.44 for our custom board which has
We are using the arch/ppc/boot/simple bootloader with minor
modifications. At the end of boot-code relocation to 8 Mb, the code jumps
to the relocated code and thereafter
does the decompression (decompress_kernel)of the vmlinux image to physical
address 0 and jumps to the 0th location (3 nops followed by code). It is
from here that early_init is called.
Now the problem is ... the kernel has been linked at 3GB and a call in
kernel/head.S which says ---
translates to sth like => bl 0Xc000xxxx
I dont have the MMU on at this point nor any dual mapping being done
thru the BATs. So how is the above code supposed to execute ?????
Our board precisely hangs after this jump.
Also, later in the same file (kernel/head.S) i have a piece of code which
goes like ...
after doing a mmu_off (disabling translations) we again do branches which
actually translate to the 3Gb addresses. How r they supposed to execute ?
Can somebody pls explain ..
thanx in advance :)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded