]> git.baikalelectronics.ru Git - uboot.git/commit
qemu: Add a bootmeth for qfw
authorSimon Glass <sjg@chromium.org>
Sat, 28 Jan 2023 22:00:25 +0000 (15:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
commit0a32f57d87a64df19b25b88a07d8ac7f6f9e28ab
tree5e26050314dd2b9a3446ff6ba762caedf38d3825
parent779ba49899946d634e44bd49bbf75517609e1fdb
qemu: Add a bootmeth for qfw

This supports reading a kernel and ramdisk from qfw, then loading it with
either the booti or bootz commands.

For now this uses the existing booti and bootz commands, rather than
trying to call that functionality directly (e.g. do_bootm_states()). It
does not require the HUSH parser though, which helps a little with size.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Makefile
boot/bootflow.c
boot/bootmeth_qfw.c [new file with mode: 0644]