background image

 

HARMAN_STCT_IOG1_USER_GUIDE Rev. 

C1 

 

STCT_IOG1_USER_GUIDE 

Rev: C1 

15 AUG 2016 

 

 

 

Summary of Contents for IoT-GW-02

Page 1: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 1 STCT_IOG1_USER_GUIDE Rev C1 15 AUG 2016...

Page 2: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 2...

Page 3: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 3...

Page 4: ...nal review Added testing interfaces Compilation procedures Anbu Sankar 25 Feb 2015 A0 03 Added steps for tftpboot of ramdisk images BibinBalachandran 16 Mar 2015 A0 04 Updated commands for 64MB SPI fl...

Page 5: ...e continued compliance any changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate this equipment Example use only shielded i...

Page 6: ...2 3 SD boot mode 13 2 3 1 Loading images from flash and filesystem from SD card 13 2 3 2 Setting environment variables for SD card 13 2 3 3 File system in SD card 13 3 Testing Interfaces 14 3 1 WiFi I...

Page 7: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 7 1 Introduction Fig 1 Hardware Block Diagram...

Page 8: ...tion IOT Gateway functions as a gateway between a ZigBee network and an IP network through Ethernet and Wi Fi On the ZigBee network side it acts as a node talking to a ZigBee enabled devices On the IP...

Page 9: ...dtb Device tree image 2 1 USB boot mode This mode is used to boot the board from USB User will be able to boot up to bootloader u boot using this mode This boot mode is intended for first time program...

Page 10: ...ading Stop the uboot process by pressing any button at the end stage of uboot while it is waiting for few seconds default 3 or 5 sec Now we can get uboot prompt Otherwise uboot will try to load other...

Page 11: ...s discussed earlier Writing kernel image tftp 0x82000000 iog1_uImage sf probe sf erase 0x100000 0x400000 sf write 0x82000000 0x100000 0x400000 Writing ramdisk file system image tftp 0x82600000 iog1_ra...

Page 12: ...0 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 in...

Page 13: ...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 roo...

Page 14: ...sh acript at home root using following command sh IOTG_WIFI sh It will create a WiFi access point AP We can get AP name asSoftAP_iog1 while searching for WiFi networks Default ip address is 10 4 30 3...

Page 15: ...nk number Bank 1 32 GPIO no in the bank 3 3 1 LED GPIO GPIOX_IOYY X bank number YY gpio number GPIO1_IO14 Green Led GPIO1_IO15 Green Led GPIO1_IO16 Blue Led GPIO1_IO17 GPIO1_IO18 Bicolour Led Example...

Page 16: ...io93 direction echo 0 sys class gpio gpio93 value echo 1 sys class gpio gpio93 value 3 4ZigBee Interface To check ZigBee interface open two telnet sessions to from the PC to board board default IP is...

Page 17: ...command prompt root imx6slevk mount t jffs2 dev mtdblock6 mnt cd mnt Note If you want to erased full jffs2 partition then following command should run from uboot sf probe sf erase 0x1a00000 0x2400000...

Page 18: ...net connection for this build You will get images in the directory source yocto build tmp deploy images imx6slzbha The images are u boot imx Boot loader image uImage Linux Kernel image uImage imx6sl e...

Page 19: ...5 Creating Ramdisk image with extra applications and booting this ramdisk using tftpboot Create the ramdisk using the steps mentioned below 1 Go to directory tools 2 you create a directory called ram...

Page 20: ...ng rename this file as iog1_ramdisk 4 1 Booting Board using tftpboot For Booting the board using tftpboot follow these steps 1 Copy all other images uImage and uImage imx6sl zbha ldo dtb fromsource yo...

Page 21: ...m 0x82000000 0x82600000 0x88000000 Setenv bootargs console ttymxc0 115200 root dev ram rw ramdisk_size 256000 saveenv 3 Now boot the board by giving boot command and it will boot with the new ramdisk...

Reviews: