Custom Kernel, Custom Loader
by xenon360linux from LinuxQuestions.org on (#4YX65)
Hello world,
Long time reader, first time poster here. I've been working to compile the latest Linux kernel for the PowerPC64 big endian Xenon platform - the Xbox 360. I have a functioning cross compiler which can generate executable ELFs, loader by a customer loader. This loader, the XeLL or Xenon Linux Loader, as the name suggests is capable of loading a Linux kernel into memory and executing it.
When I use cross-objdump to compare my kernel to the last known-working 360 linux kernel, I get identical outputs in regards to the elf32 format and the same entry point. I've built a PowerPC Ubuntu image to test with, and imported my kernel and updated the initramfs via QEMU. When I attempt to load my kernel however, I get an error stating the rootfs could not be found. The kernel attempts to tell me what the available partitions are, but none are listed even though I have a drive connected and it seems to be recognized looking at the kernel debug output.
Not sure where else to turn. It seems silly that I've been able to cross compile and successfully execute the latest kernel, but I can't get the dang rootfs problem solved! Any help would be greatly appreciated! Let me know if kernel debug output needs to be garnished.


Long time reader, first time poster here. I've been working to compile the latest Linux kernel for the PowerPC64 big endian Xenon platform - the Xbox 360. I have a functioning cross compiler which can generate executable ELFs, loader by a customer loader. This loader, the XeLL or Xenon Linux Loader, as the name suggests is capable of loading a Linux kernel into memory and executing it.
When I use cross-objdump to compare my kernel to the last known-working 360 linux kernel, I get identical outputs in regards to the elf32 format and the same entry point. I've built a PowerPC Ubuntu image to test with, and imported my kernel and updated the initramfs via QEMU. When I attempt to load my kernel however, I get an error stating the rootfs could not be found. The kernel attempts to tell me what the available partitions are, but none are listed even though I have a drive connected and it seems to be recognized looking at the kernel debug output.
Not sure where else to turn. It seems silly that I've been able to cross compile and successfully execute the latest kernel, but I can't get the dang rootfs problem solved! Any help would be greatly appreciated! Let me know if kernel debug output needs to be garnished.