Add FDT payload to kernel payload variant

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-12-10 14:32:33 +02:00
parent 272ae38013
commit cc0b4db6df
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Name: opensbi-unstable
# The last part is short hash
# Format: <TAG>.<NUMBER_OF_COMMITS_AFTER_TAG>.<YEAR>.<MONTH>.<DAY>.<SHORT_COMMIT>
Version: v0.5.0.2019.12.05.813f7f4
Release: 7%{?dist}
Release: 8%{?dist}
Summary: RISC-V Open Source Supervisor Binary Interface
License: BSD
@ -109,6 +109,9 @@ echo "Payload: $latestKernel"
cp "$latestKernel" Image.gz
gunzip Image.gz
dtbFile=$(echo /boot/dtb-*/sifive/hifive-unleashed-a00.dtb)
file $dtbFile
make PLATFORM=sifive/fu540 FW_OPTIONS=0x2 FU540_ENABLED_HART_MASK=0x02 FW_PAYLOAD_FDT_PATH="$dtbFile" FW_PAYLOAD_PATH="$PWD/Image"
#make docs