[U-Boot-Users] [PATCH] make the machid configurable via theenvironment (Was: [PATCH] Changed load address and entrypoint for uImage to ZRELADDR + 6MB)
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Jan 30 16:47:40 CET 2008
On Wed, Jan 30, 2008 at 10:33:46AM +0100, Ulf Samuelsson wrote:
> Nicolas Pitre wrote:
> > > But does U-Boot properly provide machine information to the kernel these
> > > days? I have been and still being burned by U-Boot hardcoding the
> > > _wrong_ machine ID, and therefore custom built kernels from k.o simply
> > > won't boot on those boards without hacking the kernel source.
> > With "our" U-Boot you can override the compiled-in machid with an
> > environment variable. I didn't implement this patch but I think it's
> > not that difficult. I will check tomorrow if I can easily get a patch
> > out of our scm.
>
> I proposed this patch for a long time, but it was rejected by Wolfgang.
One solution to that problem is to have someone who maintains a separate
tree for uboot which does have the feature in. Then it becomes a matter
of community choice whether they use the official tree or the tree with
sensible machine-id configurability.
That way, those who want the configurability can have it, and Wolfgang can
avoid having his tree polluted with useful features he doesn't want.
More information about the U-Boot
mailing list