[U-Boot-Users] Moving from arch/ppc to arch/powerpc

Hi all,
Very quick question (I hope). I have U-Boot running on a board booting an arch/ppc kernel. The U-Boot version is pre-DTB. If I want DTB support in U-Boot, is it just a matter of re-compiling with a newer version of U-Boot or are there board-specific changes needed (assuming a DTB-supported CPU in use)?
Thanks Rich

On Mon, 10 Dec 2007 09:16:41 +0000 "Richard Danter" radanter@googlemail.com wrote:
Hi all,
Very quick question (I hope). I have U-Boot running on a board booting an arch/ppc kernel. The U-Boot version is pre-DTB. If I want DTB support in U-Boot, is it just a matter of re-compiling with a newer version of U-Boot or are there board-specific changes needed (assuming a DTB-supported CPU in use)?
I think Stefan has something started for U-Boot to use DTBs on PPC. I'm not sure what the status of that is. However, you should be able to use an arch/powerpc kernel with the current version of U-Boot you have. The cuImage target for the kernel will build a kernel wrapped with an embedded DTB.
josh

On Mon, 10 Dec 2007 09:16:41 +0000 Richard Danter wrote:
Hi all,
Very quick question (I hope). I have U-Boot running on a board booting an arch/ppc kernel. The U-Boot version is pre-DTB. If I want DTB support in U-Boot, is it just a matter of re-compiling with a newer version of U-Boot or are there board-specific changes needed (assuming a DTB-supported CPU in use)?
it should be pretty apparent (since many fsl boards and some amcc 4xx have all necessities already).
Normally, +#define CONFIG_OF_LIBFDT 1 +#define CONFIG_OF_BOARD_SETUP 1 +#define OF_CPU "<your CPU node>"
should be enough, if you CPU family have necessary fdt hook-ups, or you may need add a few lines to BSP code.
Thanks Rich
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Hi, Richard!
Richard Danter schrieb:
Very quick question (I hope). I have U-Boot running on a board booting an arch/ppc kernel. The U-Boot version is pre-DTB. If I want DTB support in U-Boot, is it just a matter of re-compiling with a newer version of U-Boot or are there board-specific changes needed (assuming a DTB-supported CPU in use)?
Well, if you tell us what CPU you use, it might be possible to give you some more details about the current status.
Example: I just moved my MPC8540ads compatible board from arch/ppc to arch/powerpc with minor difficulties (mostly due to my lack of experience with DT's). I don't use an DT enabled u-boot yet, but it should also be possible to do so. I still use the kernel-embedded DT (cuImage) target here.
Regards,
Clemens Koller __________________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Straße 45/1 Linhof Werksgelände D-81379 München Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com
participants (4)
-
Clemens Koller
-
Josh Boyer
-
Richard Danter
-
Vitaly Bordug