On Thu, Apr 27, 2006 at 04:38:34PM +0700, Eko Didik Widianto wrote:
> I have the same problem when loading linux-2.6.16-rc5 with derevo-16
> patch as following:
>
> Using base address 0x00218000 and length 0x0014ba18
> Uncompressing
> Linux..........................................................................................
> done, booting the kernel.
>
> Error: unrecognized/unsupported machine ID (r1 = 0x00000163).
>
> Available machine support:
>
> ID (hex) NAME
> 000003be Glomation GESBC-9312-sx
> 000002a1 Technologic Systems TS-72xx SBC
>
> Please check your kernel config and/or bootloader.
>
> So, i check linux/arch/arm/tools/mach-types file, and i note this:
> cx861xx ARCH_CX861XX CX861XX 355 (0x163)
> ts72xx MACH_TS72XX TS72XX 673
>
> Does my TS-7200 redboot need to be updated?
I don't know whether newer TS-7200 Redboots actually pass the right
value (673) or not..
What I did to hack around the bootloader passing a wrong machine ID
was to add a bit of code to arch/arm/boot/compressed/head.S:
Index: linux-2.6.17-rc1/arch/arm/boot/compressed/head.S
===================================================================
--- linux-2.6.17-rc1.orig/arch/arm/boot/compressed/head.S
+++ linux-2.6.17-rc1/arch/arm/boot/compressed/head.S
@@ -825,3 +827,8 @@ reloc_end:
.align
.section ".stack", "w"
user_stack: .space 4096
+
+ .section ".start", "ax"
+
+ mov r7, #(673 & 0xff00)
+ orr r7, r7, #(673 & 0x00ff)
This makes your kernel unsuitable for running on other ep93xx boards,
though.
cheers,
Lennert
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|