[U-Boot-Users] [PATCH] make the machid configurable via theenvironment (Was: [PATCH] Changed load address and entrypoint for uImage to ZRELADDR + 6MB)

Ulf Samuelsson ulf at atmel.com
Wed Jan 30 10:33:46 CET 2008


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.

I am seeing multiple companies implementing small CPU modules
incorporating CPU + FPGA, and the customers will adopt the FPGA
code for their own need, and then they need to create a new machine id.

Having such a patch will allow people in this situation to use the 
U-Boot on the board without recompilation.

Best Regards
Ulf Samuelsson




More information about the U-Boot mailing list