Skip to contentSkip to conversation

MACHINE ID

U-Boot Marek Vasut 3 participants 4 messages Nov 23, 2010 – Nov 24, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 1 line · On Sunday 21 November 2010 07:47:07 hong zhang wrote:

--- On Sat, 11/20/10, Oliver Schneidewind <oliver-ml@schneidewind-

Quoted 71 lines · consulting.de> wrote:
Quoted 65 lines

From: Oliver Schneidewind <[email protected]>
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 -

Quoted 1 line · ARM Linux

On Fri, Nov 19, 2010 at 01:16:48PM -0800, hong zhang

Quoted 5 lines · wrote:
Quoted 5 lines

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 =

0x000007d9).

Quoted 6 lines
Quoted 6 lines

Available machine support:

ID (hex) NAME
00000af0 ti8168evm

Please check your kernel config and/or

bootloader.

Quoted 1 line
Quoted 1 line

I feel the U-boot does not put 0xaf0 to r1 instead

0x7d9. Actually both

Quoted 1 line
Quoted 1 line

of them are listed in arch/arm/tools/mach-types.

Why does not kernel

Quoted 7 lines
Quoted 4 lines

match with 0x7d9?

7d9 is 2009:

sapphira

MACH_SAPPHIRA
SAPPHIRA

      2009
Quoted 1 line

which is a 'sapphira' platform, not a ti8168evm.

Whoever programmed

Quoted 3 lines

your boot loader stole some other platforms ID.

I suggest you check whether your version of u-boot

supports changing

Quoted 1 line

the ID via a script. I don't know u-boot that

well, so I can't tell

Quoted 3 lines

you how.

Quoted 5 lines

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.

Quoted 3 lines

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)

Quoted 12 lines

---Henry

Quoted 4 lines

_______________________________________________
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

#2 lore raw

-----Original Message-----
From: [email protected] [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Marek Vasut
Sent: Tuesday, November 23, 2010 7:49 AM
To: linux-arm at lists.infradead.org
Cc: u-boot at lists.denx.de; hong zhang; Oliver Schneidewind
Subject: Re: [U-Boot] MACHINE ID

Quoted 1 line · On Sunday 21 November 2010 07:47:07 hong zhang wrote:

--- On Sat, 11/20/10, Oliver Schneidewind <oliver-ml@schneidewind-

Quoted 20 lines · consulting.de> wrote:
Quoted 20 lines

From: Oliver Schneidewind <[email protected]>
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 -

Quoted 1 line · ARM Linux

On Fri, Nov 19, 2010 at 01:16:48PM -0800, hong zhang

Quoted 5 lines · wrote:
Quoted 5 lines

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 =

0x000007d9).

Quoted 2 lines
Quoted 2 lines

Available machine support:

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

ID (hex) NAME
00000af0 ti8168evm

Please check your kernel config and/or

bootloader.

Hi,

This error is due to an incorrect machid being passed to the kernel.

This can be fixed using the following commands:

TI8168_EVM# setenv machid af0
TI8168_EVM# saveenv
TI8168_EVM# reset

Next time the EVM boots, correct machid will be passed to the kernel and this issue will go away.

Regards,
Vaibhav

#3 lore raw

Dear "Bedia, Vaibhav",

Quoted 6 lines · In message <[email protected]> you…

This error is due to an incorrect machid being passed to the kernel.

This can be fixed using the following commands:

TI8168_EVM# setenv machid af0

Note that is is a workaround at best, not a fix. For a fix the incorrect value needs to be substituted in the board config file.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The explanation requiring the fewest assumptions is the  most  likely
to be correct.                                    -- William of Occam
#4 lore raw
Quoted 6 lines · Wolfgang Denk

Dear "Bedia, Vaibhav",

In message <[email protected]> you

Quoted 1 line · wrote:
Quoted 9 lines
Quoted 5 lines

This error is due to an incorrect machid being passed to the kernel.

This can be fixed using the following commands:

TI8168_EVM# setenv machid af0

Note that is is a workaround at best, not a fix. For a fix the incorrect value needs to be substituted in the board config file.

This issue was only with the first version of the code.
This was fixed in the subsequent versions and we will be submitting the patches to the U-Boot list for review.

Regards,
Vaibhav