sbi: add soft-h & update to v1.6

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Han Gao <rabenda.cn@gmail.com>
This commit is contained in:
Han Gao
2025-02-17 21:31:07 +08:00
parent 8400b46d37
commit 44ec4e1cc8
5 changed files with 23 additions and 6 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
th1520-boot-firmware (2025.02.17+sdk2.0.2) unstable; urgency=medium
* mainline opensbi commit: 8fdf3013d08ed646c04d2ba4e32e7bcd7aefb9e7
* mainline opensbi-h commit: 67f9046b6b96aee093894eca3907d8cb73021c1e
-- Han Gao <rabenda.cn@gmail.com> Mon, 17 Feb 2025 21:26:33 +0800
th1520-boot-firmware (2024.09.20+sdk2.0.2) unstable; urgency=medium
* Update light_aon_fpga.bin v2.0.2

18
debian/control vendored
View File

@@ -1,28 +1,36 @@
Source: th1520-boot-firmware
Section: misc
Priority: optional
Maintainer: Han Gao <gaohan@iscas.ac.cn>
Maintainer: Han Gao <rabenda.cn@gmail.com>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.6.1
Rules-Requires-Root: no
Package: th1520-boot-firmware
Architecture: riscv64
Depends: th1520-vendor-opensbi | th1520-mainline-opensbi, ${misc:Depends}
Depends: th1520-vendor-opensbi | th1520-mainline-opensbi | th1520-mainline-opensbi-h, ${misc:Depends}
Description: th1520 boot firmware addons of the RevyOS
Package: th1520-vendor-opensbi
Architecture: riscv64
Depends: ${misc:Depends}
Conflicts: th1520-mainline-opensbi
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
Package: th1520-mainline-opensbi
Architecture: riscv64
Conflicts: th1520-vendor-opensbi
Conflicts: th1520-vendor-opensbi,th1520-mainline-opensbi-h
Breaks: th1520-boot-firmware (<< 2024.01.12+sdk1.4.2)
Depends: ${misc:Depends}
Description: th1520 mainline opensbi of the RevyOS
https://github.com/revyos/opensbi/tree/th1520-v1.4
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)
Depends: ${misc:Depends}
Description: th1520 mainline opensbi of the RevyOS
https://github.com/revyos/opensbi/tree/th1520-v1.6-h

4
debian/rules vendored
View File

@@ -4,7 +4,7 @@ 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
%:
dh $@
@@ -16,6 +16,8 @@ override_dh_install:
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
override_dh_clean:
echo "None"

BIN
opensbi/fw_dynamic.bin.h Normal file

Binary file not shown.

Binary file not shown.