background image

 

 

REL 1.0 

Page 51 of 59 

iWave Systems Technologies Pvt. Ltd. 

iW-RainboW-G15M Android User Manual

 

5.

 

COMMAND LINE TEST 

5.1

 

Block devices Test (SD/eMMC/USB host/SATA test) 

 

Execute the following commands in the Android terminal.  

# cd /mnt/media_rw/<mount name> 

# ls  

Note:  Depending  on  the  interfaces  connected  to  the  board,  the  FAT  partition  will  be  mounted  to 
/mnt/media_rw/<mount name> where, ‘mount name’ can be any name. 

Note: iMx6 Duallite and Solo Processors doesn’t support SATA 
Note: EMMC auto mount is not supported by default because FAT partitions are not present. 

5.2

 

LCD Back light Testing 

 

The LCD back light has been controlled using PWM 

 

To see the actual brightness set, execute below command 

# cat /sys/class/backlight/backlight/brightness 

 

To see the max brightness that can be set, execute 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/brightness  

 

Observe the LCD backlight brightness for different values  

5.3

 

LVDS Back light Testing - Optional 

 

The  given  BSP  supports  the  LVDS  backlight  and  power  control  through  Qseven  connector.  This  section 

explains how to test the LVDS backlight and power control in the iW-RainboW-G15M platform. 

 

To enable the backlight, execute below command 

# echo 1 > /sys/bus/platform/devices/iwg15_backlight/bklight_enable 

 

To disable the backlight, execute below command 

# echo 0 > /sys/bus/platform/devices/iwg15_backlight/bklight_enable

 

 

To enable the power, execute below command 

# echo 1 > /sys/bus/platform/devices/iwg15_backlight/pwr_enable 

 

To disable the power, execute below command 

# echo 0 > /sys/bus/platform/devices/iwg15_backlight/pwr_enable 

 

Refer section 

 to test the LVDS functionality. 

Dual Display

 

 

Содержание iW-RainboW-G15M

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: