Pages

2010-10-12

Linux: Quick note, U-Boot and BusyBox Compiling

# Root File System
    mkfs.jffs2 -r root-fs/ -o myRootImage.jffs2 -e 128 -l -n

# U-Boot
    $make distclean

    $export PATH=/opt/arm-2007q1/bin/:$PATH

    $make at91sam9263ek_config

    $make CROSS_COMPILE=/opt/arm-2007q1/bin/arm-none-linux-gnueabi-

    $mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/Image uImage

    $mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage uImage

# Busybox

    $make defconfig
   
    $make ARCH=arm CROSS_COMPILE=/opt/arm-2007q1/bin/arm-none-linux-gnueabi- CONFIG_STATIC=y CONFIG_PREFIX=/home/mohamed/busyboxfs install

No comments:

Post a Comment