====== NanoPI DUO ====== {{:nanopi-duo:nanopi-duo-layout.jpg?200|}} {{:nanopi-duo:duo_pinout-02.jpg?200|}} * http://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=197 * http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo image systeme de base : https://www.mediafire.com/folder/2nswfc4j82d9r/ armbian prend en compte cette carte :-)) ===== GPIO ===== après l'installation : git clone https://github.com/friendlyarm/WiringNP gpio readall +-----+-----+----------+------+---+-NanoPi-Duo--+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | MIC_N | | | 1 || 2 | | | EPhySPD | | | | | | MIC_P | | | 3 || 4 | | | EPhyLinK | | | | | | LineOutR | | | 5 || 6 | | | EPhyTXP | | | | | | LineOutL | | | 7 || 8 | | | EPhyTXN | | | | | | CVBS | | | 9 || 10 | | | EPhyRXP | | | | 198 | 8 | GPIOG6 | ALT5 | 0 | 11 || 12 | | | EPhyRXN | | | | 199 | 9 | GPIOG7 | ALT5 | 0 | 13 || 14 | | | USB-DP2 | | | | 15 | 7 | GPIOA15 | ALT5 | 0 | 15 || 16 | | | USB-DM2 | | | | 16 | 0 | GPIOA16 | ALT5 | 0 | 17 || 18 | | | USB-DP3 | | | | 14 | 2 | GPIOA14 | ALT5 | 0 | 19 || 20 | | | USB-DM3 | | | | 13 | 3 | GPIOA13 | ALT5 | 0 | 21 || 22 | 1 | OUT | GPIOG11 | 16 | 203 | | 12 | 12 | GPIOA12 | ALT5 | 0 | 23 || 24 | | | IR-RX | | | | 11 | 13 | GPIOA11 | ALT5 | 0 | 25 || 26 | | | 0v | | | | | | 0v | | | 27 || 28 | | | 3.3v | | | | 4 | 14 | GPIOA4 | ALT5 | 0 | 29 || 30 | | | 5v | | | | 5 | 15 | GPIOA5 | ALT5 | 0 | 31 || 32 | | | 5v | | | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-NanoPi-Duo--+------+----------+-----+-----+ Ne pas passer par armbian-config pour charger au boot les parties i2c, uart etc ( pas pwm sinon plus de moniteur) Juste modifier le fichier /boot/armbianEnv.txt avec overlays=analog-codec i2c0 pps-gpio spi-spidev uart1 uart2 usbhost2 usbhost3 connecter la carte automatiquement sur le wifi nmcli dev wifi list /etc/rc.local : nmcli dev wifi connect "SNHACK" password 123... autre methode: nmcli c add type wifi con-name mywifi ifname wlan0 ssid your_wifi_ssid nmcli con modify mywifi wifi-sec.key-mgmt wpa-psk nmcli con modify mywifi wifi-sec.psk your_wifi_password nmcli con up mywifi ===== audio ===== si install http://snhack.org/doku.php?id=projets:chaine fait apt install jackd1 jack-tools meterbridge qjackctl