hifiveu: add new target for HiFive Unleashed/Unmatched RISC-V boards
authorZoltan HERPAI <wigyori@uid0.hu>
Sun, 16 Dec 2018 10:05:58 +0000 (11:05 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Thu, 3 Mar 2022 14:01:08 +0000 (15:01 +0100)
commit52c37053473951d6db559bccceab529ccc98c5b1
tree57167ef5b3d3dbb0c42e7e4861cdbc28983a4796
parent0d19ad6776e7d55eb1e351023939405d8e2a0c70
hifiveu: add new target for HiFive Unleashed/Unmatched RISC-V boards

RISC-V is a new CPU architecture aimed to be fully free and open. This
target will add support for it, based on 5.10.

Supports running on:
 - HiFive Unleashed - FU540, first generation
 - HiFive Unmatched - FU740, current latest generation, PCIe

SD-card images are generated, where the partitions are required to have
specific type codes. As it is commonplace nowadays, OpenSBI is used as the
first stage, with U-boot following as the proper bootloader.

Specifications:

HiFive Unleashed:
 - CPU: SiFive FU540 quad-core RISC-V (U54, RV64IMAFDC)
 - Memory: 8Gb
 - Ethernet: 1x 10/100/1000
 - Console: via microUSB

HiFive Unmatched:
 - CPU: SiFive FU740 quad-core RISC-V (U74, RV64IMAFDC)
 - Memory: 16Gb
 - Ethernet: 1x 10/100/1000
 - USB: 4x USB 3.2
 - PCIe:  - 1x PCIe Gen3 x8
          - 1x M.2 key M (PCIe x4)
          - 1x M.2 Key E (PCIe x1 / USB2.0)
 - Console: via microUSB

Installation:
Standard SD-card installation via dd-ing the generated image to
an SD-card of at least 256Mb.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
53 files changed:
target/linux/hifiveu/Makefile [new file with mode: 0644]
target/linux/hifiveu/base-files/etc/board.d/01_leds [new file with mode: 0644]
target/linux/hifiveu/base-files/etc/board.d/02_network [new file with mode: 0644]
target/linux/hifiveu/base-files/etc/inittab [new file with mode: 0644]
target/linux/hifiveu/config-5.10 [new file with mode: 0644]
target/linux/hifiveu/image/Config.in [new file with mode: 0644]
target/linux/hifiveu/image/Makefile [new file with mode: 0644]
target/linux/hifiveu/image/gen_hifiveu_sdcard_img.sh [new file with mode: 0755]
target/linux/hifiveu/patches-5.10/0001-clk-sifive-Extract-prci-core-to-common-base.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0002-clk-sifive-Use-common-name-for-prci-configuration.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0003-clk-sifive-Add-a-driver-for-the-SiFive-FU740-PRCI-IP.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0004-clk-sifive-Fix-the-wrong-bit-field-shift.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0005-clk-sifive-Add-clock-enable-and-disable-ops.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0006-dt-bindings-riscv-Update-DT-binding-docs-to-support-.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0007-dt-bindings-spi-Update-DT-binding-docs-to-support-Si.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0008-dt-bindings-pwm-Update-DT-binding-docs-to-support-Si.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0009-dt-bindings-serial-Update-DT-binding-docs-to-support.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0010-dt-bindings-gpio-Update-DT-binding-docs-to-support-S.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0011-dt-bindings-i2c-Update-DT-binding-docs-to-support-Si.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0012-riscv-dts-add-initial-support-for-the-SiFive-FU740-C.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0013-dt-bindings-riscv-Update-YAML-doc-to-support-SiFive-.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0014-riscv-dts-add-initial-board-data-for-the-SiFive-HiFi.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0016-RISC-V-sifive_l2_cache-Update-L2-cache-driver-to-sup.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0017-gpio-sifive-To-get-gpio-irq-offset-from-device-tree-.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0018-riscv-Add-3-SBI-wrapper-functions-to-get-cpu-manufac.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0019-riscv-Get-CPU-manufactory-information.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0020-riscv-Introduce-alternative-mechanism-to-apply-errat.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0021-riscv-sifive-apply-errata-cip-453-patch.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0022-riscv-dts-fu740-fix-cache-controller-interrupts.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0023-riscv-sifive-fu740-cpu-1-2-3-4-set-compatible-to-sif.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0024-riscv-dts-Add-PCIe-support-for-the-SiFive-FU740-C000.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0025-clk-sifive-Add-pcie_aux-clock-in-prci-driver-for-PCI.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0026-clk-sifive-Use-reset-simple-in-prci-driver-for-PCIe-.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0027-MAINTAINERS-Add-maintainers-for-SiFive-FU740-PCIe-dr.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0028-dt-bindings-PCI-Add-SiFive-FU740-PCIe-host-controlle.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0029-PCI-designware-Add-SiFive-FU740-PCIe-host-controller.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0030-riscv-enable-generic-PCI-resource-mapping.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0031-SiFive-Unleashed-CPUFreq.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0040-riscv-sifive-unmatched-add-D12-PWM-LED.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0041-riscv-sifive-unmatched-add-gpio-poweroff-node.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0042-riscv-sifive-unmatched-add-D2-RGB-LED.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0043-riscv-sifive-unmatched-remove-A00-from-model.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0044-riscv-sifive-unmatched-define-LEDs-color.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0045-Add-PWM-LEDs-D1-D2-D3-D4.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0100-hifiveu-openwrt-led-changes.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0101-riscv_dts_sifive-unmatched_Expose_the_FU740_regulator.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0102-riscv_dts_sifive-unmatched_Link_tmp451_with_its_psup.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0103-riscv_dts_sifive-unmatched_Expose_board_ID_EEPROM.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0104-riscv_dts_sifive_unmatched-Expose_PMIC_sub-funcs.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0105-riscv_dts_sifive_unmatched_Expose_fan_PWM.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0106-mfd_da9063_Add_HWMON_deps.patch [new file with mode: 0644]
target/linux/hifiveu/patches-5.10/0107-hwmon-da9063_HWMON_driver.patch [new file with mode: 0644]
target/linux/hifiveu/profiles/00-default.mk [new file with mode: 0644]