Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-09-2009, 04:20 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Question Olimex SAM9-L9260 building kernel problem

Hello friends!
As mentioned in the subject I'm using the Olimex SAM9-L9260 and I'm trying to build kernel as told in the user manual. First question is about the patches. When I run the patch named 2.6.23-rc3-at91.patch which should add general support for at91-based boards to the kernel I get a series of errors (or warnings I don't know) starting like this:
diff: linux-2.6.23-rc3/arch/arm/boot/compressed/head-at91rm9200.S: No such file or directory
diff: linux-2.6-stable/arch/arm/boot/compressed/head-at91rm9200.S: No such file or directory
/sbin/2.6.23-rc3-at91.patch: line 2: ---: command not found
/sbin/2.6.23-rc3-at91.patch: line 3: +++: command not found
/sbin/2.6.23-rc3-at91.patch: line 4: @@: command not found cmp: r7,: No such file or directory
Are these important or just trivial warnings?
And when I enter the command "$ make ARCH=arm CROSS_COMPILE=arm-linux- sam9_l9260_defconfig" I get the error "make: *** No rule to make target `sam9_l9260_defconfig'. Stop."
I'm trying to do these on the board not on my Ubuntu installed laptop, I hope I'm not making a mistake? If anyone can help me I'll be really grateful. Thanks in advance.
Old 04-12-2009, 03:45 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
It seems you're trying to run a patch, when you should apply it using something similar to:
patch -p0 < 2.6.23-rc3-at91.patch


build, kernel

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting linux in a board sam9_l9260 from olimex psilva Linux - Newbie 0 11-23-2008 10:17 AM
problem with building kernel chakribobby Linux - Newbie 3 04-22-2008 04:13 PM
problem in building uClinux kernel bm_soe Red Hat 0 05-30-2007 12:55 AM
Problem building RH9 kernel modules dominicporter Red Hat 1 09-25-2005 01:53 PM
Problem Building Gentoo Kernel w33k Linux - Software 6 08-16-2004 04:17 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration