Re: MACHINE ID

Oliver Schneidewind <[email protected]> Sat, 20 Nov 2010 20:58:49 +0100
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
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