Working on my SheevaPlug

First, do a git clone:

git clone git://git.marvell.com/orion.git

Then:

wget http://sheeva.with-linux.com/sheeva/2.6.33.2/sheeva-2.6.33.2.config
cp sheeva-2.6.33.2.config .config
make ARCH=arm oldconfig
make ARCH=arm CROSS_COMPILE=arm-none-eabi-
make ARCH=arm CROSS_COMPILE=arm-none-eabi- uImage
make ARCH=arm CROSS_COMPILE=arm-none-eabi- modules
make ARCH=arm CROSS_COMPILE=arm-none-eabi- INSTALL_MOD_PATH=.. modules_install

where “arm-none-eabi-” is entered here because CodeSourcery’s crosschain tools are used (which are installed in /opt/CodeSourcery/Sourcery_G++_Lite/bin directory):

ls -al arm-none-eabi-*
-rwxr-xr-x 1 root root 547548 2010-04-18 01:05 arm-none-eabi-addr2line
-rwxrwxr-x 2 root root 572276 2010-04-18 01:05 arm-none-eabi-ar
-rwxrwxr-x 2 root root 990396 2010-04-18 01:05 arm-none-eabi-as
-rwxr-xr-x 2 root root 208112 2010-04-18 01:05 arm-none-eabi-c++
-rwxr-xr-x 1 root root 547324 2010-04-18 01:05 arm-none-eabi-c++filt
-rwxr-xr-x 1 root root 207056 2010-04-18 01:05 arm-none-eabi-cpp
-rwxr-xr-x 2 root root 208112 2010-04-18 01:05 arm-none-eabi-g++
-rwxr-xr-x 2 root root 205488 2010-04-18 01:05 arm-none-eabi-gcc
-rwxr-xr-x 2 root root 205488 2010-04-18 01:05 arm-none-eabi-gcc-4.4.1
-rwxr-xr-x 1 root root 26760 2010-04-18 01:05 arm-none-eabi-gcov
-rwxr-xr-x 1 root root 3241976 2010-04-18 01:05 arm-none-eabi-gdb
-rwxr-xr-x 1 root root 3241976 2010-04-18 01:05 arm-none-eabi-gdbtui
-rwxr-xr-x 1 root root 607136 2010-04-18 01:05 arm-none-eabi-gprof
-rwxrwxr-x 2 root root 818784 2010-04-18 01:05 arm-none-eabi-ld
-rwxrwxr-x 2 root root 555612 2010-04-18 01:05 arm-none-eabi-nm
-rwxrwxr-x 2 root root 703284 2010-04-18 01:05 arm-none-eabi-objcopy
-rwxrwxr-x 2 root root 836092 2010-04-18 01:05 arm-none-eabi-objdump
-rwxrwxr-x 2 root root 572308 2010-04-18 01:05 arm-none-eabi-ranlib
-rwxr-xr-x 1 root root 308040 2010-04-18 01:05 arm-none-eabi-readelf
-rwxr-xr-x 1 root root 763280 2010-04-18 01:05 arm-none-eabi-run
-rwxr-xr-x 1 root root 547584 2010-04-18 01:05 arm-none-eabi-size
-rwxr-xr-x 1 root root 346704 2010-04-18 01:05 arm-none-eabi-sprite
-rwxr-xr-x 1 root root 547516 2010-04-18 01:05 arm-none-eabi-strings
-rwxrwxr-x 2 root root 703284 2010-04-18 01:05 arm-none-eabi-strip

Partial results for uImage:

make ARCH=arm CROSS_COMPILE=arm-none-eabi- uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
Image Name: Linux-2.6.35-rc1-09018-g67a3e12
Created: Wed Oct 13 22:59:54 2010
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2714736 Bytes = 2651.11 kB = 2.59 MB
Load Address: 0x00008000
Entry Point: 0x00008000
Image arch/arm/boot/uImage is ready

And then the modules:

INSTALL drivers/media/IR/ir-nec-decoder.ko
INSTALL drivers/media/IR/ir-rc5-decoder.ko
INSTALL drivers/media/IR/ir-rc6-decoder.ko
INSTALL drivers/media/IR/ir-sony-decoder.ko
INSTALL drivers/media/IR/keymaps/rc-adstech-dvb-t-pci.ko
INSTALL drivers/media/IR/keymaps/rc-apac-viewcomp.ko
INSTALL drivers/media/IR/keymaps/rc-asus-pc39.ko
xxxxxxxxxxxxx
INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usbmidi-lib.ko
MKDIR ../lib/firmware/emi26
INSTALL ../lib/firmware/emi26/loader.fw
INSTALL ../lib/firmware/emi26/firmware.fw
INSTALL ../lib/firmware/emi26/bitstream.fw
MKDIR ../lib/firmware/emi62
INSTALL ../lib/firmware/emi62/loader.fw
INSTALL ../lib/firmware/emi62/bitstream.fw
INSTALL ../lib/firmware/emi62/spdif.fw
INSTALL ../lib/firmware/emi62/midi.fw
MKDIR ../lib/firmware/kaweth
INSTALL ../lib/firmware/kaweth/new_code.bin
INSTALL ../lib/firmware/kaweth/trigger_code.bin
INSTALL ../lib/firmware/kaweth/new_code_fix.bin
INSTALL ../lib/firmware/kaweth/trigger_code_fix.bin
INSTALL ../lib/firmware/ti_3410.fw
INSTALL ../lib/firmware/ti_5052.fw
INSTALL ../lib/firmware/mts_cdma.fw
INSTALL ../lib/firmware/mts_gsm.fw
INSTALL ../lib/firmware/mts_edge.fw
MKDIR ../lib/firmware/edgeport
xxxxxxxx
MKDIR ../lib/firmware/keyspan_pda
INSTALL ../lib/firmware/keyspan_pda/keyspan_pda.fw
INSTALL ../lib/firmware/keyspan_pda/xircom_pgs.fw
DEPMOD 2.6.35-rc1-09018-g67a3e12

Relevant links:

http://www.newit.co.uk/forum/index.php?PHPSESSID=d72a5fe7b3a5e7a3f0bb780b8a45b89f&/topic,285.0.html

And

http://computingplugs.com/index.php/Building_a_custom_kernel

Next is the u-boot…….to be continued.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: