sudo pacman -Ss uefi
This will list all available UEFI firmware packages. Identify the correct package for your device from the list. For example:
edge2-uefi
fydetab-duo-uefi
orangepi-5-uefi
rock-5b-uefi
sudo pacman -S <device-uefi-package>
sudo pacman -S fydetab-duo-uefi
After installation, the firmware image will be located in /usr/share/edk2/<device-name>/
.
The system will provide the specific command to flash the firmware. Use that instead of the general format down below!
sudo dd if=/usr/share/edk2/<device-name>/<device-name>_UEFI_Release_vX.XX.X.img of=/dev/mmcblk0 bs=512 skip=64 seek=64 conv=notrunc
sudo dd if=/usr/share/edk2/<device-name>/<device-name>_UEFI_Release_vX.XX.X.img of=/dev/mmcblk1 bs=512 skip=64 seek=64 conv=notrunc
sudo dd if=/usr/share/edk2/<device-name>/<device-name>_UEFI_Release_vX.XX.X.img of=/dev/mtdblock0
For example, if you are using eMMC storage on a Fydetab Duo, the command would be:
sudo dd if=/usr/share/edk2/fydetab-duo/fydetab-duo_UEFI_Release_v0.12.3.img of=/dev/mmcblk0 bs=512 skip=64 seek=64 conv=notrunc
✅ Done! Your device's UEFI firmware is now updated.