diff options
author | Andrei Cherechesu | 2022-07-27 13:14:06 -0700 |
---|---|---|
committer | Stefano Stabellini | 2022-07-27 13:14:06 -0700 |
commit | 9136d01782341841796e3bb2b335dea752dc1863 (patch) | |
tree | 062dd7f7d5739eefb239d84b6b891affb6310c77 /README.md | |
parent | f6199342722c64a283d006b473b43918e93b4119 (diff) |
If the "BOOT_CMD" variable is set to "none" inside the config
file, the boot command (i.e. "booti") will not by added to the
generated script, to allow the user to customize the u-boot env
or the device-tree after executing the script commands and before
actually booting.
Added commands to store the addresses where the Xen image and
device-tree file are loaded, in 'host_kernel_addr' and 'host_fdt_addr'
variables, if BOOTCMD = "none".
The `booti` command can then be executed as part of the 'bootcmd' variable
in u-boot, which should contain:
1. fetching the generated u-boot script
2. executing the script
3. running `booti ${host_kernel_addr} - ${host_fdt_addr}` command
Signed-off-by: Andrei Cherechesu <andrei.cherechesu@nxp.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -81,7 +81,10 @@ Where: - BOOT_CMD specifies the u-boot command used to boot the binaries. By default, it is 'booti'. The acceptable values are 'booti', 'bootm' - and 'bootefi'. + and 'bootefi' and 'none'. If the value is 'none', the BOOT_CMD is not + added to the boot script, and the addresses for the Xen binary and the + DTB are stored in 'host_kernel_addr' and 'host_fdt_addr' u-boot + env variables respectively, to be used manually when booting. - DEVICE_TREE specifies the DTB file to load. |