From Fedora Project Wiki

Milk-V Jupiter

Flash U-Boot to the SPI NOR

Configure u-boot

  • There are two dtbs for the Milk-V, k1-x_milkv-jupiter.dtb and m1-x_milkv-jupiter.dtb. Use the corresponding product_name for your hardware:
  • Run the following commands
setenv product_name m1-x_milkv-jupiter
setenv fdt_addr_r 0x31000000
setenv bootcmd 'nvme scan; load nvme 0:2 ${fdt_addr_r} dtb/spacemit/${product_name}.dtb; load nvme 0:1 ${kernel_addr_r} EFI/fedora/shimriscv64.efi; bootefi ${kernel_addr_r} ${fdt_addr_r}'
saveenv
  • Alternatively if you want to boot from sd card you can set the bootcmd like so
setenv bootcmd 'load mmc 0:2 ${fdt_addr_r} dtb/spacemit/${product_name}.dtb; load mmc 0:1 ${kernel_addr_r} EFI/fedora/shimriscv64.efi; bootefi ${kernel_addr_r} ${fdt_addr_r}'

Hardware Note

It is preferable to use the ethernet port furthest from the HDMI port. If the ethernet port closer to HDMI is plugged in u-boot will spend several seconds attempting to TFTP boot before proceeding. This does not happen when using the other interface.

Write Fedora to storage