Hi, John mentioned in his email that we have some patches. I am also sending them [patch 1/7-6/7]. It is support for non zero boot address for ppc44x.
Patch 7/7 is relocatable support for ppc44x. All patches are against 2.6.31.13 but it shouldn't be big problem to port them to the latest and greatest. We are using 256MB alignment which is fine for our purposes. But I think it could be simple to change it to any different style. I have tested it on QEMU system emulator with u-boot. I have used its with vmlinux.bin.gz and DTB. Not sure about your configuration but the best is not to relocate DTB. Address of DTB should be in 256MB boundary to be able to access it in the first pinned 256MB tlb. I haven't tested any other configuration but I have tried not to break anyone. Not sure if I can use r25, r26 and r21 (I need two regs for storing temp values). I look forward on your recommendation. The idea of this patch is to find out where the kernel runs. Pinned 256MB in asm - setup memstart_addr and kernstart_addr in ASM and not to break generic PPC code. And also setup TLB for larger memories in mmu_mapin_ram. Have tested system till 768MB. Thanks for your comments, Michal P.S.: Sorry for faults in PPC asm - I am not PPC expert. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev