Skip to content
rofl0r edited this page Jul 14, 2012 · 10 revisions

http://wiki.debian.org/EfikaMX/#Default_U-Boot_Environment

http://crux-arm.nu/gitweb?p=uboot.git;a=summary

http://crux-arm.nu/SupportedDevices/EfikaMX-SmartTop

http://crux-arm.nu/files/devices/efikamx/

http://crux-arm.nu/releases/2.7.1/

rc.modules: http://dpaste.com/767857/

http://crux.nu/Wiki/Mdev

BOOT=/mnt/sdcard_part1_ext2
ROOT=/mnt/sdcard_part2_ext4


git clone git://crux-arm.nu/crux-arm/uboot.git
cd uboot

make mkimage
cd devices/efikamx/
nano boot-mmc.script
#(change the tty there to tty1 and remove baudrate)
make bootscr

cp work/boot-mmc.scr $BOOT/boot.scr

rootfs ( available here http://mirror.wzff.de/sabotage/ )

cd $ROOT
tar xf ~/Downloads/arm-bin/sabotage-rootfs.tar

kernel:

git clone git://github.com/genesi/linux-legacy.git
cd linux-legacy/

make ARCH=arm CROSS_COMPILE=arm-linux-musleabi- -j7 mx51_efikamx_defconfig
# will create .config
make ARCH=arm CROSS_COMPILE=arm-linux-musleabi- menuconfig
# set ext4 and ext2 to built-in

export PATH=$PATH:/home/rofl/apps/arm-linux-musleabi-gcc471/bin/

make ARCH=arm CROSS_COMPILE=arm-linux-musleabi- -j7
#this'll create vmlinux and a ton of kernel modules

export PATH=$PATH:/media/3T/git-mirror/uboot/work/u-boot-2011.12/tools/
make ARCH=arm CROSS_COMPILE=arm-linux-musleabi- uImage

#this'll create uImage
cp arch/arm/boot/uImage $BOOT/


mkdir -p dist/lib/firmware #otherwise below command will fail with an invalid make target
make ARCH=arm CROSS_COMPILE=arm-linux-musleabi- INSTALL_MOD_PATH=/media/3T/git-mirror/linux-legacy/dist/ modules_install

cp -r dist/* $ROOT/