Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:techref:hardware:soc:soc.allwinner.d1 [2024/02/26 21:55] – peripherals wigyori | docs: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' | + | Peripherals and devices mostly match the sunxi H3 board' |
| ==== Status ==== | ==== Status ==== | ||
| Line 19: | Line 19: | ||
| | [[toh: | | [[toh: | ||
| | [[toh: | | [[toh: | ||
| + | |||
| + | ===== Installing OpenWrt ===== | ||
| + | |||
| + | Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. | ||
| + | |||
| + | ===== Upgrading OpenWrt ===== | ||
| + | -> | ||
| + | |||
| + | sysupgrade works out of the box, using (at least) the ext4-sdcard.img.gz files. | ||
| + | |||
| + | |||
| + | ==== Pre-built release and snapshot images ==== | ||
| + | ++++ OpenWrt firmware downloads for d1| | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | ++++ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Boot process ===== | ||
| + | |||
| + | (Credits goes to the https:// | ||
| + | |||
| + | ==== U-Boot ==== | ||
| + | |||
| + | Boot firmware on the D1 consists of three parts, which largely correspond to the components used by 64-bit ARM SoCs: | ||
| + | |||
| + | U-Boot SPL (Secondary Program Loader) which is responsible for initializing DRAM and loading further firmware from storage. | ||
| + | OpenSBI, which runs in machine mode and provides a standard " | ||
| + | U-Boot proper, which initializes additional hardware and loads Linux from storage or the network. | ||
| + | |||
| + | ==== 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 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. Full U-Boot SPL support is available, so using the BSP boot0 or a TOC1 image is no longer necessary. | ||