Advantech ROM-8720 User Manual page 24

Nxp arm cortex -a72 ls1046a com express type 7 computer-on-module
Table of Contents

Advertisement

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)
18

Advertisement

Table of Contents
loading

Table of Contents