Skip to content

Commit

Permalink
v8.23
Browse files Browse the repository at this point in the history
- ROCK 5B | Added an option in dietpi-software "Advanced Option" to flash the SPI bootloader, which enables NVMe boot for DietPi images.
  • Loading branch information
MichaIng committed Oct 2, 2023
1 parent 406ecfa commit 81121d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ v8.23
(2023-10-21)

Enhancements:
- ROCK 5B | Added an option in dietpi-software "Advanced Option" to flash the SPI bootloader, which enables NVMe boot for DietPi images.
- DietPi-Software | Firefox: Enabled the software option for RISC-V, since Debian provides packages now. But do not expect good performance, as GPU-acceleration is missing.

Bug fixes:
Expand Down
4 changes: 2 additions & 2 deletions dietpi/dietpi-config
Original file line number Diff line number Diff line change
Expand Up @@ -1068,8 +1068,8 @@ Re-enabling HDMI requires a reboot. If you need emergency HDMI output, edit the
G_WHIP_MENU_ARRAY+=('Update RPi4 EEPROM firmware' ': Install rpi-eeprom APT package')
fi

# Orange Pi 5 (Plus): https://dietpi.com/forum/t/orange-pi-5-boot-from-nvme/16457
elif [[ $G_HW_MODEL == 8[02] ]]
# ROCK 5B and Orange Pi 5 (Plus): https://dietpi.com/forum/t/orange-pi-5-boot-from-nvme/16457
elif [[ $G_HW_MODEL =~ ^(78|80|82)$ ]]
then
[[ -b '/dev/mtdblock0' && -f '/usr/lib/u-boot/platform_install.sh' ]] && G_WHIP_MENU_ARRAY+=('Update SPI bootloader' ': Flash current U-Boot to /dev/mtdblock0')

Expand Down

3 comments on commit 81121d4

@isarrider
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, as I already flashed a bootloader some time ago that can do NVMe, but sadly I cant remember where I got it from (It was for sure not from Radxa)...
DId you take a look at this btw: https://github.com/edk2-porting/edk2-rk3588

@MichaIng
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure there are other bootloaders which support NVMe, but the one from Armbian we ship does as well. So it makes sense to allow flashing that one, which is already installed anyway.

Due to lack of time, and since I do not see any benefits, we won't look into UEFI for ARM SBCs for now. Also note that they still use U-Boot as SPL, so it is U-Boot which then looks for and in case boots the UEFI as next bootloader stage. However, regular (mainline) U-Boot is well established, supported and allows a lot of well known configuration ways, notably boot scripts and extlinux, and can even start EFI binaries from within the U-Boot shell, if for some reason this is really wanted.

@isarrider
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, thx for the detailed answer...

Please sign in to comment.