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 [2018/12/26 04:29] – [Building UEFI bootable OpenWrt image] Use merge instead of cherry-pick alive4ever | 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 2: | Line 2: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | UEFI based systems are becoming more common and it's expected at some time that newer UEFI based system doesn' | ||
| - | To accommodate this, it's necessary | + | UEFI boot has been required |
| - | ===== Status ===== | + | https:// |
| - | There are pending commits related to add UEFI bootable OpenWrt under | + | http://www.uefi.org/sites/default/files/ |
| - | [[https://git.openwrt.org/?p=openwrt/staging/jow.git; | + | |
| - | ===== Building | + | To accommodate this, it's necessary for OpenWrt build system to generate |
| - | The commits necessary to build uefi bootable OpenWrt image are as follows. | + | ===== Status ===== |
| - | <code> | + | As of OpenWrt '' |
| - | tools: add libopt host build | + | |
| - | add sgdisk host build | + | |
| - | Generate | + | |
| - | x86: fix bios mkimage during efi image generation | + | |
| - | </code> | + | |
| - | To build the image, checkout jow-staging repository, i.e. | ||
| - | <code bash> | + | ===== Building UEFI bootable OpenWrt image ===== |
| - | $ 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 '' | + | To build an EFI-compatible OpenWrt image: |
| - | Go to **Target Images** and make sure that **Build EFI grub images** | + | * Run '' |
| + | |||
| + | * Go to **Target Images** and make sure that the option | ||
| 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 39: | 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 ===== | ||