EmbeddedRelated.com
Forums

AT91RM9200EK and linux build - newbie

Started by Rico August 9, 2007
Hi,

I have an AT91RM9200EK board and have downloaded the 2.6.21 kernel
source. I have unpacked it an applied the patches from maxim.org.za,
as per the Atmel FAQ.
I am building on SUSE 9.2 on AMD Athlon 64 using GCC 3.4.1 cross
compile to ARM.
This combination has been used successfully to build an ARM kernel for
my OMAP board.

I check /usr/src/linux-2.6.21/arch/arm/configs and locate
at91rm9200ek_defconfig and from directory /usr/src/linux-2.6.21 (as
root), I enter:

export PATH=/usr/local/arm/3.4.1/bin:$PATH
make at91rm9200ek_defconfig

In return, I get:

***
*** Can't find default configuration file "arch/i386/configs/
at91rm9200ek_defconfig"!
***
make[1]: *** [at91rm9200ek_defconfig] Error 1
make: *** [at91rm9200ek_defconfig] Error 2

Why is it looking in the wrong place for my config file?
I don't remember this when I built my OMAP kernel :-(
Can somebody point me at a good set of docs for this please?

TIA,

Richard.

On 8 9 ,   10 45 , Rico <richard.cope...@lauterbach.co.uk> wrote:
> Hi, > > I have an AT91RM9200EK board and have downloaded the 2.6.21 kernel > source. I have unpacked it an applied the patches from maxim.org.za, > as per the Atmel FAQ. > I am building on SUSE 9.2 on AMD Athlon 64 using GCC 3.4.1 cross > compile to ARM. > This combination has been used successfully to build an ARM kernel for > my OMAP board. > > I check /usr/src/linux-2.6.21/arch/arm/configs and locate > at91rm9200ek_defconfig and from directory /usr/src/linux-2.6.21 (as > root), I enter: > > export PATH=/usr/local/arm/3.4.1/bin:$PATH > make at91rm9200ek_defconfig > > In return, I get: > > *** > *** Can't find default configuration file "arch/i386/configs/ > at91rm9200ek_defconfig"! > *** > make[1]: *** [at91rm9200ek_defconfig] Error 1 > make: *** [at91rm9200ek_defconfig] Error 2 > > Why is it looking in the wrong place for my config file? > I don't remember this when I built my OMAP kernel :-( > Can somebody point me at a good set of docs for this please? > > TIA, > > Richard.
Hello Richard, In my opinion, it would be better for you to go through the makefile to make it clear where the error was generated and if there is no problem with makefile, please check the environment variables like $PATH. It should work:-) B.R dinny
"Rico" <richard.copeman@lauterbach.co.uk> skrev i meddelandet 
news:1186670702.576531.234250@19g2000hsx.googlegroups.com...
> Hi, > > I have an AT91RM9200EK board and have downloaded the 2.6.21 kernel > source. I have unpacked it an applied the patches from maxim.org.za, > as per the Atmel FAQ. > I am building on SUSE 9.2 on AMD Athlon 64 using GCC 3.4.1 cross > compile to ARM. > This combination has been used successfully to build an ARM kernel for > my OMAP board. > > I check /usr/src/linux-2.6.21/arch/arm/configs and locate > at91rm9200ek_defconfig and from directory /usr/src/linux-2.6.21 (as > root), I enter: > > export PATH=/usr/local/arm/3.4.1/bin:$PATH > make at91rm9200ek_defconfig >
make ARCH=arm at91rm9200ek_defconfig is what you want. -- Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB