Re: ppcboot and powerpc branch question
From: Grant Likely <hidden>
Date: 2007-11-30 13:43:25
On 11/30/07, fabien [off-list ref] wrote:
hi all, After some problem with my custom board and kernel 2.6.19 about the init process, i've moved on 2.6.23 and that had fixed my problems. (related to this post : http://marc.info/?l=linuxppc-embedded&m=119609022221017&w=2) Apparently it was a problem with cpm_uart on SMC1. (http://lkml.org/lkml/2007/9/23/99) the patch have been integrated in 2.6.23. Now i use this kernel and busybox works. I want to migrated my board in powerpc branch instead of ppc (i plan to use xenomai but in 2.6.23 there is only an adeos patch for piowerpc branch), but i see the use of a device tree instead of bd_t struct. I'm a bit disappointed because i also see that older u-boot (in my case ppcboot 1.1.5) aren't capable to pass dts to kernel. Is there a way to keep my old bootloader to boot a powerpc branch kernel ?
Yes, you can build a 'cuImage' in arch/powerpc which wraps the kernel image with a device tree and copies the bd_t data into the tree before booting. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195