summaryrefslogtreecommitdiffstats
path: root/linux-user/xtensa/syscall.tbl
diff options
context:
space:
mode:
authorGreen Wan2020-10-20 05:37:32 +0200
committerAlistair Francis2020-10-22 21:00:50 +0200
commit51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e (patch)
tree04644e91396869bcad6af97d597b611292c8e101 /linux-user/xtensa/syscall.tbl
parenthw/misc/sifive_u_otp: Add write function and write-once protection (diff)
downloadqemu-51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e.tar.gz
qemu-51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e.tar.xz
qemu-51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e.zip
hw/misc/sifive_u_otp: Add backend drive support
Add '-drive' support to OTP device. Allow users to assign a raw file as OTP image. test commands for 16k otp.img filled with zero: $ dd if=/dev/zero of=./otp.img bs=1k count=16 $ ./qemu-system-riscv64 -M sifive_u -m 256M -nographic -bios none \ -kernel ../opensbi/build/platform/sifive/fu540/firmware/fw_payload.elf \ -d guest_errors -drive if=none,format=raw,file=otp.img Signed-off-by: Green Wan <green.wan@sifive.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Tested-by: Bin Meng <bin.meng@windriver.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20201020033732.12921-3-green.wan@sifive.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'linux-user/xtensa/syscall.tbl')
0 files changed, 0 insertions, 0 deletions