Skip to content

Releases: LekKit/patches-misc

Prebuilt RVVM EFI firmware (OpenSBI 1.4, U-Boot 2024.7)

07 Oct 14:00
456ff00
Compare
Choose a tag to compare

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:

The fw_payload.bin EFI firmware is a combination of fw_jump.bin M-mode bootrom, and u-boot.bin S-mode firmware

Sources:

Prebuilt RVVM firmware (OpenSBI 1.4, U-Boot 2024.1)

18 Mar 13:40
d1c401b
Compare
Choose a tag to compare

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:

The fw_payload.bin EFI firmware is a combination of fw_jump.bin M-mode bootrom, and u-boot.bin S-mode firmware

Sources:

Prebuilt RVVM Linux kernel payload (Linux 6.8)

18 Mar 11:53
3bbaeb1
Compare
Choose a tag to compare

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:

Sources:

  • Mainline Linux: https://kernel.org/
  • Patches i2c-hid-hang-fix, linux-shrink and config config-tiny-6.8 from this repo

Prebuilt RVVM Linux kernel payload (Linux 6.7)

08 Mar 09:21
300d842
Compare
Choose a tag to compare

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:

Sources:

Prebuilt RVVM firmware (OpenSBI 1.2, U-Boot 2023.4)

11 Apr 09:31
fc64fb8
Compare
Choose a tag to compare

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:

Prebuilt RVVM Linux kernel payload (Linux 6.2)

11 Apr 09:45
fc64fb8
Compare
Choose a tag to compare

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:

Sources: