emulation: add keystore and engine to loaded files

These blocks are now supported as emulation targets.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-07-15 16:41:23 +08:00
parent aaa4407e21
commit 20c91866dd

View file

@ -10,7 +10,9 @@ using sysbus
# if you modify these files.
i @peripherals/ABRTCMC.cs
i @peripherals/BetrustedI2C.cs
i @peripherals/engine.cs
i @peripherals/keyboard.cs
i @peripherals/keyrom.cs
i @peripherals/LiteX_Timer_32.cs
i @peripherals/memlcd.cs
i @peripherals/sha512.cs
@ -28,12 +30,18 @@ showAnalyzer console
# showAnalyzer app_uart
showAnalyzer memlcd
# sysbus LogPeripheralAccess engine true
# sysbus LogPeripheralAccess sha512 true
# sysbus LogPeripheralAccess trng_kernel true
sysbus Tag <0xB0000000, 0xB0006000> "Framebuffer"
# logLevel -1 keyboard
# logLevel -1 ticktimer
logLevel -1 i2c
logLevel -1 abracom_rtc
# logLevel -1 engine
# logLevel -1 i2c
# logLevel -1 abracom_rtc
# logLevel -1 sha512
# Silence COM and WDT and WFI
sysbus SilenceRange <0xF000D000, 0xF000DFFF>
@ -44,7 +52,7 @@ sysbus SilenceRange <0xF0023000, 0xF0023FFF>
macro reset
"""
sysbus LoadELF @../loader/target/riscv32imac-unknown-none-elf/release/loader
sysbus LoadBinary @../target/riscv32imac-unknown-none-elf/release/args.bin 0x40800000
sysbus LoadBinary @../target/riscv32imac-unknown-none-elf/release/xous.img 0x40800000
# Set $a0 to point at the args binary
cpu SetRegisterUnsafe 10 0x40800000
"""