linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PPC] t1024rdb: CONFIG_KERNEL_START=0x0 equivalent for ppc64 (Kernel 3.16.85)
@ 2025-10-11 22:18 Alex Fetzner
  2025-10-17  7:10 ` Christophe Leroy
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Fetzner @ 2025-10-11 22:18 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org

Hello all,

I have a legacy product using linux 3.12.19 that I am updating to use linux 4 and eventually 5. 
The product use an NXT (Freescale) t1024rdb (e5500 processor).
I am right now trying to compile a 3.16.85 kernel that works as a stand-in replacement for the existing kernel. The product uses a u-boot load address 0x1000000 (1MB) and flattened device tree address 0x2000000 (2MB). The deployment of this kernel is such that I cannot alter these address.
The original uImage header has load address and entry point 0x0.
The original vmlinux ELF from the uImage has entry point address 0x0.

How do I appropriately alter a ppc64 kernel to have entry point 0x0?
I can create a uImage header with load and entry point 0x0, but the kernel uses a virtual address 0xc000000000000000 as entry point. 
I see that 32 bit kernels have the configurable option CONFIG_KERNEL_START, but this is not available for 64 bit. 

Kind regards,
AF



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-18 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-11 22:18 [PPC] t1024rdb: CONFIG_KERNEL_START=0x0 equivalent for ppc64 (Kernel 3.16.85) Alex Fetzner
2025-10-17  7:10 ` Christophe Leroy
2025-10-18  9:58   ` Alex Fetzner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).