Skip to content

Draft: [QEMU][BOOTSCRIPT] add new bootscript to qemu and support virtio boot

Alessandro Pecugi requested to merge ap/bootscript-qemu into scarthgap

This commit adds support for booting QEMU ARM with the new bootscript, and allows specifying the boot interface (mmc/virtio) via BOOTSCRIPT_PARAM.

Specifically:

  • patch u-boot to set default bootcmd and env
  • add ENV_SYS_BOOT_INTERFACE bootscript param, which defaults to mmc, and use it in the bootscript
  • add bootdev variable which, in boards that boot from mmc, is automatically set to mmcdev
  • disable fdt_load2ram (use firmware-provided FDT)

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

Merge request reports

Loading