Re: Marvell 88F6281 Reference design

From: Lennert Buytenhek
Date: Tue Apr 28 2009 - 12:00:34 EST


On Tue, Apr 28, 2009 at 09:00:12AM -0700, Eddie Dawydiuk wrote:

> Hello,

Hi,


> I have a Marvell 88F6281 Reference design board I'm trying to compile a
> 2.6.28 kernel for. Although, the machine id check is failing. The error is
> as follows
>
> Uncompressing
> Linux.............................................................................................................................
> . done, booting the kernel.
>
> Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).
>
> Available machine support:
>
> ID (hex) NAME
> 00000690 Marvell DB-88F6281-BP Development Board
> 00000691 Marvell RD-88F6192-NAS Development Board
> 00000692 Marvell RD-88F6281 Reference Board
>
> Please check your kernel config and/or bootloader.

This is because the boot loader passes in the wrong machine ID.

If you have the u-boot "arcNumber" parameter, try setting that to
the correct machine ID before booting the kernel. Otherwise, you
can prepend a bit of code to the zImage that sets the machine ID to
the right value, e.g. for the 6281 RD:

(echo -en "\x06\x1c\xa0\xe3\x92\x10\x81\xe3"; cat zImage) > zImage.rd88f6281

and then use mkimage on zImage.rd88f6281 to create a uImage that you
can boot on the board.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/