]> git.proxmox.com Git - mirror_qemu.git/commit
RISC-V: Minimal QEMU 2.12 fix for sifive_u machine
authorMichael Clark <mjc@sifive.com>
Wed, 9 May 2018 09:06:40 +0000 (21:06 +1200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 18 Jul 2018 15:32:06 +0000 (10:32 -0500)
commit4a67f4a9536582e066639387b6610f0b98b195c8
treeeac1196c376fcdce3faf590810ec85b5dcd76b26
parent9363c3482544aedb65b159a6463eea8bf4024665
RISC-V: Minimal QEMU 2.12 fix for sifive_u machine

The 'sifive_u' board has a bug where the ROM is
created as RAM at the wrong address and marked
readonly. The bug renders the board unusable.
This is a minimal fix and allows booting Linux.

5aec3247c190f10654250203a1742490ae7343a2
"RISC-V: Mark ROM read-only after copying in code"
contains a comprehensive fix using the ROM APIs
memory_region_init_rom and rom_add_blob_fixed_as
which could be backported.

Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Alistair Francis <Alistair.Francis@wdc.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/riscv/sifive_u.c