Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:techref:hardware:soc:soc.allwinner.d1 [2024/02/26 21:59] – highlights wigyoridocs:techref:hardware:soc:soc.allwinner.d1 [2024/02/26 22:05] (current) – [Allwinner D1 (sun20i)] wigyori
Line 5: Line 5:
 Allwinner D1 (sun20i, also known as D1-H) is the first SoC of Allwinner which is based on a RISC-V core. D1 features single RV64GCV core XuanTie C906 from T-Head Semiconductor (subsidiary of Alibaba) and an additional 600 MHz Tensilica HiFi4 DSP. Allwinner D1 (sun20i, also known as D1-H) is the first SoC of Allwinner which is based on a RISC-V core. D1 features single RV64GCV core XuanTie C906 from T-Head Semiconductor (subsidiary of Alibaba) and an additional 600 MHz Tensilica HiFi4 DSP.
  
-Peripherals and devices mostly match the sunxi H3 board's ones, as the same IP blocks are being used. Supporting them is generally adding new compatibles into the drivers.+Peripherals and devices mostly match the sunxi H3 board's ones, as the same IP blocks are being used. Supporting them is generally adding new compatibles into the drivers and a few quirks.
  
 ==== Status ==== ==== Status ====
Line 21: Line 21:
  
 ===== Installing OpenWrt ===== ===== Installing OpenWrt =====
 +
 +Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb.
 +
 +===== Upgrading OpenWrt =====
 +->[[docs:guide-user:installation:generic.sysupgrade]]
 +
 +sysupgrade works out of the box, using (at least) the ext4-sdcard.img.gz files.
 +
  
 ==== Pre-built release and snapshot images ==== ==== Pre-built release and snapshot images ====
Line 32: Line 40:
 } --> } -->
 ++++ ++++
 +
 +
  
 ===== Boot process ===== ===== Boot process =====
Line 38: Line 48:
  
 ==== U-Boot ==== ==== U-Boot ====
 +
 Boot firmware on the D1 consists of three parts, which largely correspond to the components used by 64-bit ARM SoCs: Boot firmware on the D1 consists of three parts, which largely correspond to the components used by 64-bit ARM SoCs:
  
Line 45: Line 56:
  
 ==== OpenSBI ==== ==== OpenSBI ====
 +
 Mainline OpenSBI fully supports the C906 CPU and the Allwinner D1 SoC out of the box since version 1.1. You should use upstream OpenSBI, not any fork. Mainline OpenSBI fully supports the C906 CPU and the Allwinner D1 SoC out of the box since version 1.1. You should use upstream OpenSBI, not any fork.
  
 ==== Mainline U-Boot ==== ==== Mainline U-Boot ====
-Mainline U-Boot support is mostly complete, but is not merged yet. Booting Linux from the network, USB, and an SD card works. Some refactoring of the various sunxi device drivers is still needed before any RISC-V sunxi platforms can be upstreamed. + 
-NOTE: As of 2022-11-01, this branch includes full U-Boot SPL support, so using the BSP boot0 or a TOC1 image is no longer necessary.+Mainline U-Boot support is mostly complete, but is not merged yet. Booting Linux from the network, USB, and an SD card works. Some refactoring of the various sunxi device drivers is still needed before any RISC-V sunxi platforms can be upstreamed. Full U-Boot SPL support is available, so using the BSP boot0 or a TOC1 image is no longer necessary.
  
  
  
  • Last modified: 2024/02/26 21:59
  • by wigyori