-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Earlgrey emulation based on qemu 8.0.2 #4
Initial Earlgrey emulation based on qemu 8.0.2 #4
Commits on Jun 22, 2023
-
FROMGIT: target/riscv: Update pmp_get_tlb_size()
PMP entries before (including) the matched PMP entry may only cover partial of the TLB page, and this may split the page into regions with different permissions. Such as for PMP0 (0x80000008~0x8000000F, R) and PMP1 (0x80000000~ 0x80000FFF, RWX), write access to 0x80000000 will match PMP1. However we cannot cache the translation result in the TLB since this will make the write access to 0x80000008 bypass the check of PMP0. So we should check all of them instead of the matched PMP entry in pmp_get_tlb_size() and set the tlb_size to 1 in this case. Set tlb_size to TARGET_PAGE_SIZE if PMP is not support or there is no PMP rules. Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn> Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20230517091519.34439-2-liweiwei@iscas.ac.cn> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> (cherry picked from commit dc7b599 https://github.com/alistair23/qemu.git riscv-to-apply.next)
Configuration menu - View commit details
-
Copy full SHA for 73299b0 - Browse repository at this point
Copy the full SHA 73299b0View commit details -
[ot] docs/devel: fix resettable API documentation function name
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ce52526 - Browse repository at this point
Copy the full SHA ce52526View commit details -
[ot] net: fix warning on MacOS platforms
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for b8e227b - Browse repository at this point
Copy the full SHA b8e227bView commit details -
[ot] ui: fix warning on MacOS platforms
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f2b40bc - Browse repository at this point
Copy the full SHA f2b40bcView commit details -
[ot] meson.build: fix objc handling
when `--without-default-features` is used and `--enable-cocoa` is not, configure script fails as meson does not search for objc compiler but later attempts to report objc information. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 9c2901a - Browse repository at this point
Copy the full SHA 9c2901aView commit details -
[ot] target/riscv: fix dscratch debug CSRs definitions
There are two dscratch registers in current specifications (0.13.2 and 1.0.0) Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7919489 - Browse repository at this point
Copy the full SHA 7919489View commit details -
[ot] disas: fix decode of dscratch CSRs
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for d7758e9 - Browse repository at this point
Copy the full SHA d7758e9View commit details -
[ot] disas: decode tinfo trigger CSR
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for b4a56ff - Browse repository at this point
Copy the full SHA b4a56ffView commit details -
[ot] disas: fix invalid RISC-V pmpcfg CSR definitions
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 2566290 - Browse repository at this point
Copy the full SHA 2566290View commit details -
[ot] target/riscv: non-standard interrupts are valid without H extens…
…ion. From RISC-V Privileged Architecture, 3.1.9. Machine Interrupt Registers (mip and mie) "Bits 15:0 are allocated to standard interrupt causes only, while bits 16 and above are designated for platform or custom use." Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 789133e - Browse repository at this point
Copy the full SHA 789133eView commit details -
[ot] target/riscv: do not handle semi hosting as a first-class citizen
semihosting should only be handled as an exception, not as an interrupt Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 43405fb - Browse repository at this point
Copy the full SHA 43405fbView commit details -
[ot] target/riscv: make mtvec a platform definition
from riscv-privileged / 3.1.7 MTVEC Base-Address Register: "The mtvec register must always be implemented, but can contain a read-only value." i.e. there should be a way to configure mtvec w/o relying on a CSR write instruction. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for eb5af22 - Browse repository at this point
Copy the full SHA eb5af22View commit details -
[ot] target/riscv: get_ticks should not use time conversion
Warning: this change impacts all hpmcounters: mcycle, minstret, ... Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 53d3b0f - Browse repository at this point
Copy the full SHA 53d3b0fView commit details -
[ot] exec: poison RISC-V target-specific definitions
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for dbab5c4 - Browse repository at this point
Copy the full SHA dbab5c4View commit details -
[ot] hw/intc: sifive_plic: fix handling of pending interrupts
Fix issue when enabling an already pending interrupt: the interrupt would not be triggered properly. Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 373ee46 - Browse repository at this point
Copy the full SHA 373ee46View commit details
Commits on Jun 26, 2023
-
[ot] target/riscv: remove useless check in pmp_is_locked
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f4abf86 - Browse repository at this point
Copy the full SHA f4abf86View commit details -
[ot] target/riscv: move ePMP operation conversion into a function
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 57209c6 - Browse repository at this point
Copy the full SHA 57209c6View commit details -
[ot] target/riscv: fix ePMP access control to pmpaddr/pmpcfg
Fix several issues with ePMP checks on writes to pmpaddr/pmpcfg. For pmpaddr: Rule Locking Bypass (mseccfg.RLB) was not implemented for writes to locked entries/rules. For pmpcfg: with Machine Mode Lockdown (mseccfg.MML) set (and RLB not set), writes to pmpcfg would be allowed for the wrong cases of ePMP truth table. The existing code restricts writes like so: - L=1, X=1: cases 8, 10, 12, 14 - L=0, RWX!=WX: cases 0-2, 4-6 From the ePMP specification: "Adding a rule with executable privileges that either is M-mode-only or a locked Shared-Region is not possible (...)" This description matches cases 9-11, 13 of the truth table. This commit implements the check by using pmp_get_epmp_operation to convert between PMP configuration and ePMP truth table cases. Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 9a70d68 - Browse repository at this point
Copy the full SHA 9a70d68View commit details -
[ot] target/riscv: add basic support for MSECCFGH CSR
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 2eb8847 - Browse repository at this point
Copy the full SHA 2eb8847View commit details -
[ot] target/riscv: add support for impl-defined initial PMP config
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for a050fce - Browse repository at this point
Copy the full SHA a050fceView commit details -
[ot] target/riscv: add experimental Zbr extension
Although Zbr extension once part of bitmanip specification up to v0.94 as not been ratified and even entirely removed from the final v1.0 specification, it is nevertheless used by the lowrisc-ibex core as an optional ISA, which is enabled in the OpenTitan project. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 79a937a - Browse repository at this point
Copy the full SHA 79a937aView commit details -
[ot] disas: add Zbr instruction disassembling
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c27a36c - Browse repository at this point
Copy the full SHA c27a36cView commit details -
[ot] target/riscv: rename ibex hart as lowrisc-ibex
Follow vendor-device syntax used with other RISCV cores Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for bf3d4fb - Browse repository at this point
Copy the full SHA bf3d4fbView commit details -
[ot] target/riscv: update lowrisc-ibex core initialization
Define a generic version of lowrisc-ibex core that can be used in several machines: - leave MISA empty so that generic properties can be defined for this core - remove all arbitrary default properties but ISA I,C,U which are mandatory for ibex - define default mtvec which is only support vectored mode - update privilege version (1.12) according to the Ibex documentation - define ibex architecture identifier Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for d035ce7 - Browse repository at this point
Copy the full SHA d035ce7View commit details -
[ot] hw/riscv: update legacy OpenTitan machine for generic Ibex core
- remove hart array (mostly useless, its definition is incoherent and prevent from applying properties to CPU cores) - remove kernel filename option, as it doubles up with firmware option Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 343b018 - Browse repository at this point
Copy the full SHA 343b018View commit details -
[ot] hw/char: fix Ibex UART device definition
Use a separate Kconfig symbol for Ibex UART device: having an Ibex CPU does not imply usage of this UART implementation. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7a57aa7 - Browse repository at this point
Copy the full SHA 7a57aa7View commit details -
[ot] hw/timer: fix Ibex Timer device definition
Use a separate Kconfig symbol for Ibex Timer device: having an Ibex CPU does not imply usage of this Timer implementation. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 79adb5b - Browse repository at this point
Copy the full SHA 79adb5bView commit details -
[ot] hw/ssi: fix Ibex SPI Host device definition
Use a separate Kconfig symbol for Ibex SPI Host device: having an Ibex CPU does not imply usage of this SPI Host implementation. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c0edc63 - Browse repository at this point
Copy the full SHA c0edc63View commit details -
[ot] configs: do not build legacy Opentitan machine to avoid confusion
Legacy OpenTitan machine devices are no longer compatible with current OpenTitan HW. opentitan machine name is too generic, ot-earlgrey implements the standalone version for OpenTitan based on CW310 FPGA hardware description. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 0d09c5f - Browse repository at this point
Copy the full SHA 0d09c5fView commit details -
[ot] meson: update to 0.63 (Rust support)
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8e89e55 - Browse repository at this point
Copy the full SHA 8e89e55View commit details -
[ot] monitor: add general RISC-V registers
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 965f8ca - Browse repository at this point
Copy the full SHA 965f8caView commit details -
[ot] subprojects: add libtomcrypt
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 30d7eec - Browse repository at this point
Copy the full SHA 30d7eecView commit details -
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 9670ce4 - Browse repository at this point
Copy the full SHA 9670ce4View commit details -
[ot] hw/ssi: let SSI bus be a public type definition
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7ac5c3f - Browse repository at this point
Copy the full SHA 7ac5c3fView commit details -
[ot] hw/intc: IRQ numbers should be sanity-checked
As the static function is a callback, it should be considered as a public function whose arguments should be sanity-checked. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 5eed4d5 - Browse repository at this point
Copy the full SHA 5eed4d5View commit details -
[ot] hw/riscv: add helper for Ibex platforms
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 96b67d3 - Browse repository at this point
Copy the full SHA 96b67d3View commit details -
[ot] hw/riscv: add helper function to retrieve current PC
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 28409c0 - Browse repository at this point
Copy the full SHA 28409c0View commit details -
[ot] hw/riscv: add helper function to log the guest CPU registers
(for debug only) Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ec421a6 - Browse repository at this point
Copy the full SHA ec421a6View commit details -
[ot] hw/loader: add a new function to only load symbols from ELF
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for e0738eb - Browse repository at this point
Copy the full SHA e0738ebView commit details -
[ot] hw/riscv: add an IRQ wrapper
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 758c931 - Browse repository at this point
Copy the full SHA 758c931View commit details -
[ot] hw/riscv: add a monitor helper function to track CPU PC
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 3647188 - Browse repository at this point
Copy the full SHA 3647188View commit details -
[ot] hw/core: import rust_demangler feature from GNU libiberty
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 490fd8c - Browse repository at this point
Copy the full SHA 490fd8cView commit details -
[ot] hw/riscv: demangle RUST ELF symbols
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8b23d68 - Browse repository at this point
Copy the full SHA 8b23d68View commit details -
[ot] target/riscv: implement custom LowRisc Ibex CSRs
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 21551e3 - Browse repository at this point
Copy the full SHA 21551e3View commit details -
[ot] target/riscv: add custom mtvec CSR management
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ecc603a - Browse repository at this point
Copy the full SHA ecc603aView commit details -
[ot] hw/riscv: add basic LowRISC IbexDemo machine
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 4c7c0f2 - Browse repository at this point
Copy the full SHA 4c7c0f2View commit details -
[ot] hw/riscv: ibexdemo: add PWM dummy device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for bf9273c - Browse repository at this point
Copy the full SHA bf9273cView commit details -
[ot] hw/ibexdemo: ibexdemo_uart: add IbexDemo UART implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 44fe60c - Browse repository at this point
Copy the full SHA 44fe60cView commit details -
[ot] util: fifo8: add some functions
Add two functions: - fifo8_peek_buf: same as fifo8_pop_buf but does not consume data from the FIFO - fifo8_consume_all: only consume data bytes from the FIFO Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c23319b - Browse repository at this point
Copy the full SHA c23319bView commit details -
[ot] hw/riscv: ibexdemo: add UART device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8f61d77 - Browse repository at this point
Copy the full SHA 8f61d77View commit details -
[ot] hw/ibexdemo: ibexdemo_timer: add IbexDemo Timer implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 728fd9a - Browse repository at this point
Copy the full SHA 728fd9aView commit details -
[ot] hw/riscv: ibexdemo: add Timer device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 6159492 - Browse repository at this point
Copy the full SHA 6159492View commit details -
[ot] hw/ibexdemo: ibexdemo_spi: add IbexDemo SPI host implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 419f62e - Browse repository at this point
Copy the full SHA 419f62eView commit details -
[ot] hw/riscv: ibexdemo: add SPI host device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 3fc5320 - Browse repository at this point
Copy the full SHA 3fc5320View commit details -
[ot] hw/ibexdemo: ibexdemo_gpio: add IbexDemo GPIO implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 90a9a6e - Browse repository at this point
Copy the full SHA 90a9a6eView commit details -
[ot] hw/riscv: ibexdemo: add GPIO device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 796538a - Browse repository at this point
Copy the full SHA 796538aView commit details -
[ot] hw/ibexdemo: ibexdemo_simctrl: add IbexDemo Sim controller imple…
…mentation Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 237ed93 - Browse repository at this point
Copy the full SHA 237ed93View commit details -
[ot] hw/riscv: ibexdemo: add Sim controller device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 554a06a - Browse repository at this point
Copy the full SHA 554a06aView commit details -
[ot] hw/display: st7735: add ST7735 display controller implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 241920c - Browse repository at this point
Copy the full SHA 241920cView commit details -
[ot] hw/riscv: ibexdemo: add ST7735 device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ee9209f - Browse repository at this point
Copy the full SHA ee9209fView commit details -
[ot] hw/riscv: add basic OpenTitan EarlGrey machine
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ef7883d - Browse repository at this point
Copy the full SHA ef7883dView commit details -
[ot] hw/opentitan: document which OpenTitan version is emulated
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 95e6541 - Browse repository at this point
Copy the full SHA 95e6541View commit details
Commits on Jul 5, 2023
-
[ot] scripts/opentitan: add a script to check reg defs discrepancies
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 90006a0 - Browse repository at this point
Copy the full SHA 90006a0View commit details -
[ot] scripts/opentitan: new simple script to cross-check dev registers
This script extract io_read/write information from a QEMU log script and compare the device register values against the HW reset values and guest SW modified ones. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for e2960e9 - Browse repository at this point
Copy the full SHA e2960e9View commit details -
[ot] hw/riscv: ot_earlgrey: add HW PMP configuration
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f3766fc - Browse repository at this point
Copy the full SHA f3766fcView commit details -
[ot] hw/riscv: ot_earlgrey: add property no_epmp_cfg
Add property no_pmp_cfg on EarlGrey machine to disable default ePMP configuration. Usage: qemu-system-riscv32 -M ot-earlgrey,no-epmp-cfg=true [...] Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7dcb2c8 - Browse repository at this point
Copy the full SHA 7dcb2c8View commit details -
[ot] hw/opentitan: add OpenTitan shadow register helpers
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 1da0d43 - Browse repository at this point
Copy the full SHA 1da0d43View commit details -
[ot] hw/opentitan: ot_common: add multibit boolean values
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for a212895 - Browse repository at this point
Copy the full SHA a212895View commit details -
[ot] hw/opentitan: add a 32-bit FIFO implementation
pre-existing 32-bit FIFO implementation uses a 8-bit backend Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for b6afe2a - Browse repository at this point
Copy the full SHA b6afe2aView commit details -
[ot] hw/opentitan: add Opentitan Alert handler device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7cbdc20 - Browse repository at this point
Copy the full SHA 7cbdc20View commit details -
[ot] hw/riscv: ot_earlgrey: add Alert handler device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for fa900d3 - Browse repository at this point
Copy the full SHA fa900d3View commit details -
[ot] hw/opentitan: add OpenTitan OTP implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 49e2791 - Browse repository at this point
Copy the full SHA 49e2791View commit details -
[ot] scripts/opentitan: add a new script to manage OTP content
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for ddf380f - Browse repository at this point
Copy the full SHA ddf380fView commit details -
[ot] hw/riscv: ot_earlgrey: add OTP controller device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 4d2afc0 - Browse repository at this point
Copy the full SHA 4d2afc0View commit details -
[ot] hw/opentitan: ot_ast: add OpenTitan Analog Sensor Top
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c1b738a - Browse repository at this point
Copy the full SHA c1b738aView commit details -
[ot] hw/riscv: ot_earlgrey: add Analog Top Sensor device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 1c5b181 - Browse repository at this point
Copy the full SHA 1c5b181View commit details -
[ot] hw/opentitan: ot_entropy: add OpenTitan Entropy Source device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for e19c829 - Browse repository at this point
Copy the full SHA e19c829View commit details -
[ot] hw/riscv: ot_earlgrey: add OpenTitan Entropy Source device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 9f0a6d3 - Browse repository at this point
Copy the full SHA 9f0a6d3View commit details -
[ot] hw/opentitan: ot_csrng: add OpenTitan Crypto Secure RNG
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f0722ec - Browse repository at this point
Copy the full SHA f0722ecView commit details -
[ot] hw/riscv: ot_earlgrey: add OpenTitan Crypto Secure RNG
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for cd05f62 - Browse repository at this point
Copy the full SHA cd05f62View commit details -
[ot] hw/opentitan: ot_edn: add Entropy Distribution Network device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for aee8cbc - Browse repository at this point
Copy the full SHA aee8cbcView commit details -
[ot] hw/riscv: ot_earlgrey: add Entropy Distribution Network device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 90ef459 - Browse repository at this point
Copy the full SHA 90ef459View commit details -
[ot] hw/opentitan: ot_alert: add EDN properties
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 2c209ae - Browse repository at this point
Copy the full SHA 2c209aeView commit details -
[ot] hw/riscv: ot_earlgrey: connect Alert Handler to EDN
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 3f28ec5 - Browse repository at this point
Copy the full SHA 3f28ec5View commit details -
[ot] hw/opentitan: ot_otp: add EDN properties
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8520294 - Browse repository at this point
Copy the full SHA 8520294View commit details -
[ot] hw/riscv: ot_earlgrey: connect OTP to EDN
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 9968996 - Browse repository at this point
Copy the full SHA 9968996View commit details -
[ot] hw/opentitan: ot_lifecycle: add OpenTitan Life Cycle controller
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 5da60ef - Browse repository at this point
Copy the full SHA 5da60efView commit details -
[ot] hw/riscv: ot_earlgrey: add Lifecycle device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for fc1db17 - Browse repository at this point
Copy the full SHA fc1db17View commit details -
[ot] hw/opentitan: ot_pwrmgr: add OpenTitan Power Manager
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7f4728f - Browse repository at this point
Copy the full SHA 7f4728fView commit details -
[ot] hw/riscv: ot_earlgrey: add Power Manager device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c85a9b5 - Browse repository at this point
Copy the full SHA c85a9b5View commit details -
[ot] hw/opentitan: ot_sensor: add OpenTitan Sensor controller
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 71e5ab4 - Browse repository at this point
Copy the full SHA 71e5ab4View commit details -
[ot] hw/riscv: ot_earlgrey: add Sensor controller device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c5b4edf - Browse repository at this point
Copy the full SHA c5b4edfView commit details -
[ot] hw/opentitan: ot_pinmux: add OpenTitan PinMux
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for d82953c - Browse repository at this point
Copy the full SHA d82953cView commit details -
[ot] hw/riscv: ot_earlgrey: add pinmux device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 6f766b3 - Browse repository at this point
Copy the full SHA 6f766b3View commit details -
[ot] hw/opentitan: ot_flash: add OpenTitan Flash controller
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 7d84f53 - Browse repository at this point
Copy the full SHA 7d84f53View commit details -
[ot] scripts/opentitan: create a script to generate int. flash content
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8b09a1c - Browse repository at this point
Copy the full SHA 8b09a1cView commit details -
[ot] hw/opentitan: ot_earlgrey: add Flash controller device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f8777f0 - Browse repository at this point
Copy the full SHA f8777f0View commit details -
[ot] hw/opentitan: ot_ibex_wrapper: implement basic device
This basic device only supports RND registers for now. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 5070d2f - Browse repository at this point
Copy the full SHA 5070d2fView commit details -
[ot] hw/riscv: ot_earlgrey: add Ibex Wrapper device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for b836cb5 - Browse repository at this point
Copy the full SHA b836cb5View commit details -
[ot] hw/opentitan: ot_ibex_wrapper: trigger VM abort on special SW FA…
…TAL ERR Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for a9e060d - Browse repository at this point
Copy the full SHA a9e060dView commit details -
[ot] hw/opentitan: ot_ibex_wrapper: add address translation support
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 4a93a73 - Browse repository at this point
Copy the full SHA 4a93a73View commit details -
[ot] hw/opentitan: ot_prng: add pseudo random number generator wrapper
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 6676c83 - Browse repository at this point
Copy the full SHA 6676c83View commit details -
[ot] hw/opentitan: add OpenTitan Clock Manager device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for a190d76 - Browse repository at this point
Copy the full SHA a190d76View commit details -
[ot] hw/riscv: ot_earlgrey: add Clock Manager
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for fc2ad6a - Browse repository at this point
Copy the full SHA fc2ad6aView commit details -
[ot] hw/opentitan: ot_aes: add OpenTitan AES emulator
Use libtomcrypt as the crypto backend as a meson subproject. OpenTitan ECB pass, CTR, GCM tests pass ok. Tock CCM, ECB, CBC, CTR tests pass ok. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for c5ebf1e - Browse repository at this point
Copy the full SHA c5ebf1eView commit details -
[ot] hw/riscv: ot_earlgrey: add AES device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 45f9713 - Browse repository at this point
Copy the full SHA 45f9713View commit details -
[ot] hw/opentitan: ot_uart: add OpenTitan UART implementation
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 75320cb - Browse repository at this point
Copy the full SHA 75320cbView commit details -
[ot] hw/riscv: ot_earlgrey: add UART devices
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 69796cf - Browse repository at this point
Copy the full SHA 69796cfView commit details -
[ot] subprojects: add Rust dependencies for OTBN emulator
* QEMU cannot use Cargo, however meson can build explicit Rust libraries * Use the meson wrap feature to download and build Rust dependencies Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for a0c8994 - Browse repository at this point
Copy the full SHA a0c8994View commit details -
[ot] hw/opentitan: ot_otbn: add OpenTitan OTBN emulator
* add a new QEMU device (ot_otbn) * add a proxy between the QEMU device (C) and the OTBN emulator (Rust) * import OTBN emulator based on G. Chadwick RSS (RISC-V simulator) Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 19f66f5 - Browse repository at this point
Copy the full SHA 19f66f5View commit details -
[ot] hw/riscv: ot_earlgrey: add OTBN device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 46654e2 - Browse repository at this point
Copy the full SHA 46654e2View commit details -
[ot] hw/opentitan: ot_hmac: add OpenTitan HMAC emulator
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 571c837 - Browse repository at this point
Copy the full SHA 571c837View commit details -
[ot] hw/riscv: ot_earlgrey: add HMAC device
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 97a3937 - Browse repository at this point
Copy the full SHA 97a3937View commit details -
[ot] hw/opentitan: ot_spi_host: add OpenTitan SPI host implementation
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for df7b6a0 - Browse repository at this point
Copy the full SHA df7b6a0View commit details -
[ot] hw/block: m25p80: add SFDP data block for data flash ISSI IS25WP128
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 1bdf939 - Browse repository at this point
Copy the full SHA 1bdf939View commit details -
[ot] hw/block: m25p80: fix dummy cycles for FASTREAD
Dummy cycles should be expressed in bytes, not bits. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8dbb157 - Browse repository at this point
Copy the full SHA 8dbb157View commit details -
[ot] hw/block: m25p80: write enable should be reset after each erase …
…cmd. completion Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for b1cc629 - Browse repository at this point
Copy the full SHA b1cc629View commit details -
[ot] hw/riscv: ot_earlgrey: add SPI_HOST device
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 51b41a1 - Browse repository at this point
Copy the full SHA 51b41a1View commit details -
[ot] hw/opentitan: ot_timer: add OpenTitan Timer emulator
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 486cc83 - Browse repository at this point
Copy the full SHA 486cc83View commit details -
[ot] hw/riscv: ot_earlgrey: add Timer device
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 52cfd5f - Browse repository at this point
Copy the full SHA 52cfd5fView commit details -
[ot] hw/opentitan: ot_aon_timer: add OpenTitan AON Timer implementation
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for fe41509 - Browse repository at this point
Copy the full SHA fe41509View commit details -
[ot] hw/riscv: ot_earlgrey: add AON Timer device
Signed-off-by: Loïc Lefort <loic@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 8f66f81 - Browse repository at this point
Copy the full SHA 8f66f81View commit details -
[ot] scripts/opentitan: add a script to boot ROM/ROM_EXT/BL0
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 1948fb2 - Browse repository at this point
Copy the full SHA 1948fb2View commit details -
[ot] scripts/opentitan: add new script to run test app w/ test ROM.
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 3e35060 - Browse repository at this point
Copy the full SHA 3e35060View commit details -
[ot] scripts/opentitan: add a script to run OpenTitan unit tests
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 3bcca3a - Browse repository at this point
Copy the full SHA 3bcca3aView commit details -
[ot] doc/opentitan: document Earlgrey platform
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for feb7af4 - Browse repository at this point
Copy the full SHA feb7af4View commit details -
[ot] update README file to reflect QEMU fork content.
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for d346c07 - Browse repository at this point
Copy the full SHA d346c07View commit details -
[ot] hw/opentitan: ot_sram_ctrl: add SRAM controller
For now, it is implemented as a dummy backend. Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for 6c38523 - Browse repository at this point
Copy the full SHA 6c38523View commit details -
[ot] hw/riscv: ot_earlgrey: add SRAM controllers
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Configuration menu - View commit details
-
Copy full SHA for f03e907 - Browse repository at this point
Copy the full SHA f03e907View commit details