The virt machine -bios option didn't work for h2 loadlinux.  Refactor virt
to use the logic in hex-board which works for loadlinux boots on the machines
which use hex-board.

Fully reviewed series, to be included in upcoming PR.

Changes in v2:
- remove the 0xa0000000 shift for kernel load

v1: 
https://lore.kernel.org/qemu-devel/[email protected]/

Brian Cain (3):
  hw/hexagon: share the Hexagon VM guest boot code
  hw/hexagon/virt: fix firmware boot
  hw/hexagon: fix FDT address and size cells

 include/hw/hexagon/hex-board.h |  36 +++++++
 hw/hexagon/hex-board.c         | 153 ++++++++++++++++++++++++++--
 hw/hexagon/qcom_dsp.c          | 178 +++------------------------------
 hw/hexagon/virt.c              |  68 ++++++++++---
 tests/qtest/boot-serial-test.c |   5 +-
 5 files changed, 253 insertions(+), 187 deletions(-)

-- 
2.34.1

Reply via email to