FT u-boot shim
Mark A. Greer
mgreer at mvista.com
Wed Apr 26 07:33:33 EST 2006
On Tue, Apr 25, 2006 at 03:00:05PM -0500, Kumar Gala wrote:
> > So, don't break compatibility if you don't have time/interest to fix
> > it. We can wait till someone who "wants to move forward" can do this
> > professionally without screwing everybody else.
>
> So, lets turn this discussion into something useful (since having us
> going back and forth about our opinions isn't really going anywhere)
>
> If we have a u-boot shim there are some questions that need answering:
> * where should the .dts live (hate duplicating the file both in u-
> boot and kernel source tree)
> * how does build system find .dts
> * a Kconfig option to enable shim
> * assume done as a boot wrapper of sorts
Haven't we always had a shim like layer like this only we called it the
bootwrapper? IOW, arch/ppc/boot/*...now called arch/powerpc/boot?
FWIW, I'm farting around with a non u-boot platform and, basically, I added
a dts directory under arch/powerpc/boot. I use dtc to compile a dts file
into a .S file then build the .S file with the normal kernel build (you
could easily do the dtc compile w/ the build as well). Some minor hacking
of other stuff in the boot dir and it gets the job done. Its a total
hack right now so I'd rather not give a patch but the point is we
already have a logical place for it and its not that hard.
I know the boot dir is supposed to be moved at some point but it seems
like the logical place to put this functionality until it does move
(and even after it moves).
Mark
More information about the Linuxppc-dev
mailing list