cd rootfs
find . | cpio -o -H newc | gzip -9 > ../rootfs.initramfs.cpio.gz
mkimage -A arm -O linux -T ramdisk -C none -a 0x82000000 -e 0x82000000 -n ramdisk -d ./rootfs.initramfs.cpio.gz ./ramdisk.img
uboot setenv
bootcmd=power_led up;buzzer down;mmzup 8ab00000;udiskup;sf probe 0;sf read 0x81000000 0x100000 0x400000;sf read 0x82000000 0x500000 0x1000000;bootm 0x81000000 0x82000000;
阅读(1071) | 评论(0) | 转发(0) |