From 99651935bc0e124b78736c646bbdd6907cbf949b Mon Sep 17 00:00:00 2001 From: MichaIng Date: Sat, 18 Nov 2023 23:31:58 +0100 Subject: [PATCH] [DEB] Adjust packaging for Star64 Signed-off-by: MichaIng --- .../DEBIAN/conffiles | 0 .../DEBIAN/control | 4 ++-- .../DEBIAN/postinst | 0 {linux-image-visionfive2 => linux-image-star64}/DEBIAN/postrm | 0 .../DEBIAN/preinst | 0 {linux-image-visionfive2 => linux-image-star64}/DEBIAN/prerm | 0 .../boot/extlinux/extlinux.conf | 2 +- .../etc/fw_env.config | 0 .../etc/u-boot-initial-env | 2 +- 9 files changed, 4 insertions(+), 4 deletions(-) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/conffiles (100%) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/control (77%) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/postinst (100%) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/postrm (100%) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/preinst (100%) rename {linux-image-visionfive2 => linux-image-star64}/DEBIAN/prerm (100%) rename {linux-image-visionfive2 => linux-image-star64}/boot/extlinux/extlinux.conf (70%) rename {linux-image-visionfive2 => linux-image-star64}/etc/fw_env.config (100%) rename {linux-image-visionfive2 => linux-image-star64}/etc/u-boot-initial-env (99%) diff --git a/linux-image-visionfive2/DEBIAN/conffiles b/linux-image-star64/DEBIAN/conffiles similarity index 100% rename from linux-image-visionfive2/DEBIAN/conffiles rename to linux-image-star64/DEBIAN/conffiles diff --git a/linux-image-visionfive2/DEBIAN/control b/linux-image-star64/DEBIAN/control similarity index 77% rename from linux-image-visionfive2/DEBIAN/control rename to linux-image-star64/DEBIAN/control index efbd2d45e3b53..e6c9794a950c5 100644 --- a/linux-image-visionfive2/DEBIAN/control +++ b/linux-image-star64/DEBIAN/control @@ -1,4 +1,4 @@ -Package: linux-image-visionfive2 +Package: linux-image-star64 Version: VERSION Architecture: riscv64 Maintainer: MichaIng @@ -10,4 +10,4 @@ Priority: optional Homepage: https://github.com/MichaIng/linux Vcs-Git: https://github.com/MichaIng/linux.git Vcs-Browser: https://github.com/MichaIng/linux -Description: Linux kernel for RISC-V StarFive VisionFive 2 +Description: Linux kernel for RISC-V PINE64 Star64 diff --git a/linux-image-visionfive2/DEBIAN/postinst b/linux-image-star64/DEBIAN/postinst similarity index 100% rename from linux-image-visionfive2/DEBIAN/postinst rename to linux-image-star64/DEBIAN/postinst diff --git a/linux-image-visionfive2/DEBIAN/postrm b/linux-image-star64/DEBIAN/postrm similarity index 100% rename from linux-image-visionfive2/DEBIAN/postrm rename to linux-image-star64/DEBIAN/postrm diff --git a/linux-image-visionfive2/DEBIAN/preinst b/linux-image-star64/DEBIAN/preinst similarity index 100% rename from linux-image-visionfive2/DEBIAN/preinst rename to linux-image-star64/DEBIAN/preinst diff --git a/linux-image-visionfive2/DEBIAN/prerm b/linux-image-star64/DEBIAN/prerm similarity index 100% rename from linux-image-visionfive2/DEBIAN/prerm rename to linux-image-star64/DEBIAN/prerm diff --git a/linux-image-visionfive2/boot/extlinux/extlinux.conf b/linux-image-star64/boot/extlinux/extlinux.conf similarity index 70% rename from linux-image-visionfive2/boot/extlinux/extlinux.conf rename to linux-image-star64/boot/extlinux/extlinux.conf index 76803242bd0ac..c8bf96c0c4a99 100644 --- a/linux-image-visionfive2/boot/extlinux/extlinux.conf +++ b/linux-image-star64/boot/extlinux/extlinux.conf @@ -1,4 +1,4 @@ label DietPi linux /boot/vmlinuz-VERSION -fdt /usr/lib/linux-image-visionfive2/starfive/jh7110-visionfive-v2.dtb +fdt /usr/lib/linux-image-visionfive2/starfive/jh7110-pine64-star64.dtb append root=/dev/mmcblk1p1 rootfstype=ext4 rootwait earlycon=sbi console=ttyS0,115200 console=tty1 consoleblank=0 net.ifnames=0 diff --git a/linux-image-visionfive2/etc/fw_env.config b/linux-image-star64/etc/fw_env.config similarity index 100% rename from linux-image-visionfive2/etc/fw_env.config rename to linux-image-star64/etc/fw_env.config diff --git a/linux-image-visionfive2/etc/u-boot-initial-env b/linux-image-star64/etc/u-boot-initial-env similarity index 99% rename from linux-image-visionfive2/etc/u-boot-initial-env rename to linux-image-star64/etc/u-boot-initial-env index 1624db5ce70ab..d42ee4c26f861 100644 --- a/linux-image-visionfive2/etc/u-boot-initial-env +++ b/linux-image-star64/etc/u-boot-initial-env @@ -13,7 +13,7 @@ boot_prefixes=/ /boot/ bootenv=uEnv.txt boot_scripts=boot.scr.uimg boot.scr efi_dtb_prefixes=/ /dtb/ /dtb/current/ -fdtfile=starfive/jh7110-visionfive-v2.dtb +fdtfile=starfive/jh7110-pine64-star64.dtb ipaddr=192.168.120.230 preboot=run chipa_set_uboot