diff --git a/debian/changelog b/debian/changelog index 8dc81ae..0f598d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/debian/control b/debian/control index a164663..785e4d4 100644 --- a/debian/control +++ b/debian/control @@ -1,28 +1,36 @@ Source: th1520-boot-firmware Section: misc Priority: optional -Maintainer: Han Gao +Maintainer: Han Gao 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 diff --git a/debian/rules b/debian/rules index 4e41969..34350ae 100755 --- a/debian/rules +++ b/debian/rules @@ -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" diff --git a/opensbi/fw_dynamic.bin.h b/opensbi/fw_dynamic.bin.h new file mode 100644 index 0000000..0ac651c Binary files /dev/null and b/opensbi/fw_dynamic.bin.h differ diff --git a/opensbi/fw_dynamic.bin.mainline b/opensbi/fw_dynamic.bin.mainline index 9063173..8f5d109 100644 Binary files a/opensbi/fw_dynamic.bin.mainline and b/opensbi/fw_dynamic.bin.mainline differ