On 12/16/22 15:57, Bernhard Beschow wrote:
These are some patches which helped me when getting a u-boot image to run on ppce500 machine.
Nice. Did you simply use the qemu-ppce500_defconfig ? or an u-boot old image ? We could update the qemu_ppc_e500mc_defconfig in buildroot to generate the uboot.bin if that worked.
Testing done: - `make check` - `make check-avocado` Bernhard Beschow (6): target/ppc/mmu_common: Log which effective address had no TLB entry found target/ppc/mmu_common: Fix table layout of "info tlb" HMP command hw/ppc/virtex_ml507: Prefer local over global variable hw/ppc/e500: Prefer local variable over qdev_get_machine() hw/ppc/e500: Resolve variable shadowing hw/ppc/e500: Move comment to more appropriate place hw/ppc/e500.c | 10 ++++------ hw/ppc/virtex_ml507.c | 2 +- target/ppc/mmu_common.c | 5 +++-- 3 files changed, 8 insertions(+), 9 deletions(-)
Reviewed-by: Cédric Le Goater <c...@kaod.org> Thanks, C.