RSB-4411 User Manual
52
3.3.4
Creating boot-up on-board flash from pre-built image
3.3.4.1
To create one boot-up SD card, perform following command in terminal
console:
$
gunzip
‐
c
${PREBUILT_IMAGE
|
dd
of=${SD_DEVICE}
bs=1M
3.3.4.2
To transfer whole system to on-board flash
Boot up from SD card, perform following commands in debug console:
#
cd
/mk_inand
#
./mksd
‐
linux.sh
/dev/mmcblk0
press y followed by Enter, while "[Done]" shows up means the transferring is finished.
3.3.5
Creating boot-up on-board flash from built sdcard image
3.3.5.1
To create one boot-up SD card, perform following commands in terminal
console:
$
pushd
${BSP_HOME}/${BDIR}/tmp/deploy/images/${MC}
$
dd
if=${SDCARD_IMAGE}
of=${SD_DEVICE}
bs=1M
$
popd
3.3.5.2
To transfer whole system to on-board flash
First you need to boot up from SD card, then insert USB stick that contains
${SDCARD_IMAGE}, USB stick will be auto mounted to /run/media/sda1.
Perform following commands in debug console:
#
umount
/dev/mmcblk0p?
#
cd
/run/media/sda1
#
dd
if=${SDCARD_IMAGE}
of=/dev/mmcblk0
bs=4M
conv=fsync
#
P2START=$(fdisk
‐
lu
|
grep
mmcblk0p2
|
awk
$2}')
#
echo
‐
e
"d\n2\nn\np\n2\n${P2START}\n\nw\n"
|
fdisk
‐
u
/dev/mmcblk0
#
umount
/dev/mmcblk0p2
#
e2fsck
‐
f
‐
y
/dev/mmcblk0p2
#
resize2fs
/dev/mmcblk0p2
#
poweroff
Содержание 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 ...