{"id":20316112,"url":"https://github.com/lupyuen/nuttx-pinevox","last_synced_at":"2025-06-27T14:05:27.442Z","repository":{"id":232338858,"uuid":"784088504","full_name":"lupyuen/nuttx-pinevox","owner":"lupyuen","description":"PineVox Smart Speaker with 64-bit RISC-V BL606P on Apache NuttX RTOS","archived":false,"fork":false,"pushed_at":"2024-04-10T11:00:29.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-04T09:13:41.841Z","etag":null,"topics":["bl606p","nuttx","pinevox","riscv","riscv64"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lupyuen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["lupyuen"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["paypal.me/lupyuen"]}},"created_at":"2024-04-09T06:57:01.000Z","updated_at":"2024-04-09T23:15:47.000Z","dependencies_parsed_at":"2024-04-09T08:26:54.641Z","dependency_job_id":"ce8499a2-04c9-4f62-9a1f-a6667af3e4f9","html_url":"https://github.com/lupyuen/nuttx-pinevox","commit_stats":null,"previous_names":["lupyuen/nuttx-pinevox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lupyuen/nuttx-pinevox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Fnuttx-pinevox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Fnuttx-pinevox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Fnuttx-pinevox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Fnuttx-pinevox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lupyuen","download_url":"https://codeload.github.com/lupyuen/nuttx-pinevox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Fnuttx-pinevox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262269903,"owners_count":23285159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bl606p","nuttx","pinevox","riscv","riscv64"],"created_at":"2024-11-14T18:24:24.140Z","updated_at":"2025-06-27T14:05:27.403Z","avatar_url":"https://github.com/lupyuen.png","language":null,"funding_links":["https://github.com/sponsors/lupyuen","paypal.me/lupyuen"],"categories":[],"sub_categories":[],"readme":"![PineVox Smart Speaker with 64-bit RISC-V BL606P on Apache NuttX RTOS](https://lupyuen.github.io/images/pinevox-title.jpg)\n\n# PineVox Smart Speaker with 64-bit RISC-V BL606P on Apache NuttX RTOS\n\nLet's boot Apache NuttX RTOS on PineVox!\n- BL606P is the newer, scaled-down variant of BL808 (minus the Low-Power Core)\n- NuttX already supports Ox64 BL808\n- So NuttX might boot on PineVox BL606P!\n\nBL606P looks something like this (minus the Low-Power Core)...\n\n![BL808 SoC](https://lupyuen.github.io/images/ox64-cores.jpg)\n\n_What's inside PineVox?_\n\nAccording to the PineVox Schematic...\n\n- __Mainboard PCB__ contains Bouffalo Lab BL606P SoC, Serial Console, Flash Memory, USB-C Port, Power Mgmt\n\n- __Sideboard PCB__ contains Directional Microphone, Buttons, LEDs\n\n- Connected by a 20-pin Ribbon Cable\n\nUSB-C Port connects to a Special USB Cable for PineVox that exposes (pic below)...\n\n- __Boot Switch__ (GPIO 29)\n\n  1: Boot from UART (Flashing Mode?)\n\n  0: Boot from Flash\n\n- __UART TX / RX__ (GPIO 20 / 21)\n\n  (We assume it's for Flashing via BLDevCube)\n\n- __USB Data__ (+ve and -ve)\n\n  (For USB Peripherals? Maybe DFU?)\n\n(Schematics will be published soon by PINE64)\n\n![PineVox USB Cable](https://lupyuen.github.io/images/pinevox-usb.jpg)\n\n_How to flash PineVox with OpenSBI and U-Boot Bootloader?_\n\nLet's try flashing PineVox with BLDevCube...\n\n- [__m0_lowload__](https://github.com/openbouffalo/OBLFR/tree/master/apps/m0_lowload) for M0 Wireless Core (32-bit):\n\n  Firmware that forwards __Peripheral Interrupts__ to the D0 Multimedia Core.\n\n  [(Like __SD Card__ and __GPIO Interrupts__)](https://lupyuen.github.io/articles/ox64#appendix-peripheral-interrupts)\n\n- [__d0_lowload__](https://github.com/openbouffalo/OBLFR/tree/master/apps/d0_lowload) for D0 Multimedia Core (64-bit):\n\n  Basic Bootloader that loads __OpenSBI, U-Boot Bootloader__ and Device Tree into RAM.\n\n- As explained here: [\"Flash OpenSBI and U-Boot\"](https://lupyuen.github.io/articles/ox64#flash-opensbi-and-u-boot)\n\nTODO: Flash OpenSBI and U-Boot Bootloader\n\n_How to boot NuttX on PineVox?_\n\nWe have a problem...\n\n- NuttX boots on Ox64 via microSD. But PineVox doesn't have a microSD Port! (Though BL606P supports microSD)\n\n- Ox64 supports booting over Ethernet (with U-Boot Bootloader). But BL606P doesn't support Ethernet!\n\n- We need a way to load NuttX Image into RAM at 0x5020_0000\n\n- Maybe the M0 Wireless Core (32-bit) will load NuttX Image into RAM? Over WiFi?\n\n_Why use U-Boot Bootloader? Why not flash NuttX directly as Firmware?_\n\n- U-Boot might be simpler for now? Today NuttX boots in RISC-V Supervisor Mode, so we don't need to tweak it to boot in Machine Mode.\n\n- Isolate the Toolchain: BL606P needs a special T-Head C906 Toolchain plus Bouffalo Lab SDK. It's better to isolate OpenSBI + U-Boot, compile them with the special toolchain.\n\n  We'll keep them separate from NuttX, which compiles with the popular GCC Toolchain.\n\n- Support Direct Firmware Update (DFU): In future we might support DFU to upgrade the NuttX Image wirelessly. We'll implement DFU with U-Boot (or something similar).\n\nTODO: Load NuttX Image into RAM\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupyuen%2Fnuttx-pinevox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flupyuen%2Fnuttx-pinevox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupyuen%2Fnuttx-pinevox/lists"}