mirror of
https://github.com/revyos/th1520-boot-firmware.git
synced 2026-06-21 09:02:23 +02:00
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:
9
debian/changelog
vendored
9
debian/changelog
vendored
@@ -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
18
debian/control
vendored
@@ -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
6
debian/rules
vendored
@@ -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"
|
||||
|
||||
3
debian/th1520-boot-firmware.install
vendored
3
debian/th1520-boot-firmware.install
vendored
@@ -1,3 +0,0 @@
|
||||
boot/light_aon_fpga.bin
|
||||
boot/light_c906_audio.bin
|
||||
boot/str.bin
|
||||
1
debian/th1520-mainline-opensbi.install
vendored
1
debian/th1520-mainline-opensbi.install
vendored
@@ -1 +0,0 @@
|
||||
boot/fw_dynamic.bin
|
||||
1
debian/th1520-vendor-opensbi.install
vendored
1
debian/th1520-vendor-opensbi.install
vendored
@@ -1 +0,0 @@
|
||||
boot/fw_dynamic.bin
|
||||
BIN
opensbi/fw_dynamic.bin.debian
Normal file
BIN
opensbi/fw_dynamic.bin.debian
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user