-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Get the code... git clone git://github.com/jonsmirl/lpc31xx-uboot.git cd lpc31xx-uboot Setup the environment (in .bashrc)... export CROSS_COMPILE=arm-linux-gnueabi- export ARCH=arm Configure it... 'make EA3131_config' OR 'make RW_EGG_config' Build it... make cat spl/u-boot-spl.bin u-boot.img >bootme.bin
sudo fdisk -c=dos -u=cylinders /dev/sdiNote that the first partition was created out of order Device Boot Start End Blocks Id System /dev/sdi1 3 8 2976 b W95 FAT32 /dev/sdi2 1 2 961 df BootIt /dev/sdi3 9 1008 496000 83 Linux
sudo mkfs -t ext2 /dev/sdi3 sudo mkfs -t vfat /dev/sdi1
Eject the parent drive - force everything to flush to the card Plug it in again so that it will mount the partitions
Copy the spl+uboot combo to the SD Card... sudo dd if=bootme.bin of=/dev/sdi2 bs=512
Copy the kernel.... cp /home/apps/florida/lpc31xx/arch/arm/boot/uImage /dev/sdi1
Copy the file system.... cd /dev/sdi3 tar xpSf /home/apps/florida/lpc31xx-openwrt/bin/lpc313x/openwrt-lpc313x-rootfs.tar.gz
Eject the parent drive - force everything to flush to the card Give it a spin and see if it works.