LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 04-09-2009, 04:20 PM   #1
oldreith
LQ Newbie
 
Registered: Apr 2009
Posts: 1
Thanked: 0
Question Olimex SAM9-L9260 building kernel problem


[Log in to get rid of this advertisement]
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.
oldreith is offline  
Tag This Post , , ,
Reply With Quote
Old 04-12-2009, 03:45 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Warszawa, Poland
Distribution: Debian
Posts: 9,105
Thanked: 23
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
Mara is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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-24-2008 06:44 PM
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


All times are GMT -5. The time now is 02:12 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration