Simon Glass | 83b9be6 | 2022-04-24 23:31:26 -0600 | [diff] [blame] | 1 | U-Boot standard boot methods (bootmeth) |
| 2 | ====================================== |
| 3 | |
| 4 | This provides methods (called bootmeths) for locating bootflows on a boot |
| 5 | device (bootdev). These are normally created as children of the bootstd device. |
| 6 | |
| 7 | Required properties: |
| 8 | |
| 9 | compatible: |
| 10 | "u-boot,distro-syslinux" - distro boot from a block device |
| 11 | "u-boot,distro-pxe" - distro boot from a network device |
| 12 | "u-boot,distro-efi" - EFI boot from an .efi file |
| 13 | "u-boot,efi-bootmgr" - EFI boot using boot manager (bootmgr) |
| 14 | |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | bootstd { |
| 19 | compatible = "u-boot,boot-std"; |
| 20 | |
| 21 | filename-prefixes = "/", "/boot/"; |
| 22 | bootdev-order = "mmc2", "mmc1"; |
| 23 | |
| 24 | syslinux { |
| 25 | compatible = "u-boot,distro-syslinux"; |
| 26 | }; |
| 27 | |
| 28 | efi { |
| 29 | compatible = "u-boot,distro-efi"; |
| 30 | }; |
| 31 | }; |