Skip to content

Microblaze machine models and bootloader refactoring

Peter A. G. Crosthwaite qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5microblaze: factored out common boot codeMakefile.target hw/microblaze_boot.c hw/microblaze_boot.h +2 more+211 -2540 replies
2/5petalogix_s2adsp1800: moved rst logic to rst fnhw/petalogix_s3adsp1800_mmu.c+8 -40 replies
3/5petalogix_s2adsp1800: macro'd magic numbershw/petalogix_s3adsp1800_mmu.c+13 -70 replies
4/5qemu-options.hx: allow -dtb argument for all archsqemu-options.hx+1 -10 replies
5/5microblaze_boot: enabled -dtb argumenthw/microblaze_boot.c+14 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/5] Microblaze machine models and bootloader refactoring

From: "Peter A. G. Crosthwaite" <[email protected]>

Overhauled the microblaze bootloader process. Factored out the common boot code between petalogix_ml605 and petalogix_s3adsp1800 machine models into a dedicated microblaze bootloader (Patch 1). It now organised in much the same way as its handled in arm machine models (arm_boot.c) where the machine model calls load_kernel() after machine initialisation.

Did some general cleanup of s2adsp1800, moved some cpu reset behaviour out of the machine model initialisation (patch 2) and #defined some magic numbers (patch 3).

Hooked up Peter Maydells -dtb argument to the bootloader for dtb loading (patches 4+5).

Peter A. G. Crosthwaite (5):
microblaze: factored out common boot code
petalogix_s2adsp1800: moved rst logic to rst fn
petalogix_s2adsp1800: macro'd magic numbers qemu-options.hx: allow -dtb argument for all archs
microblaze_boot: enabled -dtb argument

 Makefile.target               |    1 +
 hw/microblaze_boot.c          |  177 +++++++++++++++++++++++++++++++++++++++++
 hw/microblaze_boot.h          |   10 +++
 hw/petalogix_ml605_mmu.c      |  144 +++------------------------------
 hw/petalogix_s3adsp1800_mmu.c |  147 +++++-----------------------------
 qemu-options.hx               |    2 +-
 6 files changed, 221 insertions(+), 260 deletions(-)
 create mode 100644 hw/microblaze_boot.c
 create mode 100644 hw/microblaze_boot.h
Signature · 1 line
1.7.5.4