REL 1.0
Page 41 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
4.2.7
USB Test
To scan the USB controller, execute the below command.
iWave-G15 >usb start
To show the available USB devices, execute the below command.
iWave-G15 >usb info
To show the USB storage devices details, execute the below command.
iWave-G15 >usb storage
To set/ show the current USB storage device, execute the below command.
iWave-G15 >usb dev <device id>
Example
iWave-G15 >usb dev 0
To read from the USB storage device, execute the below command
iWave-G15 >usb read <RAM address> <starting block> <count>
Example
iWave-G15 >usb read 0x10800000 0x100 0x10
To write to the USB storage device, execute the below command
iWave-G15 >usb write <RAM address> <starting block> <count>
Example
iWave-G15 >usb write 0x10800000 0x100 0x10
4.3
Environment variables settings
By default the environment variables will be saved in the boot device.
4.3.1
Micro SD boot
To load the kernel and file systems from the Micro SD, the environment variables should be set as shown
below.
iWave-G15 >setenv bootcmd_msd 'run bootargs_msd; run fdt_check;mmc dev 1;fatload mmc 1
${loadaddr} ${kernel};fatload mmc 1 ${fdt_addr} ${fdt_file};bootz ${loadaddr} - ${fdt_addr}'
iWave-G15 >setenv bootargs_msd 'setenv bootargs ${bootargs_base} root=/dev/mmcblk1p2
rootwait rootfstype=ext4 rw ${hdmi} ${lcd}'
iWave-G15 >setenv bootcmd 'run bootcmd_msd'
iWave-G15 >saveenv
To boot the platform, execute the below command.
iWave-G15 >boot