
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.