标签:style blog http color io os ar for sp
git clone https://github.com/boytm/u-boot-sunxi.git # 我已经提交了merge request,成功后可以直接拷主分支的 https://github.com/linux-sunxi/u-boot-sunxi.git make Merrii_Hummingbird_A20_config CROSS_COMPILE=arm-linux-gnueabihf- make CROSS_COMPILE=arm-linux-gnueabihf-
sector start size
0 0 8KB Unused, available for partition table etc.
16 8 32KB Initial SPL loader
80 40 504KB u-boot (sector 64 / 32KB for 2013.07 and earlier)
1088 544 128KB environment
1344 672 128KB Falcon mode boot params
1600 800 ---- Falcon mode kernel start
2048 1024 - Free for partitions (higher if using Falcon boot)
Free for partitions 一般是 boot 分区 和 rootfs 分区(大小取决于发行版),这两个分区,可以通过分区表查看到,是正常的分区。
card=/dev/mmcblk0
dd if=ct-lubuntu-server-tsd-tfcard-v2.0.img of=${card}
Initial SPL loader
开始,free partition 之前) 为自己编译的 ubootcard=/dev/mmcblk0 dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1024 seek=8
mount ${card}p1 /mnt vi /mnt/uEnv.txt
root=/dev/mmcblk0p2
umount ${card}p1
标签:style blog http color io os ar for sp
原文地址:http://www.cnblogs.com/JesseFang/p/4037501.html