LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-09-2009, 03:20 PM   #1
oldreith
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, 02:45 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
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
 
  


Reply

Tags
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 09:17 AM
problem with building kernel chakribobby Linux - Newbie 3 04-22-2008 03:13 PM
problem in building uClinux kernel bm_soe Red Hat 0 05-29-2007 11:55 PM
Problem building RH9 kernel modules dominicporter Red Hat 1 09-25-2005 12:53 PM
Problem Building Gentoo Kernel w33k Linux - Software 6 08-16-2004 03:17 AM


All times are GMT -5. The time now is 01:52 AM.

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