Dev/OPi/OPiZero: Difference between revisions

From Embeded Linux (and more) Wiki by Nathael
< Dev‎ | OPi
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Description  ==
== Description  ==
Official website : http://www.orangepi.org/orangepizero/ ([[Dev/OPiZero/Backup_presentation|Backup]])<br />
Official website : http://www.orangepi.org/orangepizero/ ([[Dev/OPi/OPiZero/Backup_presentation|Backup]])<br />
New one : https://orangepi.com/index.php?route=product/product&product_id=844


The OrangePi Zero board is an Open-source Single Board Computer (SBC) of 48x46mm created and sold by Xunlong.
The OrangePi Zero board is an Open-source Single Board Computer (SBC) of 48x46mm created and sold by Xunlong.


== Base system ==
== Base system ==
* [[Dev/OPiZero/From_Scratch|Create initial system from scratch (sources)]]: all the steps, using u-boot and Linux kernel sources, and a guide to create a minimal system using either Busybox or Devuan.
* [[Dev/OPi/OPiZero/From_Scratch|Create initial system from scratch (sources)]]: all the steps, using u-boot and Linux kernel sources.
* The "SD card creation" section from the [[Dev/OPiZero/From_Scratch|"from scratch" page]] : also provides information to use u-boot, kernel, and Devuan root filesystem I built. <br />
* [[Dev/Embedded/Rootfs|Rootfs guide]] to create either a minimal system using Busybox or a full Devuan GNU/Linux system.
You can get the images here: [http://www.nathael.org/Data/Devel/OPiZero/ Images for Orange Pi Zero board].
* The "SD card creation" section from the [[Dev/OPi/OPiZero/From_Scratch|"from scratch" page]] also provides information to use the u-boot, kernel image, and Devuan root filesystem I built. <br />
You can get the images here: [http://data.nathael.net/Dev/OPi/OPiZero/ Images for Orange Pi Zero board].


== Connection and startup ==
== Connection and startup ==
=== USB-UART serial console connection ===
==== USB-UART serial console connection ====
[[File:OPi_Zero_UART.jpg|150px|thumbnail|UART debug port]]
[[File:OPi_Zero_UART.jpg|150px|thumbnail|UART debug port]]


Line 20: Line 22:
: pin 3 : UART TX : Yellow
: pin 3 : UART TX : Yellow


=== SD card boot ===
==== SD card boot ====
The OrangePi Zero board boots from the SD card which has to be prepared following specific steps. Follow the "SD card creation" section from the [[Dev/OPiZero/From_Scratch|"from scratch" page]]
The OrangePi Zero board boots from the SD card which has to be prepared following specific steps. Follow the "SD card creation" section from the [[Dev/OPi/OPiZero/From_Scratch|"from scratch" page]]


== Extension ports ==
== Extension ports ==

Latest revision as of 18:20, 24 July 2022


Description

Official website : http://www.orangepi.org/orangepizero/ (Backup)
New one : https://orangepi.com/index.php?route=product/product&product_id=844

The OrangePi Zero board is an Open-source Single Board Computer (SBC) of 48x46mm created and sold by Xunlong.

Base system

You can get the images here: Images for Orange Pi Zero board.

Connection and startup

USB-UART serial console connection

UART debug port

On the J3 connector (3 pins male 2.54mm, next to the Ethernet connector, pin 1 on the board edge) :

pin 1 - GND : Black
pin 2 - UART RX : Orange
pin 3 : UART TX : Yellow

SD card boot

The OrangePi Zero board boots from the SD card which has to be prepared following specific steps. Follow the "SD card creation" section from the "from scratch" page

Extension ports

The OrangePi Zero board has two extension ports using common 2.54mm (0.1inch) pitch:

  • con4 : 2x13
  • con5 : 1x13
Orange Pi Zero Expansion Header
con4 : 2x13 Header
1 3.3V 2 5V
3 TWI0_SDA / PA12 / GPIO12 4 5V
5 TWI0_SCK / PA11 / GPIO11 6 GND
7 PWM1 / PA06 / GPIO6 8 UART1_TX / PG06 / GPIO198
9 GND 10 UART1_RX / PG07 / GPIO199
11 UART2_RX / PA01 / GPIO1 12 SIM_CLK/PA_EINT7 / PA07 / GPIO7
13 UART2_TX / PA00 / GPIO0 14 GND
15 UART2_CTS / PA03 / GPIO3 16 TWI1-SDA / PA19 / GPIO19
17 3.3V 18 TWI1-SCK / PA18 / GPIO18
19 SPI1_MOSI / PA15 / GPIO15 20 GND
21 SPI1_MISO / PA16 / GPIO16 22 UART2_RTS / PA02 / GPIO2
23 SPI1_CLK / PA14 / GPIO14 24 SPI1_CS / PA13 / GPIO13
25 GND 26 SIM_DET/PA_EINT10 / PA10 / GPIO10


con5 1x13 Header
1 5V
2 GND
3 USB-DM2
4 USB-DP2
5 USB-DM3
6 USB-DP3
7 LINEOUTR
8 LINEOUTL
9 TV-OUT
10 MIC-BIAS
11 MIC1P
12 MIC1N
13 CIR-RX

External links

(Pseudo)random list of links to pages with information to compile u-boot, the Linux kernel, and create a root filesystem.