drivers.shtml (3549B)
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <!--#include file="/templates/head.shtml" -->
- <title>drivers — lanodan’s cyber-home</title>
- </head>
- <body>
- <!--#include file="/templates/en/nav.shtml" -->
- <main>
- <a href="/notes/drivers"><h1>Drivers</h1></a>
- <h2 id="OpalEssence">OpalEssence (Toshiba Satellite laptop)</h2>
- <h3 id="OpalEssence.GPU">[AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]</h3>
- <p>See <a href="http://wiki.gentoo.org/wiki/Radeon">radeon - Gentoo Wiki</a></p>
- <code>CONFIG_EXTRA_FIRMWARE = radeon/R700_rlc.bin radeon/RV710_smc.bin radeon/RV710_uvd.bin</code>
- <h3>Realtek RTL8191SEvB</h3>
- <p>I’ve used :</p>
- <ul>
- <li>linux-firmware (for rtlwifi/rtl8192sefw.bin)</li>
- <li>Kernel Sources</li>
- </ul>
- <p>Kernel configuration</p>
- <code><pre>Device Drivers --->
- Generic Driver Options --->
- <span title="CONFIG_FW_LOADER">-*- Userspace firmware loading support</span>
- <span title="CONFIG_FIRMWARE_IN_KERNEL">[*] Include in-kernel firmware blobs in kernel binary</span>
- <span title="CONFIG_EXTRA_FIRMWARE">(… rtlwifi/rtl8192sefw.bin)</span>
- <span title="CONFIG_EXTRA_FIRMWARE_DIR">(/lib/firmare) Firmware blobs root directory</span>
- </pre></code>
- <h2 id="Gigabyte_970A-UD3P">Gigabyte-AMD 970A-UD3P (rev 1.0)</h2>
- <h3 id="Gigabyte_970A-UD3P.USB">USB</h3>
- <p>Kernel:</p>
- <ul>
- <li>cmdline: <code>iommu=soft</code></li>
- <li><code><pre>CONFIG_USB_XHCI_HCD=y
- CONFIG_USB_XCHI_PCI=y
- CONFIG_USB_EHCI_HCD=y
- CONFIG_USB_EHCI_ROOT_HUB_TT=y
- # CONFIG_USB_EHCI_TT_NEWSCHED is not set
- CONFIG_USB_UHCI=y</pre></code></li>
- </ul>
- <p>BIOS (version: <code>F1</code></p>
- <ul>
- <li>XHCI handoff: enabled</li>
- <li>EHCI handoff: enabled</li>
- <li>IOMMU: enabled</li>
- <li>Port 60/64 (PS/2) emulation: disabled</li>
- </ul>
- <h2 id="ESP32">ESP32</h2>
- <code><pre>Symbol: USB_SERIAL_CP210X [=m]
- Type : tristate
- Prompt: USB CP210x family of UART Bridge Controllers
- Location:
- -> Device Drivers
- -> USB support (USB_SUPPORT [=y])
- -> USB Serial Converter support (USB_SERIAL [=y])
- Defined at drivers/usb/serial/Kconfig:135
- Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y]</pre></code>
- <p>Mine is on the <a href="https://nodemcu.readthedocs.io/en/master/">NodeMCU</a> firmware by default. I connected to it using <code>picocom /dev/ttyUSB0</code> and by pressing the RST button I get this output :</p>
- <code><pre>NodeMCU custom build by frightanic.com
- branch: master
- commit: c8037568571edb5c568c2f8231e4f8ce0683b883
- SSL: false
- modules: cjson,file,gpio,net,node,pwm,tmr,uart,wifi
- build built on: 2016-03-14 02:10
- powered by Lua 5.1.4 on SDK 1.4.0
- lua: cannot open init.lua</pre></code>
- <p>And here is a Hello World in Lua (<code>> </code> is the prompt) to test it further</p>
- <code><pre>> print("Hello World")
- Hello World</pre></code>
- <h2 id="ESP8266">ESP8266</h2>
- <code>picocom -b 115200 --omap crcrlf /dev/ttyACM0</code> where <code>/dev/ttyACM0</code> is my arduino UNO used for powering the Module and UART(~RS232). I found the baud rate on <a href="http://williamdurand.fr/2015/03/17/playing-with-a-esp8266-wifi-module/">Playing With a ESP8266 WiFi Module</a>
- <p>A easy test you can do is to type <code>AT</code> and return, it should give you <code>OK</code>, like this (boot banner included):</p>
- <code><pre>Ai-Thinker Technology Co. Ltd.
- ready
- AT
- OK
- </pre></code>
- </main>
- <!--#include file="/templates/en/footer.shtml" -->
- </body>
- </html>