Skip to contentSkip to conversation

starting position of linux kernel in memory -- ppc

DISCUSSION Omanakuttan 3 participants 3 messages Dec 24, 2002 – Dec 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
I cross compiled linux kernel using gnutools for mpc8260 and got a file by name zimage.embedded.
We have ordered for a demo on the target board (8260ADS) and they are asking for kernel with start address at 0x0000_0000.
How will I see that info in the kernel ? Or by default it will place itself on 0x0000_0000 ?

Regards,
Om.

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

#1 lore raw
Quoted 7 lines · Omanakuttan

Hi,
I cross compiled linux kernel using gnutools for mpc8260 and got a file by name zimage.embedded.
We have ordered for a demo on the target board (8260ADS) and they are asking for kernel with start address at 0x0000_0000.
How will I see that info in the kernel ? Or by default it will place itself on 0x0000_0000 ?

Erm. Can you give more information here? What firmware? What 8260 board, specifically? The 'zImage.embedded' file you mentioned gets loaded into RAM at 0x0080_0000 by default and when it runs, it will uncompress the kernel and locate it at 0x0000_0000.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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

#2 lore raw
In reply to Omanakuttan
Quoted 5 lines · Omanakuttan

We have ordered for a demo on the target board (8260ADS) and they are asking for kernel with start address at 0x0000_0000.
How will I see that info in the kernel ? Or by default it will place itself on 0x0000_0000 ?

The kernel assumes that some intialisations have been done before it starts, so you need a bootloader like u-boot.

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