[U-Boot-Users] Booting ELDK 4.0 kernel on MPC8548CDS
thomas.schaefer at kontron.com
Thu Nov 23 17:25:16 CET 2006
> -----Original Message-----
> From: Kumar Gala [mailto:galak at kernel.crashing.org]
> Sent: Thursday, November 23, 2006 3:52 PM
> To: Demke Torsten-atd012
> Cc: Thomas Schäfer; u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] Booting ELDK 4.0 kernel on MPC8548CDS
> > If you are using CONFIG_OF_FLAT_TREE _and_ "disable_of" ist likely
> > that you see the same behaviour, because in that case the
> "bootm" code
> > still uses the of-tree address (char *of_flat_tree), after
> copying the
> > standard bd_info data to that address.
> > You could check the pointer that is given to the kernel for
> the board
> > info data (line 967, parameter 1 of (*kernel) (...)) (or change
> > (*kernel) ((bd_t *)of_flat_tree,...
> > to (*kernel) (kbd,...)
> > Regards,
> > Torsten
> This seems like a bug.
> Looking at the code I'm confused how this works at all. I
> dont see of_flat_tree getting setting to anything at all.
> Can you guys try out Grant's patch "[PATCH] Allow
> CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel" and
> see if that fixes the issue when building
> w/CONFIG_OF_FLAT_TREE enabled. His patch should make it so
> that a bootm w/1 or 2 args that aren't a multiimage should
> boot arch/ppc style.
I applied Grant's patch, I can now boot arch/ppc style (with kernel and ramdisk image) both with CONFIG_OF_FLAT_TREE defined and not defined in my board config.
More information about the U-Boot