The U-boot can be provided in two options : with and without padding. To generate no-padding U-Boot, run the following command: sudo dd if=u-Boot-mx6dl-sabresd.bin of=u-Boot-mx6dl-sabresd-no-padding.bin bs=512 skip=2 As we can see, U-boot with padding contains additionally two 512-blocks zone at the beginning. (bs=512 - block size of 512 bytes, skip two blocks from beginning) When such U-boot is written to SD, using command dd, SD partition table will be destroyed. But after writing U-boot and kernel via the dd command, it is recommended to create new partition on the SD again, assuming, that the first blocks, which contains U-boot and kernel must not be overlapped by the partition. Therefore partition should be created skipping U-boot and kernel zone. The partition information will be located in the first block of SD this block does not cover U-boot significant information. The rootfs partition should be located after kernel image; the first 8M bytes should be reserved for MBR, bootloader, kernel and parameters sections.
你看完这段文字应该就明白了。 |