18
3.1.6
eMMC
$ dd if=/dev/urandom of=/tmp/data bs=1 count=$SIZE &>/dev/null
# Do backup
$ dd if=${EMMC_DEV} of=/tmp/dataX bs=1 count=$SIZE skip=4096 &>/dev/null
# Write bytes data
$ dd if=/tmp/data of=${EMMC_DEV} bs=1 seek=4096 &>/dev/null
# Reading & Comparing
$ dd if=${EMMC_DEV} of=/tmp/data_r bs=1 count=$SIZE skip=4096 &>/dev/null
$ diff /tmp/data /tmp/data_r
3.1.7
SD
$ dd if=/dev/urandom of=/tmp/data bs=1 count=$SIZE &>/dev/null
# Do backup
$ dd if=${SDCARD_DEV} of=/tmp/dataX bs=1 count=$SIZE skip=4096 &>/dev/null
# Write bytes data
$ dd if=/tmp/data of=${SDCARD _DEV} bs=1 seek=4096 &>/dev/null
# Reading & Comparing
$ dd if=${SDCARD_DEV} of=/tmp/data_r bs=1 count=$SIZE skip=4096 &>/dev/null
$ diff /tmp/data /tmp/data_r
3.1.8
SPI Flash Test
# Write/Read/Verify data in the start/end 4 byte of flash
# Note: Make sure the content of SPI nor flash is erased
$ echo -n $'\x06\x05\x04\x03\x02\x01' > test
$ dd if=test of=/dev/mtdblock0
$ hexdump -C /dev/mtdblock0 -n 64
3.1.9
Ethernet Test
◼
Check Ethernet device
◼
Connect cable and ping test (eg. Eth0)
Summary of Contents for ROM-8720
Page 1: ...NXP Arm Cortex A72 LS1046A COM Express Type 7 Computer on Module User Manual ROM 8720 ...
Page 8: ...8 Chapter1 General Introduction ...
Page 11: ...Chapter 2 H W Installation This chapter describes the related H W installation of ROM 8720 ...