public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Moving from arch/ppc to arch/powerpc
@ 2007-12-10  9:16 Richard Danter
  2007-12-10 13:39 ` Josh Boyer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Danter @ 2007-12-10  9:16 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Moving from arch/ppc to arch/powerpc
  2007-12-10  9:16 [U-Boot-Users] Moving from arch/ppc to arch/powerpc Richard Danter
@ 2007-12-10 13:39 ` Josh Boyer
  2007-12-10 14:10 ` Vitaly Bordug
  2007-12-10 16:50 ` Clemens Koller
  2 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2007-12-10 13:39 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Moving from arch/ppc to arch/powerpc
  2007-12-10  9:16 [U-Boot-Users] Moving from arch/ppc to arch/powerpc Richard Danter
  2007-12-10 13:39 ` Josh Boyer
@ 2007-12-10 14:10 ` Vitaly Bordug
  2007-12-10 16:50 ` Clemens Koller
  2 siblings, 0 replies; 4+ messages in thread
From: Vitaly Bordug @ 2007-12-10 14:10 UTC (permalink / raw)
  To: u-boot

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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users


-- 
Sincerely, Vitaly

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Moving from arch/ppc to arch/powerpc
  2007-12-10  9:16 [U-Boot-Users] Moving from arch/ppc to arch/powerpc Richard Danter
  2007-12-10 13:39 ` Josh Boyer
  2007-12-10 14:10 ` Vitaly Bordug
@ 2007-12-10 16:50 ` Clemens Koller
  2 siblings, 0 replies; 4+ messages in thread
From: Clemens Koller @ 2007-12-10 16:50 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-10 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10  9:16 [U-Boot-Users] Moving from arch/ppc to arch/powerpc Richard Danter
2007-12-10 13:39 ` Josh Boyer
2007-12-10 14:10 ` Vitaly Bordug
2007-12-10 16:50 ` Clemens Koller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox