标签:
1). copy u-boot
sudo dd if=u-boot-mx6q-sabresd.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
2). copy uImage
sudo dd if=uImage of=/dev/sdb bs=512 seek=2048 conv=fsync
3). copy rootfs
4). run bootcmd in u-boot env:
#: setenv loadaddr 0x10800000
#: setenv bootargs_base ‘setenv bootargs console=ttymxc0,115200‘
#: setenv bootargs_mmc ‘setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60 ,if=RGB24‘
#: setenv bootcmd_mmc ‘run bootargs_base bootargs_mmc;mmc dev 2;mmc read ${loadaddr} 0x800 0x2000;bootm‘
#: setenv bootcmd ‘run bootcmd_mmc‘
#: saveenv
#: run bootcmd
标签:
原文地址:http://my.oschina.net/u/2354197/blog/504253