Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP SMARC iMX6

70 bytes added, 15:48, 25 October 2016
no edit summary
The board has two user bicolor (green/red) leds available that can be controlled. In its simplest form, you can control of LEDs from
userspace. LEDs appear in /sys/class/leds/igep and you can turn on and off with following commands:
<pre>
<pre>
echo 1 > /sys/class/leds/base\:blue\:led0/brightness
echo 0 > /sys/class/leds/base\:blue\:led0/brightness
echo 1 > /sys/class/leds/base\:red\:led0/brightness
echo 0 > /sys/class/leds/base\:blue\:led0/brightness
echo 0 > /sys/class/leds/base\:red\:led0/brightness
</pre>
== How to use S1200 pushbutton ==
== How to use S1200 The board has one pushbutton ==. You can see with following commands: <pre>cd /dev/inputcat event0</pre>
'''under construction'''Next step: push the button.
== How to use UART (RS485) ==
Then you can easily play a *.wav sound with the application Aplay, for example:
$ aplay /media/root/rootfs/usr/share/sounds/alsa/Side_Left.wav
== Get sound in (audio in) ==
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-imx6qimx6*-igep0046.tar.bz2 * --skip-nandtest</pre>''Where '''/opt/firmware/isee-image-dev-imx6qimx6*-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.
In this example, we will connect to an Access Point.
* First of all, we must disable Soft Blocking on the wlan0 interface via rfkill:
<pre>rfkill unblock 0all</pre>
* Then we can set the interface up:
:To start the supplicant, we specify the interface, the configuration file and the driver to be used. In this case:
<pre>wpa_supplicant -Dnl80211 -i wlan0 -c /etc/wpa_supplicant.conf&</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:
Then you can easily play a *.wav sound with the application Aplay, for example:
$ aplay -D plughw:1,0 /media/root/rootfs/usr/share/sounds/alsa/Side_Left.wav  
== Secondary HDMI (DVI connector on J501) ==