Lup Yuen Lee 李立源 Profile picture
IoT Techie and Educator / Apache NuttX PMC @lupyuen@qoto.org

Mar 22, 2023, 15 tweets

Building the #PinePhone USB Driver for Apache #NuttX Real-Time Operating System ... All shall be explained in this article

Article: lupyuen.github.io/articles/usb3?1

#PinePhone USB Programming is so much easier with USB EHCI ... Here's why

Article: lupyuen.github.io/articles/usb3?…

#PinePhone USB EHCI Registers are (thankfully) documented in the Allwinner A64 manual

Article: lupyuen.github.io/articles/usb3?…

#PinePhone USB OTG is super complicated ... So we won't touch it today for Apache #NuttX RTOS

Article: lupyuen.github.io/articles/usb3?…

#PinePhone (Allwinner A64) has 2 USB Ports ... One goes to External USB, the other goes to LTE Modem

Article: lupyuen.github.io/articles/usb3?…

Here's how we configure the #NuttX USB Driver for #PinePhone

Article: lupyuen.github.io/articles/usb3?…

Tweaking the Apache #NuttX USB Driver for 64-bit #PinePhone

Article: lupyuen.github.io/articles/usb3?…

#NuttX USB Driver fails at startup ... Because we haven't powered on #PinePhone USB Controller

Article: lupyuen.github.io/articles/usb3?…

How to power up #PinePhone USB Controller? Let’s consult U-Boot Bootloader

Article: lupyuen.github.io/articles/usb3?…

Here's how we find the #PinePhone USB Driver in U-Boot Bootloader

Article: lupyuen.github.io/articles/usb3?…

U-Boot Device Tree reveals the USB Drivers for #PinePhone

Article: lupyuen.github.io/articles/usb3?…

To power up #PinePhone USB Controller: 1️⃣ Enable the USB Clocks 2️⃣ Deassert the USB Resets

Article: lupyuen.github.io/articles/usb3?…

U-Boot Bootloader's mystery code for #PinePhone USB ... We'll decipher this someday

Article: lupyuen.github.io/articles/usb3?…

Here's how we enable the USB Clocks for #PinePhone

Article: lupyuen.github.io/articles/usb3?…

Enabling #PinePhone USB Clocks ... How we do it for Apache #NuttX RTOS

Article: lupyuen.github.io/articles/usb3?…

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling