RSB-4411 User Manual
40
3.1.11
SATA Test
Insert SATA disk before boot
#find
/sys/
.
‐
name
block
|
grep
ata
|
xargs
ls
$1
sda
According to the above content, we can know sda is our SATA disk
Generate random file
#
dd
if=/dev/urandom
of=data
bs=1
count=1024
Back up
#
dd
if=/dev/sda
of=backup
bs=1
count=1024
skip=4096
Write to SATA disk
#
dd
if=data
of=/dev/sda
bs=1
seek=4096
Read and Verify
#
dd
if=/dev/sda
of=data1
bs=1
count=1024
skip=4096
#
diff
data
data1
If fail, it shows as below:
Binary files data1 and data differ
Restore
#
dd
if=backup
of=/dev/sda
bs=1
seek=4096
booting from CB SATA
Message from U-Boot
#
cat
/proc/cmdline
Summary of Contents for RSB-4411
Page 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Page 11: ...RSB 4411 User Manual x ...
Page 12: ...Chapter 1 1 General Introduction ...
Page 15: ...RSB 4411 User Manual 4 ...
Page 16: ...Chapter 2 2 H W Installation ...
Page 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Page 37: ...RSB 4411 User Manual 26 ...
Page 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...