[U-Boot] MACHINE ID
Marek Vasut
marek.vasut at gmail.com
Tue Nov 23 03:18:34 CET 2010
On Sunday 21 November 2010 07:47:07 hong zhang wrote:
> --- On Sat, 11/20/10, Oliver Schneidewind <oliver-ml at schneidewind-
consulting.de> wrote:
> > From: Oliver Schneidewind <oliver-ml at schneidewind-consulting.de>
> > Subject: Re: MACHINE ID
> > To: linux-arm at lists.infradead.org
> > Date: Saturday, November 20, 2010, 1:58 PM
> > On 19.11.2010 23:40, Russell King -
> >
> > ARM Linux wrote:
> > > On Fri, Nov 19, 2010 at 01:16:48PM -0800, hong zhang
> >
> > wrote:
> > >
> > >
> > >> Uncompressing Linux... done, booting the kernel.
> > >>
> > >> Error: unrecognized/unsupported machine ID (r1 =
> >
> > 0x000007d9).
> >
> > >> Available machine support:
> > >>
> > >> ID (hex) NAME
> > >> 00000af0 ti8168evm
> > >>
> > >> Please check your kernel config and/or
> >
> > bootloader.
> >
> > >> I feel the U-boot does not put 0xaf0 to r1 instead
> >
> > 0x7d9. Actually both
> >
> > >> of them are listed in arch/arm/tools/mach-types.
> >
> > Why does not kernel
> >
> > >> match with 0x7d9?
> > >>
> > >>
> > >>
> > > 7d9 is 2009:
> > >
> > > sapphira
> >
> > MACH_SAPPHIRA
> > SAPPHIRA
> > 2009
> >
> > > which is a 'sapphira' platform, not a ti8168evm.
> >
> > Whoever programmed
> >
> > > your boot loader stole some other platforms ID.
> > >
> > > I suggest you check whether your version of u-boot
> >
> > supports changing
> >
> > > the ID via a script. I don't know u-boot that
> >
> > well, so I can't tell
> >
> > > you how.
> > >
> > >
> >
> > for a short work around you can set the Environment
> > Variable
> > "machid" in that case uboot use the value of this Variable
> > as mach id
> > instead of the compiled one.
>
> Oliver,
>
> I set arcNumber but no use. What difference between machid and arcNumber?
CCing U-Boot mailing list ...
machid is what you use (if the company that made your board didn't mess up with
it)
>
> ---Henry
>
> > _______________________________________________
> > linux-arm mailing list
> > linux-arm at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm
>
> _______________________________________________
> linux-arm mailing list
> linux-arm at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm
More information about the U-Boot
mailing list