Skip to contentSkip to conversation

AT91SAM9G20 build .config for linux-2.6.26

Buildroot Mauro Condarelli 3 participants 6 messages Dec 26, 2008 – Dec 29, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,
I've been trying to build the whole kernel+rootfs system for my AT91SAM9G20-EK Rev.B EVA board several times now and always failing, for one reason or the other.

I tried both the straight instructions from buildroot.uclibc.org and those from www.linux4sam.org.

I have a working set bootstrap+uboot+linux-2.6.25+rootfs BINARY ONLY!

I am (for the time being) happy with the first two steps and I'm trying to setup a net boot with tftp+nfs.
I have been able to set-up a server with working tftpd+nfsd that will boot the original stuff.

Now I'm trying to start from scratch compiling kernel+rootfs. For several reasons I do *need* to use linux-2.6.26.

As said I tried several (>>10) times to do this with varying configurations and results... none fully booting.

Sometimes I get a kernel that will not event try to boot (apparently built for some other microcontroller), sometimes just hanging there (usually because trying to load the kernel into internal ram; how do I set link address??), sometimes unable to mount the rootfs.

Pretty please: can someone point me to a basic set of .config's (buildroot, kernel, uClibc) or, equivalently to a .../local/AT91SAM9G20 subdir?
I need something working I can start from and then modify so suit my needs; right now I'm wading in a sea of options and about to drown. To have the options used to compile the at91sam9g20 demo available on linux4sam (apparently contributed by Nicolas Ferre who, I hope, reads this in CC:) would be ok.

Thanks in Advance (and Happy New Year!)

Mauro Condarelli

P.S.: The welcome message for the mailing list says to send mail to "buildroot at busybox.net" but it doesn't seem to work. I have to send messages to "buildroot at uclibc.org" instead. What am I doing wrong? Best Regards
Mauro

#1 lore raw

[Buildroot] R: AT91SAM9G20 build .config for linux-2.6.26

Hi,

--- Ven 26/12/08, Mauro Condarelli <[email protected]> ha scritto:

Quoted 18 lines

Da: Mauro Condarelli <[email protected]>
Oggetto: [Buildroot] AT91SAM9G20 build .config for linux-2.6.26
A: buildroot at uclibc.org
Data: Venerd? 26 dicembre 2008, 20:06
Hi,
I've been trying to build the whole kernel+rootfs system for my
AT91SAM9G20-EK Rev.B EVA board several times now and always failing, for
one reason or the other.

I tried both the straight instructions from
buildroot.uclibc.org and
those from www.linux4sam.org.

I have a working set bootstrap+uboot+linux-2.6.25+rootfs BINARY ONLY!

Quoted 7 lines

I am (for the time being) happy with the first two steps and I'm trying
to setup a net boot with tftp+nfs.
I have been able to set-up a server with working tftpd+nfsd that will
boot the original stuff.

The rootfs is one thing. The kernel is another one. You can compile the kernel outside the buildroot project using the same toolchain, start from the config file of 2.6.25 distribuition.

Michael

#6 lore raw
In reply to Mauro Condarelli

Hi Mauro,

I'm sorry I can't help you with your Eval board but this

Quoted 1 line

P.S.: The welcome message for the mailing list says to send mail to "buildroot at busybox.net" but it doesn't seem to work. I have to send messages to "buildroot at uclibc.org" instead. What am I doing wrong?

I can confirm. My first two mails to this mailing list were in fact not delivered to the list because of the wrong E-Mail address. I resent them after I've read the address others write to to post the mail to the list.

Maybe there others also trying to post to the list but do not succeed:
the correct address to write to is buildroot at uclibc.org

Bernhard

#2 lore raw

[Buildroot] R: AT91SAM9G20 build .config for linux-2.6.26

In reply to Michael Trimarchi

Michael Trimarchi ha scritto:

Quoted 32 lines

Hi,

--- Ven 26/12/08, Mauro Condarelli <[email protected]> ha scritto:

Quoted 18 lines

Da: Mauro Condarelli <[email protected]>
Oggetto: [Buildroot] AT91SAM9G20 build .config for linux-2.6.26
A: buildroot at uclibc.org
Data: Venerd? 26 dicembre 2008, 20:06
Hi,
I've been trying to build the whole kernel+rootfs system for my
AT91SAM9G20-EK Rev.B EVA board several times now and always failing, for
one reason or the other.

I tried both the straight instructions from
buildroot.uclibc.org and
those from www.linux4sam.org.

I have a working set bootstrap+uboot+linux-2.6.25+rootfs BINARY ONLY!

Quoted 8 lines

I am (for the time being) happy with the first two steps and I'm trying
to setup a net boot with tftp+nfs.
I have been able to set-up a server with working tftpd+nfsd that will
boot the original stuff.

Quoted 6 lines

The rootfs is one thing. The kernel is another one. You can compile the kernel outside the buildroot project using the same toolchain, start from the config file of 2.6.25 distribuition.

Michael

Pretty please, I tried several (dozens of) configurations. Can someone contribute a *surely working* .config file for my board? I started "from the config file of 2.6.25 distribuition" (assuming You mean the one that is available from www.kernel.org) multiple times, never getting to a working kernel.

I really need to start from some "known good" point, otherwise I'm just running circles.

TiA
Mauro

#4 lore raw

[Buildroot] R: AT91SAM9G20 build .config for linux-2.6.26

In reply to a message not in the archive

michael ha scritto:

Quoted 58 lines

Hi,

Quoted 38 lines · Mauro Condarelli

Michael Trimarchi ha scritto:

Quoted 37 lines

Hi,

--- Ven 26/12/08, Mauro Condarelli <[email protected]> ha scritto:

Quoted 18 lines

Da: Mauro Condarelli <[email protected]>
Oggetto: [Buildroot] AT91SAM9G20 build .config for linux-2.6.26
A: buildroot at uclibc.org
Data: Venerd? 26 dicembre 2008, 20:06
Hi,
I've been trying to build the whole kernel+rootfs system for my
AT91SAM9G20-EK Rev.B EVA board several times now and always failing, for
one reason or the other.

I tried both the straight instructions from
buildroot.uclibc.org and
those from www.linux4sam.org.

I have a working set bootstrap+uboot+linux-2.6.25+rootfs BINARY ONLY!

Quoted 8 lines

I am (for the time being) happy with the first two steps and I'm trying
to setup a net boot with tftp+nfs.
I have been able to set-up a server with working tftpd+nfsd that will
boot the original stuff.

The rootfs is one thing. The kernel is another one. You can compile the kernel outside the buildroot project using the same toolchain, start
from the config file of 2.6.25 distribuition.

Quoted 8 lines
Quoted 2 lines

Michael

Pretty please, I tried several (dozens of) configurations. Can someone contribute a *surely working* .config file for my board? I started "from the config file of 2.6.25 distribuition" (assuming You mean the one that is available from www.kernel.org) multiple times, never getting to a working kernel.

If you use the latest kernel you have the at91sam9g20ek_defconfig. The pathces for
the at9samg20 are in the official kernel tree starting from the TAG v2.6.27-rc1

Quoted 3 lines

I really need to start from some "known good" point, otherwise I'm just running circles.

Quoted 9 lines
Quoted 3 lines

TiA
Mauro

The configs file are under arch/arm/configs/ directory of the kernel tree.

Regards Michael

Hi,
Thanks.

I know that, unfortunately, for reasons independent of my will, I need to stick to version 2.6.26.

Is there any *easy* way to backport the changes?

Can someone help me?

TiA
Mauro

#5 lore raw

[Buildroot] R: AT91SAM9G20 build .config for linux-2.6.26

Hi

Quoted 7 lines

Hi,
Thanks.

I know that, unfortunately, for reasons independent of my will, I need
to stick to version 2.6.26.

Quoted 6 lines

Is there any *easy* way to backport the changes?

Can someone help me?

TiA
Mauro

Apply the two patches of at91sam9g20 to the 2.6.26. You can find in the mailing list:

http://lkml.org/lkml/2008/6/13/62

This is the thread I think

Michael