working: Linux v6.3.5 poweroff via Linux PMIC driver UART console output SPI -> SDCARD I2C -> PMIC 16 GB LPDDR4 memory VSC8541XMV-02 (gigabit ethernet PHY) PCIe x16 Slot M.2 NVMe Slot MSEL: only '1100' has been tested untested: M.2 WiFi/Bluetooth Slot tested bootflow: ZSBL -> coreboot --FDT-> Linuxboot -> uroot --kexec-> ubuntu defconfig used: CONFIG_VENDOR_SIFIVE=y CONFIG_BOARD_SIFIVE_HIFIVE_UNMATCHED=y CONFIG_PAYLOAD_NONE=n CONFIG_PAYLOAD_ELF=y CONFIG_PAYLOAD_FILE="[path-to-linux]/arch/riscv/boot/Image" CONFIG_PAYLOAD_IS_FLAT_BINARY=y CONFIG_PAYLOAD_OPTIONS="-l 0x82000000 -e 0x82000000" CONFIG_COMPRESSED_PAYLOAD_LZMA=y uroot kexec command: kexec -d --cmdline "console=ttySIF0 root=/dev/mmcblk0p1 debug" \ --initrd /mnt/boot/initrd.img-6.5.0-9-generic \ /mnt/boot/vmlinuz-6.5.0-9-generic Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: Ife0afdce89d5a1a1b936c30c8027f1bc191b8c53 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79954 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
17 lines
379 B
Makefile
17 lines
379 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
bootblock-y += romstage.c
|
|
bootblock-y += cbfs_spi.c
|
|
|
|
ramstage-y += cbfs_spi.c
|
|
ramstage-y += fixup_fdt.c
|
|
|
|
DTB=$(obj)/hifive-unmatched.dtb
|
|
DTS=src/mainboard/sifive/hifive-unmatched/hifive-unmatched-a00.dts
|
|
$(DTB): $(DTS)
|
|
dtc -I dts -O dtb -o $(DTB) $(DTS)
|
|
|
|
cbfs-files-y += fallback/DTB
|
|
fallback/DTB-file := $(DTB)
|
|
fallback/DTB-type := raw
|