HARMAN_STCT_IOG1_USER_GUIDE Rev.
C1
12
2.1.5 Setting environment variables
After writing all images into flash, we have to set environment variables
according to written images. Based on these environment variables only, uboot will
load all other images.
===========================================================
setenv bootargs 'console=ttymxc0,115200 root=/dev/ram rw ramdisk_size=80000'
Setenv loadimages 'sf probe;sf read 0x82600000 0x500000 0x1400000;sf read
0x88000000 0x1900000 0x20000;sf read 0x82000000 0x100000 0x400000'
Setenv bootcmd 'run loadimages;bootm 0x82000000 0x82600000 0x88000000'
Setenv ipaddr ‘192.168.1.200’;setenv serverip ‘192.168.1.10’;setenv
ethaddr ’00:50:C2:BC:C0:F1’
saveenv
===========================================================
After setting all environment variables,reboot the board by power off/on.
Now images will automatically load. Finally we can get, gateway command
prompt. Give input for username as
root
. Then prompt will be displayed as
root@imx6slevk
:~#.
2.2 SPI boot mode
In this mode board will boot from the images on SPI NOR flash.The boards
once programmed with bootloader images will boot in this mode. User can update
linux images from uboot prompt using tftp.
2.2.1 Pre-requirements
Micro usb cable :- This is used for only powering the board in
thismode.
UART console cable :- serial console cable for accessing the board in
PC(through terminal). Baud rate is 115200.
Ethernet cable :- For upgrading images using tftp ,if required. Default
IP address of board is 192.168.1.200.
Содержание 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...