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
Содержание RSB-4411
Страница 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Страница 11: ...RSB 4411 User Manual x ...
Страница 12: ...Chapter 1 1 General Introduction ...
Страница 15: ...RSB 4411 User Manual 4 ...
Страница 16: ...Chapter 2 2 H W Installation ...
Страница 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Страница 34: ...23 RSB 4411 User Manual Chapter 2 H W Installation 2 3 Mechanical 2 3 1 Jumper and Connector Location ...
Страница 37: ...RSB 4411 User Manual 26 ...
Страница 38: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 4411 plat form ...
Страница 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...