public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Can U-boot Autodetect arch/ppc versus arch/powerpc from info in the uImage?
@ 2007-12-03 18:49 Darcy Watkins
  2007-12-03 21:36 ` Wolfgang Denk
  0 siblings, 1 reply; 24+ messages in thread
From: Darcy Watkins @ 2007-12-03 18:49 UTC (permalink / raw)
  To: u-boot

Hello,

 

I have looked at some of the u-boot code for booting up a linux kernel.
It appears that the determination of whether or not to make use of
flattened device tree (fdt) in the boot is a compile time selection.
For the ppc4xx family of processors, linux kernels are currently built
as arch/ppc but there is work-in-progress to move it to arch/powerpc.

 

Can we determine during runtime from info in the uImage whether the
linux kernel was built as arch/ppc or as arch/powerpc and then select
the fdt support accordingly?

 

It will soon be possible to build a U-Boot for one or the other (for
ppc4xx family).  I think I will need to implement a U-Boot that will
support both since we currently build as arch/ppc but will need to
support upgrades to arch/powerpc base kernels down the road.  For this,
I think we need the U-Boot to be able to support both but detect which
one the uImage was built under.

 

In the image.h file, there appears to only be one selection for powerpc
so there will likely be need for some other "magic" to make this work.
Has anyone checked into this before, or come up with a workable
solution?

 

 

Regards,

 

Darcy

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071203/a918f185/attachment.htm 

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

end of thread, other threads:[~2007-12-17 14:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03 18:49 [U-Boot-Users] Can U-boot Autodetect arch/ppc versus arch/powerpc from info in the uImage? Darcy Watkins
2007-12-03 21:36 ` Wolfgang Denk
2007-12-03 23:33   ` [U-Boot-Users] Can U-boot Autodetect arch/ppc versusarch/powerpc " Joakim Tjernlund
2007-12-04  0:23     ` Wolfgang Denk
2007-12-04  1:06       ` Joakim Tjernlund
2007-12-06 22:43         ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpc " Joakim Tjernlund
2007-12-07  0:57           ` Wolfgang Denk
2007-12-07  6:55             ` Joakim Tjernlund
2007-12-07 11:11               ` Wolfgang Denk
2007-12-07 13:14           ` Jerry Van Baren
2007-12-09 13:12             ` Joakim Tjernlund
2007-12-09 15:00               ` Wolfgang Denk
2007-12-09 17:32                 ` Joakim Tjernlund
2007-12-09 19:28                   ` Wolfgang Denk
2007-12-09 21:14                     ` Joakim Tjernlund
2007-12-09 21:36                       ` Wolfgang Denk
2007-12-09 21:59                         ` Joakim Tjernlund
2007-12-09 22:47                           ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpcfrom " Joakim Tjernlund
2007-12-13 18:49                 ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpc from " Jerry Van Baren
2007-12-13 23:03                   ` Joakim Tjernlund
2007-12-14 15:53                     ` Joakim Tjernlund
2007-12-16 20:14                       ` Wolfgang Denk
2007-12-16 21:27                         ` Joakim Tjernlund
2007-12-17 14:42                           ` Joakim Tjernlund

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