<?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=NilsBe</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=NilsBe"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/NilsBe"/>
	<updated>2026-04-16T21:21:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18090</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18090"/>
		<updated>2023-02-22T14:58:57Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=1 BL602/604]]     || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=2 BL702/704/706]] || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         || 32-bit RISC-V (M0), 64-bit RISC-V (D0), 32-bit RISC-V CPU (LP)   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=11 BL606P]]       || 32-bit RISC-V CPU (M0), 64th RISC-V CPU (D0) ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=21 BL616/618]]    || 32-bit RISC CPU, 532KB SRAM, 128KB ROM  ||               || [[https://wiki.sipeed.com/hardware/en/maixzero/m0s/m0s.html Sipeed M0s Module]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Bouffalo Website: &lt;br /&gt;
&lt;br /&gt;
Bouffalo GitHub: https://github.com/bouffalolab&lt;br /&gt;
&lt;br /&gt;
Bouffalo Lab Company Profile: https://pitchbook.com/profiles/company/264875-05&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18089</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18089"/>
		<updated>2023-02-22T14:53:44Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=1 BL602/604]]     || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=2 BL702/704/706]] || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         || 32-bit RISC-V (M0), 64-bit RISC-V (D0), 32-bit RISC-V CPU (LP)   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=11 BL606P]]       || 32-bit RISC-V CPU (M0), 64th RISC-V CPU (D0) ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=21 BL616/618]]    || 32-bit RISC CPU, 532KB SRAM, 128KB ROM  ||               ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Bouffalo Website: &lt;br /&gt;
&lt;br /&gt;
Bouffalo GitHub: https://github.com/bouffalolab&lt;br /&gt;
&lt;br /&gt;
Bouffalo Lab Company Profile: https://pitchbook.com/profiles/company/264875-05&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18088</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18088"/>
		<updated>2023-02-22T14:50:12Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=1 BL602/604]]     || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=2 BL702/704/706]] || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         || 32-bit RISC-V (M0), 64-bit RISC-V (D0), 32-bit RISC-V CPU (LP)   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=11 BL606P]]       || 32-bit RISC-V CPU (M0), 64th RISC-V CPU (D0) ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=21 BL616/618]]    || 32-bit RISC CPU, 532KB SRAM, 128KB ROM  ||               ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Bouffalo Website: &lt;br /&gt;
&lt;br /&gt;
Bouffalo GitHub: https://github.com/bouffalolab&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Ox64&amp;diff=18087</id>
		<title>Ox64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Ox64&amp;diff=18087"/>
		<updated>2023-02-22T14:34:39Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* CPU Architecture */&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;
There is a community effort to bring updated kernels, peripherals and buildroot - Lots of communication happening in the #ox64-nutcracker channel. &lt;br /&gt;
&lt;br /&gt;
* [https://github.com/openbouffalo/buildroot_bouffalo buildroot] bringing all the work below together with a bootable kernel and updated filesystem images for SD cards &lt;br /&gt;
* [https://github.com/smaeul/u-boot/tree/bl808 U-Boot] and [https://github.com/smaeul/opensbi/tree/bl808 OpenSBI] work by Smauel&lt;br /&gt;
* [https://github.com/arm000/linux-bl808/tree/linux-next/mboxic Kernel] IRQChip, SDCard, and (WIP) USB by arm000, Alexander Horner and others&lt;br /&gt;
* [https://github.com/openbouffalo/OBLFR OpenBouffalo Firmware] low_load drivers by Fishwaldo and others&lt;br /&gt;
&lt;br /&gt;
Original Linux Images provided by Bouffalo - Very basic '''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;
== 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;
=== CPU Architecture ===&lt;br /&gt;
[[File:T-Head.png|right|200px]]&lt;br /&gt;
&lt;br /&gt;
[https://www.t-head.cn/product/c906?lang=en T-Head C906 480MHz 64-bit RISC-V CPU]:&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;
[https://www.t-head.cn/product/e902?lang=en T-Head E902 150MHz 32-bit RISC-V CPU]:&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 (only 128Mb version)&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;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
[[file:0x64pinout.png|500px|thumb|Pinout of the production version]]&lt;br /&gt;
&lt;br /&gt;
* Baseboard Dimensions: 51mm x 21mm x 19mm x 3.5mm (Breadboard friendly)&lt;br /&gt;
* Input Power: 5V 0.5A microUSB or USB-C port&lt;br /&gt;
&lt;br /&gt;
Production version schematic:&lt;br /&gt;
&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;
&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;
&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://raw.githubusercontent.com/bouffalolab/bl_docs/main/BL808_RM/en/BL808_RM_en_1.2.pdf Bouffalo Lab BL808 SoC Reference Manual]&lt;br /&gt;
&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;
&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;
&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;
&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. 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;
&lt;br /&gt;
The below devices have been tested and verified as working:&lt;br /&gt;
* Raspberry Pi Pico - running the following [https://github.com/sanjay900/ox64-uart/releases/tag/v1.1 uart firmware] (GP4 and GP5 are used for port 0, GP12 and GP13 for port 1)&lt;br /&gt;
* ESP32 with CP210x - 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. Note that only baud rate 115200 works, and this doesn't seem to work for everyone)&lt;br /&gt;
* Stand-alone CP2102 dongle works at 115200 baud. Brand used was HiLetgo.&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;
* STM32F103C8T6 BluePill - running Black Magic Debug.&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;
== Resources ==&lt;br /&gt;
* A video on how to connect to, flash and boot the Ox64 as at 2023-02 (15min) can be found [https://youtube.com/watch?v=czRtF-UNiEY here].&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;
* [https://github.com/p4ddy1/pine_ox64/blob/main/build_toolchain_macos.md Building the Xuantie GNU Toolchain for Ox64 on macOS and Apple Silicon]&lt;br /&gt;
&lt;br /&gt;
Git repositories:&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] (Initial development has been postponed until further notice.)&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;
[[Category:Ox64]] [[Category:Bouffalo BL808]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18086</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18086"/>
		<updated>2023-02-22T14:16:00Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=1 BL602/604]]     || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=2 BL702/704/706]] || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         || 32-bit RISC-V (M0), 64-bit RISC-V (D0), 32-bit RISC-V CPU (LP)   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=11 BL606P]]       || 32-bit RISC-V CPU (M0), 64th RISC-V CPU (D0) ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=21 BL616/618]]    || 32-bit RISC CPU, 532KB SRAM, 128KB ROM  ||               ||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18085</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=18085"/>
		<updated>2023-02-22T11:29:07Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=1 BL602/604]]     || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=2 BL702/704/706]] || 32-bit RISC-V CPU, 276KB RAM, 128KB ROM || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         ||   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=11 BL606P]]       || 32-bit RISC-V CPU (M0), 64th RISC-V CPU (D0) ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| [[https://en.bouffalolab.com/product/?type=detail&amp;amp;id=21 BL616/618]]    || 32-bit RISC CPU, 532KB SRAM, 128KB ROM  ||               ||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17978</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17978"/>
		<updated>2023-02-20T19:21:28Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Bouffalo Lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| BL602/604     ||   || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| BL702/704/706 ||   || [[Pinecil]]   || [[https://www.lcsc.com/product-detail/Development-Boards-Kits_Bouffalo-Lab-BL702C-A0-IoT-DVK_C5122692.html DevKit]]&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         ||   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| BL606P        ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL616/618     ||   ||               ||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17507</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17507"/>
		<updated>2023-02-20T15:25:26Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bouffalo Lab ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ table of BL chips&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Description !! Pine64 Devices !! other Devices&lt;br /&gt;
|-&lt;br /&gt;
| BL602/604     ||   || [[PineCone]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| BL702/704/706 ||   || [[Pinecil]]   ||&lt;br /&gt;
|-&lt;br /&gt;
| BL702L/704L   ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL808         ||   || [[Ox64]]      || [[https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html Sipeed M1s Dock]]&lt;br /&gt;
|-&lt;br /&gt;
| BL606P        ||   ||               ||&lt;br /&gt;
|-&lt;br /&gt;
| BL616/618     ||   ||               ||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17192</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17192"/>
		<updated>2023-02-19T19:47:33Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
[[https://pypi.org/project/bflb-mcu-tool/ python tool to flash the ox64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Ox64&amp;diff=17188</id>
		<title>Ox64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Ox64&amp;diff=17188"/>
		<updated>2023-02-19T19:29:24Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Resources */&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;
There is a community effort to bring updated kernels, peripherals and buildroot - Lots of communication happening in the #ox64-nutcracker channel. &lt;br /&gt;
&lt;br /&gt;
* [https://github.com/openbouffalo/buildroot_bouffalo buildroot] bringing all the work below together with a bootable kernel and updated filesystem images for SD cards &lt;br /&gt;
* [https://github.com/smaeul/u-boot/tree/bl808 U-Boot] and [https://github.com/smaeul/opensbi/tree/bl808 OpenSBI] work by Smauel&lt;br /&gt;
* [https://github.com/arm000/linux-bl808/tree/linux-next/mboxic Kernel] IRQChip, SDCard, and (WIP) USB by arm000, Alexander Horner and others&lt;br /&gt;
* [https://github.com/openbouffalo/OBLFR OpenBouffalo Firmware] low_load drivers by Fishwaldo and others&lt;br /&gt;
&lt;br /&gt;
Original Linux Images provided by Bouffalo - Very basic '''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;
== 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;
=== CPU Architecture ===&lt;br /&gt;
[[File:T-Head.png|right|200px]]&lt;br /&gt;
&lt;br /&gt;
[https://www.t-head.cn/product/c906?lang=en T-Head C906 480MHz 64-bit RISC-V CPU]:&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;
=== 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 (only 128Mb version)&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;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
[[file:0x64pinout.png|500px|thumb|Pinout of the production version]]&lt;br /&gt;
&lt;br /&gt;
* Baseboard Dimensions: 51mm x 21mm x 19mm x 3.5mm (Breadboard friendly)&lt;br /&gt;
* Input Power: 5V 0.5A microUSB or USB-C port&lt;br /&gt;
&lt;br /&gt;
Production version schematic:&lt;br /&gt;
&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;
&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;
&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://raw.githubusercontent.com/bouffalolab/bl_docs/main/BL808_RM/en/BL808_RM_en_1.2.pdf Bouffalo Lab BL808 SoC Reference Manual]&lt;br /&gt;
&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;
&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;
&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;
&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. 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;
&lt;br /&gt;
The below devices have been tested and verified as working:&lt;br /&gt;
* Raspberry Pi Pico - running the following [https://github.com/sanjay900/ox64-uart/releases/tag/v1.1 uart firmware] (GP4 and GP5 are used for port 0, GP12 and GP13 for port 1)&lt;br /&gt;
* ESP32 with CP210x - 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. Note that only baud rate 115200 works, and this doesn't seem to work for everyone)&lt;br /&gt;
* Stand-alone CP2102 dongle works at 115200 baud. Brand used was HiLetgo.&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;
* STM32F103C8T6 BluePill - running Black Magic Debug.&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;
== Resources ==&lt;br /&gt;
* A video on how to connect to, flash and boot the Ox64 as at 2023-02 (15min) can be found [https://youtube.com/watch?v=czRtF-UNiEY here].&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;
* [https://github.com/p4ddy1/pine_ox64/blob/main/build_toolchain_macos.md Building the Xuantie GNU Toolchain for Ox64 on macOS and Apple Silicon]&lt;br /&gt;
&lt;br /&gt;
Git repositories:&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] (Initial development has been postponed until further notice.)&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;
[[Category:Ox64]] [[Category:Bouffalo BL808]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17187</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17187"/>
		<updated>2023-02-19T18:00:06Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First Steps ===&lt;br /&gt;
&lt;br /&gt;
The USB is not working at the moment (except powering up the device), therefore connecting the ox64 to a computer will not be useful for the first development steps. &lt;br /&gt;
&lt;br /&gt;
To connect the device with a computer the UART Pins are used. &lt;br /&gt;
&lt;br /&gt;
OX64 has  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some References ===&lt;br /&gt;
&lt;br /&gt;
[[https://www.blaatschaap.be/booting-linux-on-an-ox64-bl808-board/ Blog &amp;quot;BlaatSchaap&amp;quot;: &amp;quot;Booting Linux on an OX64 BL808 board&amp;quot;]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17186</id>
		<title>User talk:NilsBe</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=User_talk:NilsBe&amp;diff=17186"/>
		<updated>2023-02-19T17:48:06Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: Created page with &amp;quot;i want to contribute to the documentation of the ox64   starting first here on this kind of sandbox and when the content is sufficient then transfer it to ox64/Development&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i want to contribute to the documentation of the [[ox64]] &lt;br /&gt;
&lt;br /&gt;
starting first here on this kind of sandbox and when the content is sufficient then transfer it to [[ox64/Development]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Ox64&amp;diff=16794</id>
		<title>Ox64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Ox64&amp;diff=16794"/>
		<updated>2023-02-16T22:27:25Z</updated>

		<summary type="html">&lt;p&gt;NilsBe: /* Storage */&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;
There is a community effort to bring updated kernels, peripherals and buildroot - Lots of communication happening in the #ox64-nutcracker channel. &lt;br /&gt;
&lt;br /&gt;
* [https://github.com/openbouffalo/buildroot_bouffalo buildroot] bringing all the work below together with a bootable kernel and updated filesystem images for SD cards &lt;br /&gt;
* [https://github.com/smaeul/u-boot/tree/bl808 U-Boot] and [https://github.com/smaeul/opensbi/tree/bl808 OpenSBI] work by Smauel&lt;br /&gt;
* [https://github.com/arm000/linux-bl808/tree/linux-next/mboxic Kernel] IRQChip, SDCard, and (WIP) USB by arm000, Alexander Horner and others&lt;br /&gt;
* [https://github.com/openbouffalo/OBLFR OpenBouffalo Firmware] low_load drivers by Fishwaldo and others&lt;br /&gt;
&lt;br /&gt;
Original Linux Images provided by Bouffalo - Very basic '''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;
== 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;
=== CPU Architecture ===&lt;br /&gt;
[[File:T-Head.png|right|200px]]&lt;br /&gt;
&lt;br /&gt;
[https://www.t-head.cn/product/c906?lang=en T-Head C906 480MHz 64-bit RISC-V CPU]:&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;
=== 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 (only 128Mb version)&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;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
[[file:0x64pinout.png|500px|thumb|Pinout of the production version]]&lt;br /&gt;
&lt;br /&gt;
* Baseboard Dimensions: 51mm x 21mm x 19mm x 3.5mm (Breadboard friendly)&lt;br /&gt;
* Input Power: 5V 0.5A microUSB or USB-C port&lt;br /&gt;
&lt;br /&gt;
Production version schematic:&lt;br /&gt;
&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;
&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;
&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://raw.githubusercontent.com/bouffalolab/bl_docs/main/BL808_RM/en/BL808_RM_en_1.2.pdf Bouffalo Lab BL808 SoC Reference Manual]&lt;br /&gt;
&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;
&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;
&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;
&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. 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;
&lt;br /&gt;
The below devices have been tested and verified as working:&lt;br /&gt;
* Raspberry Pi Pico - running the following [https://github.com/sanjay900/ox64-uart/releases/tag/v1.1 uart firmware] (GP4 and GP5 are used for port 0, GP12 and GP13 for port 1)&lt;br /&gt;
* ESP32 with CP210x - 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. Note that only baud rate 115200 works, and this doesn't seem to work for everyone)&lt;br /&gt;
* Stand-alone CP2102 dongle works at 115200 baud. Brand used was HiLetgo.&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;
* STM32F103C8T6 BluePill - running Black Magic Debug.&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;
== Resources ==&lt;br /&gt;
* A video on how to connect to, flash and boot the Ox64 as at 2023-02 (15min) can be found [https://youtube.com/watch?v=czRtF-UNiEY here].&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;
* [https://github.com/p4ddy1/pine_ox64/blob/main/build_toolchain_macos.md Building the Xuantie GNU Toolchain for Ox64 on macOS and Apple Silicon]&lt;br /&gt;
&lt;br /&gt;
Git repositories:&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;
== 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;
[[Category:Ox64]] [[Category:Bouffalo BL808]]&lt;/div&gt;</summary>
		<author><name>NilsBe</name></author>
	</entry>
</feed>