Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP SMARC iMX6

657 bytes added, 13:06, 6 June 2016
no edit summary
== Install firmware in eMMC ==
In order to access the eMMC and be capable of flashing it, we can make use of igep-flash script:*Launch the script from terminal specifying the image you want to flash in eMMC. The script itself searches for the device to flash, so no more parameters are needed:<pre>igep-flash --image /opt/firmware/isee-image-dev-imx6q-igep0046.tar.bz2 --skip-nandtest</pre>''Where '''/opt/firmware/isee-image-dev-imx6q-igep0046.tar.bz2''' is the image you want to flash (in this case, the one supplied from ISEE with the official firmware), and '''--skip-nandtest''' is an option to skip checking for bad blocks (this accelerates the process, and it's optional if you don't mind bad blocks on eMMC)''*LEDs near U1200 should flash in orange while the eMMC is being written. They will flash in green when process successfully finishes. * We can also use the UMS (U-boot Mass Storage gadget).
* Plug a microUSB to USB cable from J602 USB OTG connector to your computer. Boot the board from the microSD card and abort autoboot pressing a key when U-boot is waiting before loading the kernel. Then, start UMS with the following command:
<pre>cat /sys/devices/soc0/soc.0/2100000.aips-bus/21a8000.i2c/i2c-2/2-0050/eeprom</pre>
* Following output is expected on console:
<pre>data</pre>ddrate=115200boot_fdt=trybootcmd=echo Try first mmc (SD)...; mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; fi; fi; fi; echo Try addrate=115200boot_fdt=trybootcmd=echo Try first mmc (SD)...; mmc dev ${mmcdev};* EEPROM is where UBoot environment variables are stored, so if mmc rescan; then if run loadbootscript; then run bootscript; you see something else if run loadimage; then run mmcboot; fi; fi; fi; echo Try addrate=115200boot_fdt=trybootcmd=echo Try first mmc (SD)than what you wrote, it's part of those variables...; mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; fi; fi; fi; echo Try ad</pre>
When ever you think you want to stop recording just press CTRL+C
<pre>mkdir Documents </pre>
* Create a file in the directory:
<pre>cd Documents/touch prova</pre>
* Write something in the file:
<pre>echo "data" > prova</pre>
:*On the other hand, if it is a WEP secured Access Point, you must enter the next command. If your AP doesn't have a password, omit the key part:
<pre>iw wlan0 connect IGEP_example key 0:12345</pre>
 
*Then you can configure your device as you would normally do.
*After a few seconds, the link should be established. We can now check the connection pinging a known server, for example:
<pre>ping www.google.com</pre>
 
*If you want to set an Access Point up with the Wilink8 chip, you should use hostapd.
<pre>hostapd /etc/hostapd.conf &</pre>
 
*After some seconds, the Access Point should be up and working. Its SSID is "test" if using the official firmware. You can now connect to the board via wifi without the need of an external AP or network.
== HDMI resolution ==