LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-19-2010, 04:08 PM   #1
ergosteur
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Rep: Reputation: 0
Compiling debian arm for NSLU2 - arm-linux-gnueabi-objdump not found


Hello
I'm trying to build my own custom kernel for my NSLU2. I'm currently running Debian squeeze with 2.6.32-5-ixp4xx #1 Sat Sep 18 10:37:19 UTC 2010 armv5tel. However this kernel does not include fb terminal support or the DisplayLink (udlfb) module - I want to use my Samsung U70 monitor with it.

I installed build-essential, kernel-package, linux-source-2.6.32.
Extracted the kernel source, ran make oldconfig and make menuconfig, enabled the DisplayLink driver.

problem is when i run make-kpkg, it eventually errors out with some missing files:

This is kernel package version 12.036.
restore_upstream_debianization
test ! -f scripts/package/builddeb.kpkg-dist || mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile
/usr/bin/make EXTRAVERSION=-nslu2-displaylink ARCH=arm \
CROSS_COMPILE=arm-linux-gnueabi- zImage
make[1]: Entering directory `/usr/src/linux-source-2.6.32'
scripts/kconfig/conf -s arch/arm/Kconfig
make[1]: Leaving directory `/usr/src/linux-source-2.6.32'
make[1]: Entering directory `/usr/src/linux-source-2.6.32'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC init/version.o
/bin/sh: arm-linux-gnueabi-objdump: not found
LD init/mounts.o
/bin/sh: arm-linux-gnueabi-ld: not found
make[2]: *** [init/mounts.o] Error 127
make[1]: *** [init] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.32'
make: *** [debian/stamp/build/kernel] Error 2

I'm at a complete loss as to where to get the arm-linux-gnueabi files. Is it something I can just apt-get? or do I need a toolchain or something?
 
Old 10-23-2010, 05:01 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
The missing files you get come from ARM toolchain. Look for a package like 'linux-build',
 
Old 10-29-2010, 09:51 PM   #3
ergosteur
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Hmm can't seem to find any linux-build packages in standard repos. I tried using the emdebian repo, but seems that's only for cross-compiling.
 
Old 10-30-2010, 11:24 AM   #4
ergosteur
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Managed to cross-compile the kernel.
Installed the arm toolkit from emdebian.org, and the 'lzma' package.
Then copied /boot/config-2.6.32-5-ixp4xx to my i386 build box in /usr/src/linux-source-2.6.32/.config.
cd to /usr/src/linux-source-2.6.32

make oldconfig
make menuconfig

Enabled Graphics support for FB console and DisplayLink module.

then make-kpkg and installed the resulting deb on the NSLU2.

Now I'm trying to figure out how to get the NSLU2 to boot the new kernel...
 
  


Reply

Tags
arm, build, debian, kernel config, nslu2


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
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth feiyinziiu Linux - Embedded & Single-board computer 4 10-18-2009 01:30 AM
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth feiyinziiu Programming 1 10-17-2009 11:03 PM
Compiling for embedded arm linux mvhurlburt Linux - Embedded & Single-board computer 1 06-16-2009 09:06 AM
Compile the linux2.6.14.1 for arm must ues the arm-linux-gcc-3.4.4? frankyue Linux - Embedded & Single-board computer 2 12-20-2008 07:28 AM


All times are GMT -5. The time now is 11:58 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