Limon & PowerQUICC II, Booting the kernel

3 messages, 3 authors, 2000-09-26 · open the first message on its own page

Limon & PowerQUICC II, Booting the kernel

From: <hidden>
Date: 2000-09-25 15:24:58

Hi

I have Limon up and running. I managed to set up the host in order
to serv the linux kernel.
The kernel I download is the ordinary kernel from Montavista HH1.2.
I prepared the zImage in the following way:
1. I stripped off the elf header. (dd if=zImage of=stripZImage bs=64k skip=1)
2. I run it through mklimon to add the limon specific header.

After I've loaded the kernel I can see the kernel in the RAM from addr 0.

When I issue the 'run' command the target crashes.

---------------- Linux Monitor 1.4.2-SBC-8260 ----------------
limon>
limon>
limon> load
BOOTP/TFTP from server 10.1.20.2; our IP address is 10.1.20.1.
Filename '/usr/src/nfs/limonZImage'.
Loading: >.................................................................<
done.
limon>
limon> debug
limon> dw
00000000   48000005  7c6b1b78  7cb92b78  38600040  H...|k.x|.+x8`.@
00000010   7c600124  3c800040  60840000  7c6802a6  |`.$<..@`...|h..
00000020   3863fffc  7c681b78  7c032000  40820028  8c..|h.x|. .@..(
00000030   3c800040  60840000  3ca00040  60a5b274  <..@`...<..@`..t
00000040   38a50003  7ca42850  54a5f0be  7ca72b78  8...|.(PT...|.+x
limon>
limon>
limon> run
... crash


Question:

1. Is my kernel image munging correct?

2. Is the start address 0 correct?

3. Some data are transferred from limon to the kernel.
 - Does Limon handle this correctly?
 - Where are these data located?


Thank you for any help

Ruedi

Re: Limon & PowerQUICC II, Booting the kernel

From: Wang Chao Feng <hidden>
Date: 2000-09-03 01:39:10

Hi,

Could somebody tell me where I can download the Linux Monitor( Limon )?

thenk you for any help

Wang Chao Feng

9.28

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Limon & PowerQUICC II, Booting the kernel

From: Dan Malek <hidden>
Date: 2000-09-26 15:37:41

Ruedi.Hofer@ascom.ch wrote:
After I've loaded the kernel I can see the kernel in the RAM from addr 0.
I don't know what limon does, but zImage doesn't load at address 0......
limon> debug
limon> dw
00000000   48000005  7c6b1b78  7cb92b78  38600040  H...|k.x|.+x8`.@
00000010   7c600124  3c800040  60840000  7c6802a6  |`.$<..@`...|h..
00000020   3863fffc  7c681b78  7c032000  40820028  8c..|h.x|. .@..(
00000030   3c800040  60840000  3ca00040  60a5b274  <..@`...<..@`..t
00000040   38a50003  7ca42850  54a5f0be  7ca72b78  8...|.(PT...|.+x
If this is really address zero, these instructions are left over
from the last kernel boot.
2. Is the start address 0 correct?
No.
3. Some data are transferred from limon to the kernel.
 - Does Limon handle this correctly?
 - Where are these data located?
I don't know.  On the PQ-II (8260), the zImage should be loaded at or
above 0x900000, then jump to that address.  The code will relocate,
uncompress and start the kernel.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help