Created
September 5, 2012 08:13
-
-
Save chattama/3633126 to your computer and use it in GitHub Desktop.
u-boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkimage -A arm -C none -O linux -T kernel -d ../kernel/linux/arch/arm/boot/zImage -a 0x00010000 -e 0x00010000 zImage.uimg | |
mkimage -A arm -C none -O linux -T ramdisk -d initramfs.gz -a 0x00800000 -e 0x00800000 rootfs.uimg | |
dd if=/dev/zero of=flash.bin bs=1 count=6M | |
dd if=../boot/u-boot-2012.07/u-boot.bin of=flash.bin conv=notrunc bs=1 | |
dd if=zImage.uimg of=flash.bin conv=notrunc bs=1 seek=2M | |
dd if=rootfs.uimg of=flash.bin conv=notrunc bs=1 seek=4M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment