sbi: add debian prebuilt v1.6 & remove vendor 0.9 sbi & update mainline opensbi

* mainline opensbi commit: 140844b3bd4a6f2919ccd2ff5e93c6222a4f71fb
  * mainline opensbi-h commit: 83f3e406cf48a0228c0e0738758d48ccfcbb6ae9

Signed-off-by: Han Gao <rabenda.cn@gmail.com>
This commit is contained in:
Han Gao
2025-05-10 12:59:07 +00:00
parent 44ec4e1cc8
commit 725756411e
10 changed files with 21 additions and 17 deletions

9
debian/changelog vendored
View File

@@ -1,3 +1,12 @@
th1520-boot-firmware (2025.05.10+sdk2.0.2) unstable; urgency=medium
* Add debian prebuilt opensbi
* remove vendor opensbi
* mainline opensbi commit: 140844b3bd4a6f2919ccd2ff5e93c6222a4f71fb
* mainline opensbi-h commit: 83f3e406cf48a0228c0e0738758d48ccfcbb6ae9
-- Han Gao <rabenda.cn@gmail.com> Sat, 10 May 2025 12:57:34 +0000
th1520-boot-firmware (2025.02.17+sdk2.0.2) unstable; urgency=medium
* mainline opensbi commit: 8fdf3013d08ed646c04d2ba4e32e7bcd7aefb9e7

18
debian/control vendored
View File

@@ -8,29 +8,29 @@ Rules-Requires-Root: no
Package: th1520-boot-firmware
Architecture: riscv64
Depends: th1520-vendor-opensbi | th1520-mainline-opensbi | th1520-mainline-opensbi-h, ${misc:Depends}
Depends: th1520-debian-opensbi | th1520-mainline-opensbi | th1520-mainline-opensbi-h, ${misc:Depends}
Description: th1520 boot firmware addons of the RevyOS
Package: th1520-vendor-opensbi
Package: th1520-debian-opensbi
Architecture: riscv64
Depends: ${misc:Depends}
Conflicts: th1520-mainline-opensbi,th1520-mainline-opensbi-h
Breaks: th1520-boot-firmware (<< 2024.01.12+sdk1.4.2)
Description: th1520 vendor opensbi of the RevyOS
https://github.com/revyos/thead-opensbi/tree/lpi4a
Breaks: th1520-boot-firmware (<< 2025.02.17+sdk2.0.2)
Description: th1520 debian opensbi of the RevyOS
https://tracker.debian.org/pkg/opensbi
Package: th1520-mainline-opensbi
Architecture: riscv64
Conflicts: th1520-vendor-opensbi,th1520-mainline-opensbi-h
Breaks: th1520-boot-firmware (<< 2024.01.12+sdk1.4.2)
Conflicts: th1520-debian-opensbi,th1520-mainline-opensbi-h
Breaks: th1520-boot-firmware (<< 2025.02.17+sdk2.0.2)
Depends: ${misc:Depends}
Description: th1520 mainline opensbi of the RevyOS
https://github.com/revyos/opensbi/tree/th1520-v1.6
Package: th1520-mainline-opensbi-h
Architecture: riscv64
Conflicts: th1520-vendor-opensbi,th1520-mainline-opensbi
Breaks: th1520-boot-firmware (<< 2024.01.12+sdk1.4.2)
Conflicts: th1520-debian-opensbi,th1520-mainline-opensbi
Breaks: th1520-boot-firmware (<< 2025.02.17+sdk2.0.2)
Depends: ${misc:Depends}
Description: th1520 mainline opensbi of the RevyOS
https://github.com/revyos/opensbi/tree/th1520-v1.6-h

6
debian/rules vendored
View File

@@ -2,9 +2,9 @@
export DH_VERBOSE = 1
export DEB_BUILD_OPTIONS += nostrip
export BOOT_DESTDIR = debian/th1520-boot-firmware
export VENDOR_DESTDIR = debian/th1520-vendor-opensbi
export MAINLINE_DESTDIR = debian/th1520-mainline-opensbi
export MAINLINE_H_DESTDIR = debian/th1520-mainline-opensbi-h
export DEBIAN_DESTDIR = debian/th1520-debian-opensbi
%:
dh $@
@@ -12,12 +12,12 @@ export MAINLINE_H_DESTDIR = debian/th1520-mainline-opensbi-h
override_dh_install:
mkdir -p $(CURDIR)/$(BOOT_DESTDIR)$(PREFIX)/
cp -avpr $(CURDIR)/addons/* $(CURDIR)/$(BOOT_DESTDIR)$(PREFIX)/
mkdir -p $(CURDIR)/$(VENDOR_DESTDIR)$(PREFIX)/boot
cp -avpr $(CURDIR)/opensbi/fw_dynamic.bin.vendor $(CURDIR)/$(VENDOR_DESTDIR)$(PREFIX)/boot/fw_dynamic.bin
mkdir -p $(CURDIR)/$(MAINLINE_DESTDIR)$(PREFIX)/boot
cp -avpr $(CURDIR)/opensbi/fw_dynamic.bin.mainline $(CURDIR)/$(MAINLINE_DESTDIR)$(PREFIX)/boot/fw_dynamic.bin
mkdir -p $(CURDIR)/$(MAINLINE_H_DESTDIR)$(PREFIX)/boot
cp -avpr $(CURDIR)/opensbi/fw_dynamic.bin.h $(CURDIR)/$(MAINLINE_H_DESTDIR)$(PREFIX)/boot/fw_dynamic.bin
mkdir -p $(CURDIR)/$(DEBIAN_DESTDIR)$(PREFIX)/boot
cp -avpr $(CURDIR)/opensbi/fw_dynamic.bin.debian $(CURDIR)/$(DEBIAN_DESTDIR)$(PREFIX)/boot/fw_dynamic.bin
override_dh_clean:
echo "None"

View File

@@ -1,3 +0,0 @@
boot/light_aon_fpga.bin
boot/light_c906_audio.bin
boot/str.bin

View File

@@ -1 +0,0 @@
boot/fw_dynamic.bin

View File

@@ -1 +0,0 @@
boot/fw_dynamic.bin

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.