diff options
| author | Green Wan <green.wan@sifive.com> | 2020-10-20 11:37:32 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2020-10-22 12:00:50 -0700 |
| commit | 51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e (patch) | |
| tree | 04644e91396869bcad6af97d597b611292c8e101 /scripts/tracetool.py | |
| parent | a54d259157e2575b69e2cf7cf03592c74559cb7e (diff) | |
| download | focaccia-qemu-51b6c1bbc3dd1b139a9e9b021d87bcfd7d82299e.tar.gz focaccia-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 'scripts/tracetool.py')
0 files changed, 0 insertions, 0 deletions