Releases: LekKit/patches-misc
Prebuilt RVVM EFI firmware (OpenSBI 1.4, U-Boot 2024.7)
Recommended firmware for RVVM riscv64 (Works under QEMU as well)
HOWTO:
- Use
fw_payload.bin
as a board EFI firmware to boot the next stage from the storage drive, this is recommended for existing OS images like Ubuntu, Fedora, FreeBSD, Haiku, and for images built with archriscv-scriptlet. - Be aware that some images like Ubuntu may require more than default 256M of RAM, otherwise they'll crash. Pass
-m 2G
or the likes to the VM to be sure.
Example usage: rvvm fw_payload.bin -m 2G -i haiku-nightly.image
Also:
- Use
fw_jump.bin
as an SBI bootrom for a custom kernel payload (SBI->Linux, etc) - see https://github.com/LekKit/patches-misc/releases/tag/rvvm-linux-6.8
The fw_payload.bin
EFI firmware is a combination of fw_jump.bin
M-mode bootrom, and u-boot.bin
S-mode firmware
Sources:
- Upstream OpenSBI 1.4: https://github.com/riscv-software-src/opensbi
- U-Boot 2024.7 with NVMe and EFIFB support enabled
Prebuilt RVVM firmware (OpenSBI 1.4, U-Boot 2024.1)
Recommended firmware for RVVM riscv64 (Works under QEMU as well)
HOWTO:
- Use
fw_payload.bin
as a board EFI firmware to boot the next stage from the storage drive, this is recommended for existing OS images like Ubuntu, Fedora, FreeBSD, Haiku, and for images built with archriscv-scriptlet. - Be aware that some images like Ubuntu may require more than default 256M of RAM, otherwise they'll crash. Pass
-m 2G
or the likes to the VM to be sure.
Example usage: rvvm fw_payload.bin -m 2G -i haiku-nightly.image
Also:
- Use
fw_jump.bin
as an SBI bootrom for a custom kernel payload (SBI->Linux, etc) - see https://github.com/LekKit/patches-misc/releases/tag/rvvm-linux-6.8
The fw_payload.bin
EFI firmware is a combination of fw_jump.bin
M-mode bootrom, and u-boot.bin
S-mode firmware
Sources:
- Upstream OpenSBI 1.4: https://github.com/riscv-software-src/opensbi
- U-Boot 2024.1 with NVMe and EFIFB support enabled
Prebuilt RVVM Linux kernel payload (Linux 6.8)
Tiny static kernel that works regardless of the distro and doesn't need a bootloader.
Use this to manually run distributions without using U-Boot, like Buildroot, Arch Linux RISC-V, Debian, etc
HOWTO:
- Use
fw_jump.bin
as a firmware, see https://github.com/LekKit/patches-misc/releases/tag/rvvm-uboot-2023.4 - Use
linux_6.8
as a kernel payload, i.e. add-k linux_6.8
to RVVM args - Put your rootfs onto the storage drive, add
-append "root=/dev/[root dev]"
to RVVM args if your rootfs is not on/dev/nvme0n1
Sources:
- Mainline Linux: https://kernel.org/
- Patches
i2c-hid-hang-fix
,linux-shrink
and configconfig-tiny-6.8
from this repo
Prebuilt RVVM Linux kernel payload (Linux 6.7)
Tiny static kernel that works regardless of the distro and doesn't need a bootloader.
Use this to manually run distributions without using U-Boot, like Buildroot, Arch Linux RISC-V, Debian, etc
HOWTO:
- Use
fw_jump.bin
as a firmware, see https://github.com/LekKit/patches-misc/releases/tag/rvvm-uboot-2023.4 - Use
linux_6.7
as a kernel payload, i.e. add-k linux_6.7
to RVVM args - Put your rootfs onto the storage drive, add
-append "root=/dev/[root dev]"
to RVVM args if your rootfs is not on/dev/nvme0n1
Sources:
- Mainline Linux: https://kernel.org/
- Patch
linux-shrink
andconfig-tiny-6.7
from this repo
Prebuilt RVVM firmware (OpenSBI 1.2, U-Boot 2023.4)
This is a recommended firmware combination for RVVM riscv64 (Works under QEMU as well)
HOWTO:
- Use
fw_jump.bin
as a firmware, also usable for a custom kernel payload (SBI->Linux, etc) - Use
u-boot.bin
as a kernel payload to boot the next stage from the storage drive (SBI->U-Boot->EFI->...), this is recommended for existing OS images like Ubuntu, Fedora, FreeBSD, Haiku
The fw_payload.bin
combines OpenSBI and U-Boot into a single firmware so you can do rvvm fw_payload.bin -i haiku-nightly.img
without extra typing. It may be also flashed onto emulated FW chip in future.
Sources:
- Upstream OpenSBI 1.2: https://github.com/riscv-software-src/opensbi
- U-Boot 2023.4 with NVMe and EFIFB support enabled: https://github.com/u-boot/u-boot/tree/v2023.04
Prebuilt RVVM Linux kernel payload (Linux 6.2)
Tiny static kernel that works regardless of the distro and doesn't need a bootloader.
Use this to manually run distributions without an official U-Boot/EFI image, like Buildroot, Arch Linux RISC-V, Debian, etc
HOWTO:
- Use
fw_jump.bin
as a firmware, see https://github.com/LekKit/patches-misc/releases/tag/rvvm-uboot-2023.4 - Use
linux_6.2
as a kernel payload, i.e. add-k linux_6.2
to RVVM args - Put your rootfs onto the storage drive, add
-append "root=/dev/[root dev]"
to RVVM args if your rootfs is not on/dev/nvme0n1
Sources:
- Mainline Linux: https://kernel.org/
- Patch
linux-shrink
andconfig-tiny-6.2
from this repo