Skip to contentSkip to conversation

Question about linker -Ttext option

DISCUSSION Bob Beck 1 participant 1 message Mar 9, 2004

lore
Share & tools
lore

Bob Beck

author
#0 lore raw

In the arch/ppc/boot directory, one of the linker options is "-Ttext 0x00800000".

What does this mean ?

The base virtual address of the kernel is c0000000.

I've been using my own hand-rolled bootloader to load the zImage.bin file into an address allocated by the VxWorks malloc and jumping to that address.

Second question.

arch/ppc/boot/simple/head.S says it expects the load address in r3. It seems strange that it would need its own (start) starting address. What is this routine expecting ?

Regards,
Bob Beck

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