HARMAN_STCT_IOG1_USER_GUIDE Rev.
C1
13
2.2.2 Loading images from flash
If the board is programmed with all images, then images will be loaded and
gateway command prompt will be appeared automatically as already board is
programmed when the board is powered up.
2.3 SD boot mode
In this mode, board will boot from the images on SPI NOR flash and file system
will be load from SD card.The boards once programmed with bootloader images
will boot in this mode. User can update linux images from uboot prompt using tftp.
2.3.1 Loading images from flash and filesystem from SD card
If the board is programmed with all images, then images will be loaded and
gateway command prompt will be appeared automatically as already board is
programmed when the board is powered up.
2.3.2 Setting environment variables for SD card
===========================================================
Setenv bootargs 'console=ttymxc0,115200 root=/dev/mmcblk0p1 rootfstype=ext3
rootwait rw'
setenv bootcmd_sd 'sf probe; sf read 0x82000000 0x100000 0x400000;sf read
0x88000000 0x1900000 0x20000;bootm 0x82000000 - 0x88000000'
setenv bootcmd 'run bootcmd_sd'
saveenv
===========================================================
2.3.3 File system in SD card
Following are the steps for copying ‘filesystem’ in SD card
Format the SD card in ext3 format using application.
$ sudo gparted
{ Note: Format the card using ‘gparted’ and if not installed then install using
$ sudo apt-get install gparted
}
After format in ext3 type, remove and mount SD card again to Linux system.
Go to the image directory s
ource/yocto/build/tmp/deploy/images/imx6slzbha/
Check the SD card partition and untar the filesystem inside the SD card
Содержание IoT-GW-02
Страница 1: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 1 STCT_IOG1_USER_GUIDE Rev C1 15 AUG 2016...
Страница 2: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 2...
Страница 3: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 3...
Страница 7: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 7 1 Introduction Fig 1 Hardware Block Diagram...