由于pc装的只有ubuntu系统,尝试过一下命令将uboot写入sd卡(2GB), 但是未能成功,求助, 哪位亲测成功过?
1. $ sudo fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 1967 MB, 1967128576 bytes
4 heads, 16 sectors/track, 60032 cylinders, total 3842048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 3842047 1920000 b W95 FAT32
2. $ sudo dd iflag=dsync oflag=dsync if=u-boot.bin of=/dev/mmcblk0 count=16 seek=3842030
16+0 records in
16+0 records out
8192 bytes (8.2 kB) copied, 0.114608 s, 71.5 kB/s
3. $ sudo dd iflag=dsync oflag=dsync if=u-boot.bin of=/dev/mmcblk0 count=512 seek=3841262
384+0 records in
384+0 records out
196608 bytes (197 kB) copied, 1.47893 s, 133 kB/s
4. $sync