Green Wan
51b6c1bbc3
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>
2020-10-22 12:00:50 -07:00
..
2020-10-18 16:21:42 +01:00
2020-09-14 14:23:19 +01:00
2020-03-12 16:27:33 +00:00
2020-03-12 16:27:33 +00:00
2020-03-30 13:18:58 +01:00
2020-03-12 16:27:33 +00:00
2020-03-12 16:27:33 +00:00
2020-09-18 14:12:32 -04:00
2020-01-24 20:59:15 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:53 +02:00
2020-09-18 09:04:36 +02:00
2020-09-01 14:21:51 +02:00
2019-08-16 13:31:52 +02:00
2020-08-27 14:04:55 -04:00
2020-07-11 11:02:05 +02:00
2020-07-10 15:18:08 +02:00
2020-06-05 17:23:09 +01:00
2020-07-10 15:18:08 +02:00
2019-08-16 13:31:52 +02:00
2019-10-25 13:09:27 +01:00
2019-08-16 13:37:36 +02:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-23 16:07:44 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-06-09 09:21:10 +02:00
2019-08-16 13:31:52 +02:00
2019-08-21 13:24:01 +02:00
2020-06-16 10:32:28 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:37:36 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-09-02 07:29:25 -04:00
2020-01-17 14:27:16 +00:00
2020-02-21 16:07:00 +00:00
2020-09-22 16:45:16 -04:00
2020-01-24 20:59:15 +01:00
2020-09-09 09:27:09 -04:00
2020-09-09 15:54:19 -07:00
2020-09-02 07:29:25 -04:00
2020-07-03 16:59:45 +01:00
2020-09-14 14:24:58 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-01-24 20:59:15 +01:00
2020-10-09 17:27:55 +01:00
2020-01-24 20:59:15 +01:00
2020-09-02 07:29:25 -04:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-09-18 14:12:32 -04:00
2020-09-14 14:24:58 +01:00
2020-09-14 14:24:15 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-03-16 22:07:42 +01:00
2019-08-16 13:31:52 +02:00
2018-01-22 09:46:18 +01:00
2020-09-18 14:12:32 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-09 09:27:09 -04:00
2020-09-01 14:01:12 +01:00
2020-09-18 14:12:32 -04:00
2020-09-09 15:54:19 -07:00
2020-09-09 15:54:19 -07:00
2020-10-22 12:00:50 -07:00
2020-09-09 15:54:19 -07:00
2020-09-18 14:12:32 -04:00
2019-06-12 13:18:33 +02:00
2020-01-17 14:09:29 +00:00
2020-01-23 15:34:04 +00:00
2020-07-10 15:18:08 +02:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-14 14:24:58 +01:00
2020-08-21 06:18:24 -04:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-08-28 10:02:46 +01:00
2019-10-15 18:18:08 -03:00
2020-09-18 14:12:32 -04:00
2019-08-16 13:31:53 +02:00