Curtiss-Wright
Parvus DuraDBH-672
Linux BSP
MNL-0661-01 Rev A1
ECO-N/A
Effective: 25 January 2016
Page 25 of 34
nfsroot=192.168.11.161:/opt/smarc,v3,tcp
setenv serverip 192.168.11.161
setenv ipaddr 192.168.11.189
setenv fdtfile dtb3
setenv uimage uImage
tftp 11000000 ${fdtfile};
tftp 0x10800000 ${uimage};
bootm 0x10800000 11000000
9. After board booted up, login as user root. No password is needed.
P
ARTITION
THE
I
NTERNAL
S
TORAGE
The partitioning of the internal MMC is achieved by running the command “/configure_emmc.sh”. This
command wipes out the internal MMC and creates new partitons, and mounts those partitions.
I
NSTALLING
THE
R
OOT
FS
1. Mount your NFS share to /var/volatile/tftpboot:
mount -t nfs <host ip>:<nfs_root> /var/volatile/tftpboot
2. Extract the rootfs images into both root directories
a. tar -xf /var/volatile/tftpboot/smarc-image/core-image-sato-smarc-samx6i.tar.bz2 -C
/var/volatile/r1
b. tar -xf /var/volatile/tftpboot/smarc-image/core-image-sato-smarc-samx6i.tar.bz2 -C
/var/volatile/r2
3. Install the flattened device tree file:
a. cp
/var/volatile/tftpboot/smarc-image/uImage-imx6q-smx6-lcd-pcieswitch.dtb
/var/volatile/r1/boot/dbh.dtb
b. cp
/var/volatile/tftpboot/smarc-image/uImage-imx6q-smx6-lcd-pcieswitch.dtb
/var/volatile/r2/boot/dbh.dtb
4. Unmount the eMMC partitions:
a. umount
/dev/mmcblk0p1
b. umount
/dev/mmcblk0p2
5. Clear out the boot environment:
a. dd if=/dev/zero of=/dev/mtd1
C
ONFIGURE
THE
BOOTLOADER
6. Reboot, and stop in the bootloader. Run the following:
a. setenv fdtfile /boot/dbh.dtb
b. setenv uimage /boot/uImage
c. setenv mmcdev 2
d. setenv
mmcroot
/dev/mmcblk0p1 rw