<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rbino</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rbino"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Rbino"/>
	<updated>2026-04-03T19:42:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Ox64&amp;diff=15221</id>
		<title>Ox64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Ox64&amp;diff=15221"/>
		<updated>2022-12-21T00:42:16Z</updated>

		<summary type="html">&lt;p&gt;Rbino: /* Compatible UARTs when in bootloader mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Ox64_board.jpg|400px|thumb|right|The Ox64]]&lt;br /&gt;
&lt;br /&gt;
The '''Ox64''' is a RISC-V based Single Board Computer powered by Bouffalo Lab BL808 C906 64-Bit RISC-V CPU, 32-Bit CPU, embedded 64MB PSRAM memory and build-on 3 radio RF (Wifi, BT, Zigbee). It provides breadboard friendly form factor, MicroSD Card slot, USB 2.0, and many other peripheral interfaces for makers to integrate with sensors and other devices.&lt;br /&gt;
&lt;br /&gt;
[[File:RISC-V.png|600px|]]&lt;br /&gt;
&lt;br /&gt;
== Software Releases ==&lt;br /&gt;
&lt;br /&gt;
=== Quick Links to the Source of OS Images Build ===&lt;br /&gt;
&lt;br /&gt;
OS images are still in '''alpha build''' which are only fit for board bring up and testing purposes. &lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bouffalolab/bl808_linux Linux for BL808]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Linux_BL808.pdf Installation Instructions for Linux on BL808 (Chinese)]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Linux_BL808_en.pdf Installation Instructions for Linux on BL808 (English Auto-Translation)]&lt;br /&gt;
* Toolchain:&lt;br /&gt;
** elf_newlib_toolchain/bin/riscv64-unknown-elf-gcc (Xuantie-900 elf newlib gcc Toolchain V2.2.5 B-20220323) 10.2.0&lt;br /&gt;
** linux_toolchain/bin/riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.2.4 B-20211227) 10.2.0&lt;br /&gt;
** cmake version 3.19.3&lt;br /&gt;
&lt;br /&gt;
=== Software Development Kits ===&lt;br /&gt;
* [https://github.com/bouffalolab/bl_mcu_sdk BL808 MCU SDK]&lt;br /&gt;
* [https://dev.bouffalolab.com/download BLDevCube Flashing Tool for Windows, macOS and Ubuntu x64]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Ox64_BL808UART_connect.pdf Ox64 UART Flashing Guide] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/bl808_demo_event.bin BL808 Demo Firmware: bl808_demo_event.bin] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/whole_flash_data.bin BL808 UART Log Firmware: whole_flash_data.bin] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/BL808.DVK.Quick.Start.pdf BL808 DVK Quick Start]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808_linux/tree/main/opensbi-0.6-808 OpenSBI for BL808]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac Rust Peripheral Access Crate (PAC) for BL808]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac/blob/main/bl808.svd System View Description (SVD) for BL808]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://en.bouffalolab.com/product/ Bouffalo Lab BL808]&lt;br /&gt;
[[File:Bouffalo_Lab_icon.png|right]]&lt;br /&gt;
[[File:BL808_Block_Diagram.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.t-head.cn/product/c906?lang=en T_head C906 480MHz 64-bit RISC-V CPU]&lt;br /&gt;
[[File:T-Head.png|right|200px]]&lt;br /&gt;
** Supports RISC-V RV64IMAFCV instruction architecture&lt;br /&gt;
** Five-stage single-issue sequentially executed pipeline&lt;br /&gt;
** Level-1 instruction and data cache of Harvard architecture, with a size of 32 KB and a cache line of 64B&lt;br /&gt;
** Sv39 memory management unit, realizing the conversion of virtual and real addresses and memory management&lt;br /&gt;
** jTLB that supports 128 entries&lt;br /&gt;
** Supports AXI 4.0 128-bit master interface&lt;br /&gt;
** Supports core local interrupt (CLINT) and platform-level interrupt controller (PLIC)&lt;br /&gt;
** With 80 external interrupt sources, 3 bits for configuring interrupt priority&lt;br /&gt;
** Supports BHT (8K) and BTB&lt;br /&gt;
** Compatible with RISC-V PMP, 8 configurable areas&lt;br /&gt;
** Supports hardware performance monitor (HPM) units&lt;br /&gt;
&lt;br /&gt;
* [https://www.t-head.cn/product/e907?lang=en T_head E907 320MHz 32-bit RISC-V CPU]&lt;br /&gt;
** Supports RISC-V RV32IMAFCP instruction set&lt;br /&gt;
** Supports RISC-V 32-bit/16-bit mixed instruction set&lt;br /&gt;
** Supports RISC-V machine mode and user mode&lt;br /&gt;
** Thirty-two 32-bit integer general purpose registers (GPR) and thirty-two 32-bit/64-bit floating-point GPRs&lt;br /&gt;
** Integer (5-stage)/floating-point (7-stage), single-issue, sequentially executed pipeline&lt;br /&gt;
** Supports AXI 4.0 main device interface and AHB 5.0 peripheral interface&lt;br /&gt;
** 32K instruction cache, two-way set associative structure&lt;br /&gt;
** 16K data cache, two-way set associative structure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* Embedded 64MB PSRAM&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 2.4GHz 1T1R WiFi 802.11 b/g/n&lt;br /&gt;
* Bluetooth 5.2&lt;br /&gt;
* Zigbee&lt;br /&gt;
* 10/100Mbps Ethernet (optional, on expansion board)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
* on-board 16Mb (2MB) or 128Mb (16MB) XSPI NOR flash memory&lt;br /&gt;
* microSD - supports SDHC and SDXC&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
* USB 2.0 OTG port&lt;br /&gt;
* 26 GPIO Pins, including SPI, I2C and UART functionality. Possible I2S and GMII expansion&lt;br /&gt;
* Dual lane MiPi CSI port, located at USB-C port, for camera module&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* mic (optional, on camera module)&lt;br /&gt;
* speaker (optional, on camera module)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Baseboard Dimensions: 51mm x 21mm x 19mm x 3.5mm (Breadboard friendly)&lt;br /&gt;
* Input Power: 5V 0.5A microSD or USB-C port&lt;br /&gt;
* Schematic:&lt;br /&gt;
=== Production version schematic: ===&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64-Schematic-202221018.pdf Ox64 Schematic 20221018 v1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Top-20221018.pdf Ox64 PCB Component placement(ToP) 20221018 v1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Bottom-20221018.pdf Ox64 PCB Component placement(Bottom) 20221018 v1.1]&lt;br /&gt;
=== Prototype (dispatched to developers) schematic: ===&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64-Schematic-202221007.pdf Ox64 Schematic 20221007 v1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Top-20221007.pdf Ox64 PCB Component placement(ToP) 20221007 v1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Bottom-20221007.pdf Ox64 PCB Component placement(Bottom) 20221007 v1.0]&lt;br /&gt;
&lt;br /&gt;
* Certifications:&lt;br /&gt;
** Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary.&lt;br /&gt;
** Not yet available&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
* Bouffalo BL808 SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/BL808_DS_en_1.1(open).pdf Bouffalo Lab BL808 SoC Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/BL808_RM_en_1.0(open).pdf Bouffalo Lab BL808 SoC Reference Manual]&lt;br /&gt;
* SPI NOR Flash information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/gd25lq16e_rev1.2_20210108.pdf GigaDevice 16Mb XSPI-Flash Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/star64/gd25lq128e_rev1.0_20210513.pdf GigaDevice 128Mb XSPI-Flash Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/IA2014-03.pdf Innovation Analog Tech IA2014 Step_down Converter Datasheet]&lt;br /&gt;
* MicroSD socket information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/TF%20PUSH%20type%20socket%20specification.pdf Push type microSD socket specification]&lt;br /&gt;
&lt;br /&gt;
== Compatible UARTs when in bootloader mode ==&lt;br /&gt;
* When the Ox64 is in bootloader mode, some UARTs are unable to communicate with it. When this is the case, utilities such as BLDevCube are unable to actually program the device.&lt;br /&gt;
* If you see &amp;quot;Shake hand fail&amp;quot; and an empty ack, and your device is in bootloader mode, then it is likely an incompatible UART.&lt;br /&gt;
* The below devices have been tested and verified as working&lt;br /&gt;
** Raspberry Pi Pico - running a modified version of [https://github.com/sanjay900/picoprobe/releases/tag/v1.0 picoprobe]&lt;br /&gt;
** Adapters based on the CP2102&lt;br /&gt;
*** This also includes ESP32s with this chip on board, bridge the EN pin to ground to disable the ESP32 itself, and then connect the TX on the esp32 to 14 on the Ox64 and RX to pin 15&lt;br /&gt;
** STM32F401 BlackPill - running the [https://github.com/blackmagic-debug/blackmagic/tree/main/src/platforms/blackpillv2 Black Magic Debug] firmware&lt;br /&gt;
** Some UART adapters based on the FT232H (note that the FT232RL does not work, and neither does the Pine 64 JTAG)&lt;br /&gt;
** Some CH340G based adapters work and some don't.&lt;br /&gt;
&lt;br /&gt;
== GitHub/Gitlab ==&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac Official Bouffalo BL-808 site]&lt;br /&gt;
* [https://github.com/sfranzyshen/arduino-bl808 Community made Arduino Core specifically for the Bouffalo Labs BL808 RISC-V MCU]&lt;br /&gt;
&lt;br /&gt;
== Articles and Blogs ==&lt;br /&gt;
* [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff First Batch of Ox64 won't appear as USB Serial Port]&lt;br /&gt;
* [https://gist.github.com/lupyuen/2087e9b3fb40aab5e0795bb02a265a3b First Batch of Ox64 tested OK with CH340C/G]&lt;br /&gt;
* [https://www.robertlipe.com/bl808-not-symmetric/ First thoughts on the (a)symmetry of Bouffalo Labs BL808 as in Pine64’s Ox64]&lt;br /&gt;
* [https://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer-part-2.html The $8 linux computer (with picoprobe-rp2040 programming instructions)]&lt;br /&gt;
&lt;br /&gt;
== Development Efforts ==&lt;br /&gt;
* [https://twitter.com/gamelaster/status/1583916501400068096 Ox64 boots Linux successfully]&lt;br /&gt;
* [https://twitter.com/btashton/status/1586381334439923713?t=w5xRRUR74HGK2O1Zg_aFyw&amp;amp;s=19 Brennan Ashton is porting Apache NuttX RTOS and OpenAMP (Asymmetric Multiprocessing) to BL808]&lt;br /&gt;
* [https://twitter.com/thanos_engine/status/1585153938092761093 Phone Concept for BL808]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Ox64]] [[Category:Bouffalo BL808]]&lt;/div&gt;</summary>
		<author><name>Rbino</name></author>
	</entry>
</feed>