Problem porting linux 2.6 on IBM405EP based boards
Vijay Sampath
vsampath at gmail.com
Thu Dec 14 04:26:31 EST 2006
Hello,
I am trying to port a timesys reference kernel based on 2.6.16 to our
IBM 405 EP based board. I enabled early console print and some debug
prints, and after initial configuration, snippet A below is as far as
the bootup got.
Then in head_4xx.S, I commented out the tlbia instruction (right before jump
to start_kernel). This was not because I knew what I was
doing, but the debugger indicated that I was having a TLB exception,
and that is how the code is in our working 2.4 port of the kernel.
After this, the code started executing start_kernel, but stopped
shortly thereafter (snippet B). After this every time I press a key,
the following line gets printed:
$T0740:30300a00;01:c0621fb0;#45
Its possible that I have something configured wrong, but
any guidance on what that message could possibly mean would be
appreciated. Also any information on how the tlbia instruction was
working on other platforms would also help.
Thanks,
Vijay
========snippet A======================
Transfering control to downloaded image at [0x400000]
loaded at: 00400000 00612134
zimage at: 0040582D 00524D87
initrd at: 00525000 0060FBA5
avail ram: 00613000 00800000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
========snippet B======================
Transfering control to downloaded image at [0x400000]
loaded at: 00400000 00612134
zimage at: 0040582D 00524D87
initrd at: 00525000 0060FBA5
avail ram: 00613000 00800000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
paging: exit
tb_ticks_per_jiffy: 512000
$T0740:30300a00;01:c0621fb0;#45
More information about the Linuxppc-embedded
mailing list