background image

 

 

REL 1.0 

Page 53 of 59 

iWave Systems Technologies Pvt. Ltd. 

iW-RainboW-G15M Android User Manual

 

6.

 

BOOT ARGUMENTS 

By default auto environment variable option is enabled in u-boot, the respective environment variables will be saved 
in respective the boot devices, like, SPI NOR Flash, SATA or SD/MMC. 

6.1

 

Micro SD boot 

 

To load the kernel and android file systems from the Micro SD, the environment variables should be set as 

shown below 

iWave-G15> 

setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,bpp=24 

video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=24 vmalloc=400M 

androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale 

androidboot.storage_type=msd cma=198M androidboot.selinux=permissive 

androidboot.dm_verity=disabled 

iWave-G15> 

setenv bootcmd boota mmc1 

iWave-G15> 

saveenv 

 

To boot the platform, execute the below command 

iWave-G15> boot 

6.2

 

Standard SD boot 

 

To load the kernel and android file systems from the Micro SD, the environment variables should be set as 

shown below 

iWave-G15> 

setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,bpp=24 

video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=24 vmalloc=400M 

androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale 

androidboot.storage_type=ssd cma=198M androidboot.selinux=permissive 

androidboot.dm_verity=disabled 

iWave-G15> 

setenv bootcmd boota mmc0 

iWave-G15> 

saveenv 

 

To boot the platform, execute the below command 

iWave-G15> boot

 

6.3

 

EMMC boot 

 

To  load  the  kernel  and  file  systems  from  the  EMMC,  the  environment  variables  should  be  set  as  shown 

below 

iWave-G15> 

setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,bpp=24 

video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=24 vmalloc=400M 

androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale 

Summary of Contents for iW-RainboW-G15M

Page 1: ...REL 1 0 Page 1 of 59 iWave Systems Technologies Pvt Ltd iW RainboW G15M Android User Manual iW RainboW G15M i MX6 Qseven SOM Development platform Android User Manual...

Page 2: ...cument contains proprietary material for the sole use of the intended recipient s Do not read this document if you are not the intended recipient Any review use distribution or disclosure by others is...

Page 3: ...for the silicon errata and associated issues Trademarks All registered trademarks and product names mentioned in this publication are used for identification purposes only Certification iWave Systems...

Page 4: ...P STANDALONE COMPILATION 17 2 3 1 U BOOT 17 2 3 2 KERNEL 18 2 4 BSP MISCELLANEOUS SETTINGS AND CONFIGURATIONS 19 2 4 1 I2C DEVICE ON THE KERNEL IMAGE 19 2 4 2 UART 19 2 4 3 DEFAULT LINUX BOOT LOGO 19...

Page 5: ...OR 48 4 10 5 TEMPERATURE SENSOR 48 4 10 6 ACCELEROMETER SENSOR 49 4 10 7 MAGNETOMETER SENSOR 49 4 11 HDMI TEST 50 5 COMMAND LINE TEST 51 5 1 BLOCK DEVICES TEST SD EMMC USB HOST SATA TEST 51 5 2 LCD BA...

Page 6: ...ON 35 FIGURE 18 SOUND RECORDER 36 FIGURE 19 SOUND RECORDING WINDOW START 36 FIGURE 20 SOUND RECORDING WINDOW STOP 36 FIGURE 21 PLAYING THE RECORDED AUDIO 37 FIGURE 22 MUSIC 37 FIGURE 23 SETTINGS MENU...

Page 7: ...ems Technologies Pvt Ltd iW RainboW G15M Android User Manual FIGURE 44 MAGNETOMETER SENSOR 50 List of Tables TABLE 1 ACRONYMS ABBREVIATIONS 8 TABLE 2 DRIVER SOURCE PATH 10 TABLE 3 DEVICE TREE SOURCE 1...

Page 8: ...oid root file system for iW RainboW G15M Q7 platform 1 3 List of Acronyms The following acronyms will be used throughout this document Table 1 Acronyms Abbreviations Acronyms Abbreviations BSP Board S...

Page 9: ...iWave Systems Technologies Pvt Ltd iW RainboW G15M Android User Manual Acronyms Abbreviations SPI Serial Peripheral Interface UART Universal Asynchronous Receiver Transmitter USB Universal Serial Bus...

Page 10: ...ers ata ahci_imx c SATA driver source file drivers ata ahci c AHCI support driver file drivers ata ahci_platform c AHCI platform layer file SD drivers mmc host sdhci c SDHI driver source file drivers...

Page 11: ...ions header file drivers mxc ipu3 prg regs h Prefetch Resolve Gasket register definitions header file include linux ipu h IPU basic driver header file Display drivers video fbdev mxc mxc_ipuv3_fb c Sy...

Page 12: ...WG15 SOMs 2 1 3 Device tree source description This section explains about the device tree source code configuration and organization for iW RainboW G15M Q7 platform The device tree source codes will...

Page 13: ...This device tree source file is for i MX6 Quad plus and Dual plus PMIC SOMs with CPU regulators in LDO bypass mode imx6dls iwg15m q7_ldoactive dts1 This device tree source file is for i MX6 Duallite a...

Page 14: ...elow packages in host PC sudo apt get update sudo apt get install uuid uuid dev zlib1g dev liblz dev liblzo2 2 liblzo2 dev sudo apt add repository ppa git core ppa sudo apt get install lzop sudo apt g...

Page 15: ...ld log txt It may produce errors due to jack admin server To fix this please run the below commands export JACK_SERVER_VM_ARGUMENTS Dfile encoding UTF 8 XX TieredCompilation Xmx4096m out host linux x8...

Page 16: ...M Android User Manual dd if system_raw img of system5 img bs 1M count 256 skip 1024 dd if system_raw img of system6 img bs 1M count 256 skip 1280 rm system_raw img Note If path of the Android Source c...

Page 17: ...te the below command export ARCH arm export CROSS_COMPILE arm eabi export PATH PATH Path to Android source code prebuilts gcc linux x86 arm arm eabi 4 8 bin To configure for iWave G15M Q7 platform exe...

Page 18: ...iles will be created in the following directory The Kernel zImage and dtb file is not necessary if boot imx6 img used android_N7 1 1_1 0 0 kernel imx arch arm boot zImage android_N7 1 1_1 0 0 kernel i...

Page 19: ...ormation in I2C2 bus devices as mentioned below i2c2 clock frequency 100000 pinctrl names default pinctrl 0 pinctrl_i2c2_1 status okay mag3110 0e compatible fsl mag3110 reg 0x0e position 2 2 4 2 UART...

Page 20: ...0 late_init 0 status disabled Add the display timing parameters such as horizontal and vertical active period blanking period pixel clock etc as mentioned below in following driver path drivers video...

Page 21: ...cable Host PC Windows The below figure shows the minimum memory requirement of partition for the boot device Figure 1 Boot device memory layout 3 1 2 MFG Tool The MFG Tool is a manufacturing tool from...

Page 22: ...android mx6qd iwg15m q7 ldobypass sata vbs i Mx6Quad Dual iW G15M_Q7 board with LDO active SATA mfgtool2 android mx6qd iwg15m q7 ldoactive sata vbs i Mx6Duallite iW G15M_Q7 board with LDO bypass SPI...

Page 23: ...15m q7 pmic ldobypass sSD vbs i Mx6Quad Dual iW G15M_Q7 board with LDO active Standard SD PMIC mfgtool2 android mx6qd iwg15m q7 pmic ldoactive sSD vbs i Mx6Quad Dual iW G15M_Q7 board with LDO bypass S...

Page 24: ...rted properly Refer section Boot Mode Setting in iW RainboW G15D QuickStartGuide document for boot mode setting procedure Connect debug UART with host PC and Power ON the iW RainboW G15M Q7 platform R...

Page 25: ...h and Click Exit to terminate the application After powering OFF the platform change to internal boot mode 3 1 5 Limitations MFG tool supports to program the binaries for only one device at a time Thi...

Page 26: ...ming binaries and if you re start the application will try to continue from the point where you stopped before But it is not guaranteed that it can continue successfully It is NOT recommended to do th...

Page 27: ...ainboW G15M Q7 platform Refer this section only if a New Micro SD card or SD MMC card is used The minimum size of the SD card to be used is 4GB Insert SD card using SD card reader to the PC Execute mo...

Page 28: ...t image into SD card sudo dd if u boot imx6 soc ldo ldo mode imx of dev sdb bs 1K seek 1 sync To download the boot image into SD card sudo dd if boot imx6 soc ldo ldo mode img of dev sdb1 sync To down...

Page 29: ...Refer the sections Debug UART Setting and Powering ON iW RainboW G15M Q7 in iW RainboW G15M QuickStartGuide document to connect debug UART and power ON procedure To connect the peripherals with iW Rai...

Page 30: ...droid application Screen1 4 2 Browser The Chromium browser application is used to test the Ethernet functionality Figure 7 Browser Before run the Browser application set the Proxy Execute the below co...

Page 31: ...r else your clock is behind error message will be displayed on the browser Once everything is proper the browser will search and display as shown below Figure 9 Browser set clock and time 4 3 Gallery...

Page 32: ...Gallery application multimedia files of internal storage micro SD card Standard SD card and USB memory stick will appear on screen as shown below Figure 11 Gallery with Multimedia Files To view the l...

Page 33: ...Pvt Ltd iW RainboW G15M Android User Manual 4 4 Camera Click on the camera icon on the application screen as shown in the figure below Figure 13 Camera application icon The camera window will open as...

Page 34: ...ems Technologies Pvt Ltd iW RainboW G15M Android User Manual Click on the icon to view options Figure 15 Camera options icon Click on the icons in the below figure to switch from image mode to video m...

Page 35: ...ure button is used to start and stop the video recording While Video Recording is going on if you click anywhere in the screen it will capture the image Click on the switch camera icon to switch from...

Page 36: ...5 Audio In Test Connect Headset to Audio out port Go to Sound Recorder Folder to record and play the audio Figure 18 Sound Recorder Press the start button to start the record Figure 19 Sound Recording...

Page 37: ...work in audio out port when HDMI is connected since by default HDMI audio will be selected Disconnect HDMI in order to test audio out through audio out port Connect Headset to Audio out port Go to Mus...

Page 38: ...u Settings Date time and deselect the Automatic Date and Time and Automatic Time Zone options Figure 23 Settings Menu Figure 24 Clock Now using Select Time Zone option set the time zone Now using Set...

Page 39: ...p up message will appear and an alarming tone will be routed to Audio out 4 8 USB OTG Device Test OTG can be used as device To use OTG as device execute the following steps Connect the USB OTG cable b...

Page 40: ...roid User Manual Figure 27 USB OTG Device Host PC USB OTG connection options will be displayed as shown below Figure 28 USB OTG Device connection option Select Transfer files option to mount the inter...

Page 41: ...Page 41 of 59 iWave Systems Technologies Pvt Ltd iW RainboW G15M Android User Manual Figure 29 Mounted Internal Storage device Select Transfer photos PTP option to only mount Android Camera folder in...

Page 42: ...ys to navigate from one application to another application in android Click on Chrome browser Go to google com and type by using the keyboard as shown below Figure 30 Keyboard Test 4 9 2 Mouse Test Mo...

Page 43: ...the UART CAN and Sensors which are supported by iW RainboW G15M Q7 platform The icon of G15M Q7 TestApp apk as shown below Figure 32 iWave Test Application Icon 4 10 1UART Interface Connect the iW Rai...

Page 44: ...dev ttymxc3 UART 5 dev ttymxc4 In case of data UART Open another UART console in host PC and set the serial port settings as mentioned below Bits per second 9600 bps Data bits 8 Parity none Stop bits...

Page 45: ...gies Pvt Ltd iW RainboW G15M Android User Manual Figure 35 UART window Options Use the provided menu option s to change the Baud rate and the UART device Figure 36 UART window select device Use the pr...

Page 46: ...CAN Interface Note If customer uses their own CAN device with the iW Rainbow G15 platform then user has to take care of the particular CAN device application part To test the CAN interface two iW Rain...

Page 47: ...ata will appear on Receive Textbox 4 10 3Light Sensor To test the light sensor select the light sensor from iWave test application window The light sensor window will appear as shown below Figure 40 L...

Page 48: ...n the pressure sensor option to open the pressure sensor window Figure 41 Pressure sensor The pressure value is displayed in the text box Click on refresh button to update the pressure value 4 10 5Tem...

Page 49: ...eit 4 10 6Accelerometer sensor Click on the Accelerometer sensor option to open the Accelerometer sensor window Figure 43 Accelerometer sensor The Accelerometer value is displayed in m s2 Click on ref...

Page 50: ...s displayed in T Click on refresh button to update the Magnetometer value 4 11 HDMI Test To set the boot arguments for HDMI refer Section HDMI Settings After setting the boot arguments connect the HDM...

Page 51: ...e below command cat sys class backlight backlight max_brightness To change the brightness execute below command echo 4 sys class backlight backlight brightness echo 7 sys class backlight backlight bri...

Page 52: ...5M Android User Manual 5 4 PCIe Device test Connect the PCIe device in iW RainboW G15M Q7 platform before powering ON To list out the PCIe device connected with board execute the below command data bu...

Page 53: ...5 saveenv To boot the platform execute the below command iWave G15 boot 6 2 Standard SD boot To load the kernel and android file systems from the Micro SD the environment variables should be set as sh...

Page 54: ...ootcmd boota ata0 iWave G15 saveenv To boot the platform execute the below command iWave G15 boot 6 5 LCD Settings Execute the below commands in U boot level to load the kernel and file system for LCD...

Page 55: ...igure to test the dual display with LCD and HDMI iWave G15 setenv bootargs console ttymxc1 115200 init init video mxcfb0 dev ldb bpp 24 video mxcfb1 dev hdmi 1920x1080M 60 if RGB24 bpp 24 vmalloc 400M...

Page 56: ...SOC Example iWave G15 setenv uboot_ldo_bypass 1 iWave G15 saveenv 6 8 1 Permanent MAC address This section will have the information to set permanent MAC address for the iW RainboW G15M Q7 platform in...

Page 57: ...mode in iW RainboW G15M Q7 platform Refer the section Boot Mode Selection of Quick Start Guide for iW RainboW G15M Q7 platform boot mode procedures 5 How to change the boot media settings for iW Rain...

Page 58: ...or execution i e chmod a x etc udev rules d 51 android rules 12 How to use MTP on Ubuntu Ubuntu supports PTP protocol by default to support MTP protocol install the following packages libmtp mtp tools...

Page 59: ...ATA test mount of other formats 17 How to manually partition SD card if sfdisk version is lesser than 2 26 Please follow the below procedure only if the sfdisk version is lesser than 2 26 Download the...

Reviews: