Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:uefi-bootable-image [2019/09/02 15:00] – [Introduction] jeff | docs:guide-developer:uefi-bootable-image [2021/06/28 13:50] (current) – [Status] replace git commit ID with actual link to the commit fiouz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== OpenWrt on UEFI based x86 systems ====== | ====== OpenWrt on UEFI based x86 systems ====== | ||
| - | <WRAP center round alert 60%> | ||
| - | This information is outdated. There is no such branch, nor has the project accepted any UEFI-boot approach as of August, 2019 | ||
| - | </ | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | < | ||
| UEFI boot has been required for years now, boards that only support UEFI are common, and Intel has stated back in 2017 that " | UEFI boot has been required for years now, boards that only support UEFI are common, and Intel has stated back in 2017 that " | ||
| Line 11: | Line 7: | ||
| https:// | https:// | ||
| - | ((http:// | + | http:// |
| To accommodate this, it's necessary for OpenWrt build system to generate UEFI bootable images. | To accommodate this, it's necessary for OpenWrt build system to generate UEFI bootable images. | ||
| Line 17: | Line 13: | ||
| ===== Status ===== | ===== Status ===== | ||
| - | There are pending commits related to add UEFI bootable | + | As of OpenWrt |
| - | [[https://git.openwrt.org/ | + | |
| ===== Building UEFI bootable OpenWrt image ===== | ===== Building UEFI bootable OpenWrt image ===== | ||
| - | The commits necessary to build uefi bootable | + | To build an EFI-compatible |
| - | < | + | * Run '' |
| - | tools: add libopt host build | + | |
| - | add sgdisk host build | + | |
| - | Generate EFI grub images for x86 platforms | + | |
| - | x86: fix bios mkimage during efi image generation | + | |
| - | </ | + | |
| - | To build the image, checkout jow-staging repository, i.e. | + | * Go to **Target Images** and make sure that the option |
| - | + | ||
| - | <code bash> | + | |
| - | $ git remote add jow-staging https:// | + | |
| - | $ git fetch jow-staging | + | |
| - | $ git checkout -b uefi-capable --track origin/ | + | |
| - | $ git merge jow-staging | + | |
| - | </ | + | |
| - | + | ||
| - | After merging the branch or checking out jow-staging repository, run '' | + | |
| - | + | ||
| - | Go to **Target Images** and make sure that **Build EFI grub images** | + | |
| Select additional packages as necessary and finally save changes and exit menuconfig. | Select additional packages as necessary and finally save changes and exit menuconfig. | ||
| Line 48: | Line 28: | ||
| Run '' | Run '' | ||
| - | The resulting image will be available | + | The resulting image(s) will be available |
| + | |||
| + | Note that these are **disk images**, not partition images, which must be written to a block device directly e.g. ''/ | ||
| ===== UEFI Secure Boot ===== | ===== UEFI Secure Boot ===== | ||