Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP SMARC iMX6

840 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 ==
 
The board has one pushbutton. You can see with following commands:
== How to use S1200 pushbutton ==<pre>cd /dev/inputcat event0</pre>
'''under construction'''Next step: push the button.
== How to use UART (RS485) ==
boundary : 2080899072
 
When ever you think you want to stop recording just press CTRL+C
 
== Get microphone in (audio in) ==
 
Connect an external microphone in the MIC-N connector.
 
Enable for the input microphone:
 
$ amixer -c 0 sset 'Right PGA Mixer Mic3R' on
$ amixer -c 0 sset 'Left PGA Mixer Mic3L' on
$ amixer -c 0 sset 'Right PGA Mixer Line1R' off
$ amixer -c 0 sset 'Left PGA Mixer Line1L' off
 
You can record microphone in with the application arecord, for example:
 
$ arecord -t wav -c 2 -r 44100 -f S16_LE -v audio-in.wav
When ever you think you want to stop recording just press CTRL+C
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:
| 59 Hz<br>
|}
 
== HDMI audio ==
 
Connect the HDMI connector to a monitor with speakers.
 
Then you can easily play a *.wav sound with the application Aplay, for example:
 
$ aplay -D plughw:1,0 /usr/share/sounds/alsa/Side_Left.wav
== Secondary HDMI (DVI connector on J501) ==