37
RSB-6410 Android User Manual
Chapter 3
S
oftware
Functionality
3.4
SD Test
1.
When booting from eMMC, you will only see the below directories:
2.
Insert SD card to SD card slot (SD1) and check your device again. You should
be able to see more directories. /dev/block/mmcblk1 is the SD card storage (Ex.
SD Card have 2 partitions).
3.
Erase and check
4.
Write and check
Note!
1.
NXP i.MX6D/Q has the limitation on USB device collection, we rec-
ommend the follow brands: Logitech K120 / Lenovo K5819 LXH-
EKB-10YA / RAPOO 1800.Pro / Dell MS111-P / Microsoft Wired
Keyboard 200 (Model:1406) and so on.
2.
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. If your U Disk size is small, the seek value
needs to be small.
# ls /dev/block/mmcblk*
/dev/block/mmcblk0 /dev/block/mmcblk0boot0 /dev/block/mmcblk0boot1 /dev/block/
mmcblk0p1 /dev/block/mmcblk0p2 /dev/block/mmcblk0p3 /dev/block/mmcblk0p4 /
dev/block/mmcblk0p5 /dev/block/mmcblk0p6 /dev/block/mmcblk0p7 /dev/block/
mmcblk0p8
# ls /dev/block/mmcblk*
/dev/block/mmcblk0 /dev/block/mmcblk0boot0 /dev/block/mmcblk0boot1 /dev/block/
mmcblk0p1 /dev/block/mmcblk0p2 /dev/block/mmcblk0p3 /dev/block/mmcblk0p4 /
dev/block/mmcblk0p5 /dev/block/mmcblk0p6 /dev/block/mmcblk0p7 /dev/block/
mmcblk0p8 /dev/block/mmcblk1 /dev/block/mmcblk1p1 /dev/block/mmcblk1p2 /dev/
block/mmcblk1p3 /dev/block/mmcblk1p4 /dev/block/mmcblk1p5 /dev/block/
mmcblk1p6 /dev/block/mmcblk1p7 /dev/block/mmcblk1p8
# dd if=/dev/zero of=/dev/block/mmcblk1 bs=1024 count=1 seek=25118
1+0 records in
1+0 records out
# busybox hexdump -C /dev/block/mmcblk1 -s 25720832 -n 16
01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
# echo -n "0123456789ABCDEF" | dd of=/dev/block/mmcblk1 bs=1024 count=1
seek=25118
0+1 records in
0+1 records out
# busybox hexdump -C /dev/block/mmcblk1 -s 25720832 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|
Note!
Please make sure parameter “seek” is equal to 25118 as indicated in
red in above codes. If you create the file to a wrong sector, that may
damage the system.