riscv: use generic kernel flavor for Nezha D1 and LicheeRV Dock

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
ubuntu/oracular
Heinrich Schuchardt 3 months ago
parent e69728f173
commit e5977a2e2b

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (24.10.26) UNRELEASED; urgency=medium
* Use generic kernel flavor for Nezha D1 and LicheeRV Dock.
-- Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Fri, 04 Oct 2024 10:30:28 +0200
livecd-rootfs (24.10.25) oracular; urgency=medium livecd-rootfs (24.10.25) oracular; urgency=medium
* Update the model used for TPM FDE installs, yet again. * Update the model used for TPM FDE installs, yet again.

@ -1133,9 +1133,6 @@ case $PROJECT in
riscv64*) riscv64*)
if [ -n "$SUBARCH" ]; then if [ -n "$SUBARCH" ]; then
case "${SUBARCH:-}" in case "${SUBARCH:-}" in
nezha|licheerv)
KERNEL_FLAVOURS=allwinner
;;
visionfive) visionfive)
KERNEL_FLAVOURS=starfive KERNEL_FLAVOURS=starfive
;; ;;

@ -305,6 +305,7 @@ install_grub() {
echo "Reducing initramfs size for ${SUBARCH} board" echo "Reducing initramfs size for ${SUBARCH} board"
mkdir -p mountpoint/etc/initramfs-tools/conf.d/ mkdir -p mountpoint/etc/initramfs-tools/conf.d/
cp ${my_d}/riscv64/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/ cp ${my_d}/riscv64/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/
cat ${my_d}/riscv64/initramfs-tools/allwinner >> mountpoint/etc/initramfs-tools/modules
chroot mountpoint update-initramfs -c -v -k all chroot mountpoint update-initramfs -c -v -k all
echo "Installing U-Boot for ${SUBARCH} board" echo "Installing U-Boot for ${SUBARCH} board"
# flash-kernel is needed to install the dtb for update-grub: it uses the # flash-kernel is needed to install the dtb for update-grub: it uses the

@ -0,0 +1,3 @@
# Required drivers to boot off MMC
mmc-block
sunxi-mmc
Loading…
Cancel
Save