60
IB113
#echo -n "0123456789ABCDEF"|dd of=/dev/sdb bs=1024 count=1 seek=512
0+1 records in
0+1 records out
#hexdump -C /dev/sdb -s 524288 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|
5.7.
SDcard test
When booting from eMMC, SDcard is /dev/mmcblk1 and able to see by ls
/dev/mmcblk1* command:
/dev/mmcblk1 /dev/mmcblk1p2 /dev/mmcblk1p4 /dev/mmcblk1p5 /dev/mmcblk1p6
When booting from SDcard, replace test pattern /dev/mmcblk1 to /dev/mmcblk0
Note! This operation may damage the data stored in USB flash disk. Please make sure
there is no critical data in the USB flash disk being used for this test
.
5.7.1.
Erase and check
#dd if=/dev/zero of=/dev/mmcblk1 bs=1024 count=1 seek=512
1+0 records in
1+0 records out
#hexdump -C /dev/mmcblk1 -s 524288 -n 16
01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
5.7.2.
Write and check
#echo -n "0123456789ABCDEF" | dd of=/dev/mmcblk1 bs=1024 count=1 seek=512
0+1 records in
0+1 records out
#hexdump -C /dev/mmcblk1 -s 524288 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|