* [Buildroot] AT91SAM9G20 support?
@ 2008-10-30 18:51 suffecool at comcast.net
2008-10-30 19:27 ` hartleys
0 siblings, 1 reply; 4+ messages in thread
From: suffecool at comcast.net @ 2008-10-30 18:51 UTC (permalink / raw)
To: buildroot
Hello,
Line 69 of target/device/Atmel/AT91_Config.in states that "Atmel AT91SAM9G20 ARM based systems" are not yet implemented.
How difficult is this to do? I am willing to give it a shot if it simply involves creating/tweaking some configuration files. We were using the 9260 dev board, but have recently switched to the newer 9G20 board. However, when we push our 9260 kernel to the board and boot it with a 9G20-knowledgeable u-boot, it balks after uncompressing the kernel image with the following error:
Uncompressing Linux......................done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x00000658)
Available machine support:
ID (hex) NAME
0000044b Atmel AT91SAM9260-EK
Please check your kernel config and/or bootloader.
I initially thought this was a u-boot issue, but now I think it's just that buildroot does not yet know about 9G20 dev boards.
Any direction/assistance would be appreciated.
--Kevin S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081030/777a2084/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] AT91SAM9G20 support?
2008-10-30 18:51 suffecool at comcast.net
@ 2008-10-30 19:27 ` hartleys
0 siblings, 0 replies; 4+ messages in thread
From: hartleys @ 2008-10-30 19:27 UTC (permalink / raw)
To: buildroot
On Thursday, October 30, 2008 11:51 AM, suffecool at comcast.net wrote:
> Hello,
>
> Line 69 of target/device/Atmel/AT91_Config.in states that
> "Atmel AT91SAM9G20 ARM based systems" are not yet implemented.
>
> How difficult is this to do? I am willing to give it a shot
> if it simply involves creating/tweaking some configuration files.
> We were using the 9260 dev board, but have recently switched to
> the newer 9G20 board. However, when we push our 9260 kernel to
> the board and boot it with a 9G20-knowledgeable u-boot, it balks
> after uncompressing the kernel image with the following error:
>
> Uncompressing Linux......................done, booting the kernel.
> Error: unrecognized/unsupported machine ID (r1 = 0x00000658)
> Available machine support:
> ID (hex) NAME
> 0000044b Atmel AT91SAM9260-EK
> Please check your kernel config and/or bootloader.
>
> I initially thought this was a u-boot issue, but now I think it's
> just that buildroot does not yet know about 9G20 dev boards.
>
> Any direction/assistance would be appreciated.
It appears the problem is actually in your kernel.
U-boot passed a machine ID of (r1 = 0x00000658), which according to
arch/arm/tools/mach-types is:
at91sam9g20ek MACH_AT91SAM9G20EK AT91SAM9G20EK
1624
But the linux kernel you are trying to bring up says that the only
machine supported is:
Available machine support:
ID (hex) NAME
0000044b Atmel AT91SAM9260-EK
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] AT91SAM9G20 support?
@ 2008-10-30 19:36 suffecool at comcast.net
2008-10-31 3:01 ` Mike Sander
0 siblings, 1 reply; 4+ messages in thread
From: suffecool at comcast.net @ 2008-10-30 19:36 UTC (permalink / raw)
To: buildroot
Yeah, that's what I am discovering. I am now looking at various kernel releases to see if and when 9G20 support was added (if at all).
Google searching found this link:
http://lkml.org/lkml/2008/6/13/62
where it appears that somebody back in June 2008 did a lot of work patching the kernel to get the 9G20 to be supported. I'm downloading the 2.6.27 kernel now to see if it was added into that one.
--kev
-------------- Original message --------------
From: "hartleys" <hartleys@visionengravers.com>
> On Thursday, October 30, 2008 11:51 AM, suffecool at comcast.net wrote:
> > Hello,
> >
> > Line 69 of target/device/Atmel/AT91_Config.in states that
> > "Atmel AT91SAM9G20 ARM based systems" are not yet implemented.
> >
> > How difficult is this to do? I am willing to give it a shot
> > if it simply involves creating/tweaking some configuration files.
> > We were using the 9260 dev board, but have recently switched to
> > the newer 9G20 board. However, when we push our 9260 kernel to
> > the board and boot it with a 9G20-knowledgeable u-boot, it balks
> > after uncompressing the kernel image with the following error:
> >
> > Uncompressing Linux......................done, booting the kernel.
> > Error: unrecognized/unsupported machine ID (r1 = 0x00000658)
> > Available machine support:
> > ID (hex) NAME
> > 0000044b Atmel AT91SAM9260-EK
> > Please check your kernel config and/or bootloader.
> >
> > I initially thought this was a u-boot issue, but now I think it's
> > just that buildroot does not yet know about 9G20 dev boards.
> >
> > Any direction/assistance would be appreciated.
>
> It appears the problem is actually in your kernel.
>
> U-boot passed a machine ID of (r1 = 0x00000658), which according to
> arch/arm/tools/mach-types is:
>
> at91sam9g20ek MACH_AT91SAM9G20EK AT91SAM9G20EK
> 1624
>
> But the linux kernel you are trying to bring up says that the only
> machine supported is:
>
> Available machine support:
> ID (hex) NAME
> 0000044b Atmel AT91SAM9260-EK
>
> From arch/arm/tools/mach-types:
>
> at91sam9260ek MACH_AT91SAM9260EK AT91SAM9260EK
> 1099
>
> It appears you have the 9G20 suppost in u-boot but still have a kernel
> for the 9260.
>
> Hartley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081030/0f11d448/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] AT91SAM9G20 support?
2008-10-30 19:36 [Buildroot] AT91SAM9G20 support? suffecool at comcast.net
@ 2008-10-31 3:01 ` Mike Sander
0 siblings, 0 replies; 4+ messages in thread
From: Mike Sander @ 2008-10-31 3:01 UTC (permalink / raw)
To: buildroot
suffecool at comcast.net wrote:
> Yeah, that's what I am discovering. I am now looking at various kernel releases to see if and when 9G20 support was added (if at all).
>
> Google searching found this link:
> http://lkml.org/lkml/2008/6/13/62
>
> where it appears that somebody back in June 2008 did a lot of work patching the kernel to get the 9G20 to be supported. I'm downloading the 2.6.27 kernel now to see if it was added into that one.
>
> --kev
>
>
Kevin,
You will need the 2.6.27 kernel. I got a g20 on Friday and successfully
booted it. I used an oct 22 buildroot snapshot, and selected the 2.6.27
kernel. I initially did the buildroot configuration for the 9260.
After everything was completed I went back and did a kernel "make
at91sam9g20ek_defconfig, and redid the top level "make". From what I
can see, there is no g20 support outside of the kernel (as of a few
weeks ago).
For my initial testing I grabbed pre build bootstrap & u-boot for the
9g20 from linux4sam
(ftp://www.linux4sam.org/pub/uboot/u-boot-1.1.5_atmel_1.7/u-boot-1.1.5_atmel_1.7-at91sam9g20ek-dataflash.bin).
(ftp://www.linux4sam.org/pub/at91bootstrap/AT91Bootstrap_9g20/dataflash_at91sam9g20ek.bin)
I suspect the buildroot bootstrap & u-boot will work fine, but I have
not tested them.
HTH
Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-31 3:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 19:36 [Buildroot] AT91SAM9G20 support? suffecool at comcast.net
2008-10-31 3:01 ` Mike Sander
-- strict thread matches above, loose matches on Subject: below --
2008-10-30 18:51 suffecool at comcast.net
2008-10-30 19:27 ` hartleys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox