Difference between revisions of "Quartz64 Development"

From PINE64
Jump to navigation Jump to search
(Add the pgwipeout infodump)
Line 31: Line 31:
| colspan="2"  style="background:#F99; text-align:center;"|Needs porting
| colspan="2"  style="background:#F99; text-align:center;"|Needs porting
| <code>snd-soc-rockchip-i2s?</code>
| <code>snd-soc-rockchip-i2s?</code>
|
|-
|-
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/alsa-devel/patch/20210519203754.27184-2-macroalpha82@gmail.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/alsa-devel/patch/20210519203754.27184-2-macroalpha82@gmail.com/]</sup>
Line 38: Line 39:
! scope="row" | u-boot
! scope="row" | u-boot
| colspan="2"  style="background:LightYellow; text-align:center;"|Waiting on ATF sources
| colspan="2"  style="background:LightYellow; text-align:center;"|Waiting on ATF sources
|
|
|
|-
|-
Line 43: Line 45:
| colspan="2"  style="background:LightYellow; text-align:center;"|Early rk3568 dts in review
| colspan="2"  style="background:LightYellow; text-align:center;"|Early rk3568 dts in review
|  
|  
|
|-
|-
! scope="row" rowspan="2"| Gigabit Ethernet
! scope="row" rowspan="2"| Gigabit Ethernet
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210421203409.40717-4-ezequiel@collabora.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210421203409.40717-4-ezequiel@collabora.com/]</sup>
| <code>rk3566-gmac</code>
| <code>rk3566-gmac</code>
|
|-
|-
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210520163230.3788942-1-pgwipeout@gmail.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210520163230.3788942-1-pgwipeout@gmail.com/]</sup>
| <code>yt8511-phy</code>
| <code>yt8511-phy</code>
|
|-
|-
! scope="row" | IOMMU
! scope="row" | IOMMU
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210422141602.350746-5-benjamin.gaignard@collabora.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210422141602.350746-5-benjamin.gaignard@collabora.com/]</sup>
| <code>rockchip-iommu</code>
| <code>rockchip-iommu</code>
|
|-
|-
! scope="row" | GPIO
! scope="row" | GPIO
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
|
|
|
|-
|-
! scope="row" | pinctrl
! scope="row" | pinctrl
| colspan="2"  style="background:PaleGreen; text-align:center;"|Linux Mainline
| colspan="2"  style="background:PaleGreen; text-align:center;"|Linux Mainline
|
|
|
|-
|-
Line 66: Line 74:
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210421200445.32977-1-ezequiel@collabora.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210421200445.32977-1-ezequiel@collabora.com/]</sup>
| <code>rockchip-thermal</code>
| <code>rockchip-thermal</code>
|
|-
|-
! scope="row" | PCIe
! scope="row" | PCIe
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
| <code>pcie-dw-rockchip</code>
| <code>pcie-dw-rockchip</code>
|
|-
|-
! scope="row" | Power Management
! scope="row" | Power Management
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
| colspan="2"  style="background:LightYellow; text-align:center;"|In review
| <code>rockchip-pm-domain</code>
| <code>rockchip-pm-domain</code>
|
|-
|-
! scope="row" | Voltage Control
! scope="row" | Voltage Control
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210527082453.1447484-3-jay.xu@rock-chips.com/]</sup>
| colspan="2"  style="background:LightYellow; text-align:center;"|In review<sup>[https://patchwork.kernel.org/project/linux-rockchip/patch/20210527082453.1447484-3-jay.xu@rock-chips.com/]</sup>
| <code>rk3568-pmu-io-voltage-domain</code>
| <code>rk3568-pmu-io-voltage-domain</code>
|
|-
! scope="row" rowspan="2" | SPI
| colspan="2"  style="background:#F99; text-align:center;"|Needs a driver
|
|
|}
|}


== Ressources ==
== Current Status ==
 
The following sections give an overview over the current status of different parts of the board. Some parts are waiting on a driver to be written or ported, others only need various adjustments.
 
General performance is poor, this is likely due to the [https://en.wikipedia.org/wiki/Advanced_Microcontroller_Bus_Architecture AHB bus] running slow, and may require some major rework of the clock layout to get to acceptable speeds.
 
=== Working ===
 
* eMMC
* SDMMC0 (SD cards)
* GMAC (Gigabit Ethernet)
* USB 2.0
* SATA 2
* SATA 3
* UART
** UART 0 (Pi-bus)
** UART 1 (Bluetooth)
** UART 2 (Pi-bus, debug)
 
=== Partially Working ===
 
* PCI-Express Controller &mdash; everything but devices that need cache coherency (e.g. dGPUs) should work
* USB 3.0 &mdash; at 2.0 speeds only, appears to be due to a PHY configuration issue
 
=== Confirmed Broken ===
 
* SDMMC1 (WiFi) -- no signals observed on the signal lines whatsoever
 
=== Needs Testing ===
 
* GPU &mdash; Need a VOP-v2 DRM driver to get display output
* Battery
* Audio &mdash; Needs I2S driver
* E-Paper
* SPI &mdash; Needs a driver
 
== Resources ==
=== Repositories ===
=== Repositories ===



Revision as of 00:03, 29 May 2021

Under Construction!

Overview

Upstreaming Status

Function Status Component Notes
Video Output Needs porting rockchipdrm/VOP-v2
3D Acceleration Linux Mainline Upstream Mesa panfrost
Video Decode Linux Staging Not in ffmpeg[1] hantro-vpu, using v4l2-requests Speculative status on this also being hantro, can't find rk35* in drivers/staging/media/
Audio Needs porting snd-soc-rockchip-i2s?
In review[2] rk817-codec Up to V12 now
u-boot Waiting on ATF sources
Device Tree Early rk3568 dts in review
Gigabit Ethernet In review[3] rk3566-gmac
In review[4] yt8511-phy
IOMMU In review[5] rockchip-iommu
GPIO In review
pinctrl Linux Mainline
Thermal Regulation In review[6] rockchip-thermal
PCIe In review pcie-dw-rockchip
Power Management In review rockchip-pm-domain
Voltage Control In review[7] rk3568-pmu-io-voltage-domain
SPI Needs a driver

Current Status

The following sections give an overview over the current status of different parts of the board. Some parts are waiting on a driver to be written or ported, others only need various adjustments.

General performance is poor, this is likely due to the AHB bus running slow, and may require some major rework of the clock layout to get to acceptable speeds.

Working

  • eMMC
  • SDMMC0 (SD cards)
  • GMAC (Gigabit Ethernet)
  • USB 2.0
  • SATA 2
  • SATA 3
  • UART
    • UART 0 (Pi-bus)
    • UART 1 (Bluetooth)
    • UART 2 (Pi-bus, debug)

Partially Working

  • PCI-Express Controller — everything but devices that need cache coherency (e.g. dGPUs) should work
  • USB 3.0 — at 2.0 speeds only, appears to be due to a PHY configuration issue

Confirmed Broken

  • SDMMC1 (WiFi) -- no signals observed on the signal lines whatsoever

Needs Testing

  • GPU — Need a VOP-v2 DRM driver to get display output
  • Battery
  • Audio — Needs I2S driver
  • E-Paper
  • SPI — Needs a driver

Resources

Repositories

Board/SoC Documentation

Booting

Boot Order

The RK3566 boot ROM will search for a valid ID BLOCK in the following order on the support boot media:

  • SPI NOR flash
  • SPI NAND flash
  • eMMC
  • SD-Card

... if this fails, the boot ROM will initialize the USB0 port and wait for a connection from the Rockchip flash/boot tools.

BSP Image Layout