With the combination of using dracut and systemd-boot from plucky-proposed I get two initrds copied to the EFI partition:
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic
..and both of them enabled in the config file
root@visionfive2~# cat /efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf
# Boot Loader Specification type#1 entry
# File created by /usr/lib/kernel/install.d/90-loaderentry.install (systemd 257.3-1ubuntu3)
title Ubuntu Plucky Puffin (development branch)
version 6.14.0-5-generic
machine-id 2504a9c37a434fc28843779e4d0b34eb
sort-key ubuntu
options earlycon console=ttyS0,115200n8 rootwait root=/dev/nvme0n1 rootfstype=btrfs ro rootflags=ssd,subvol=/plucky systemd.machine_id=2504a9c37a434fc28843779e4d0b34eb
linux /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
devicetree /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
initrd /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
initrd /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic
Read more here: Source link