sim:config: Only load boot rom elf to the secure core Only secure core (cpu0) has the boot rom. Change-Id: I895eb65265dc6ff7b2e93b9ef81d235ac0f229c2
diff --git a/shodan.resc b/shodan.resc index efcf779..3f2c26d 100644 --- a/shodan.resc +++ b/shodan.resc
@@ -36,8 +36,8 @@ uart0-analyzer TimestampFormat None uart5-analyzer TimestampFormat None -# Load the bootrom into the 16k rom at 0x8000 -sysbus LoadELF @out/shodan_boot_rom/multihart_boot_rom/multihart_boot_rom.elf +# Load the bootrom into the 16k rom at 0x8000 (useVirtualAddress = false, allowLoadsOnlyToMemory = true) +sysbus LoadELF @out/shodan_boot_rom/multihart_boot_rom/multihart_boot_rom.elf false true cpu0 # Load the tarball of CAmkES components, cpio bundle of built-in files, and the seL4 kernel $tar ?= @out/ext_flash_release.tar @@ -47,9 +47,8 @@ sysbus LoadBinary $cpio 0x46000000 sysbus LoadSymbolsFrom $kernel -# Start both cores at the bootrom entry point. +# Start cpu0 at the bootrom entry point. sysbus.cpu0 PC 0x8090 -sysbus.cpu1 PC 0x8090 # Start the vector core at address 0 of its instruction TCM. sysbus.cpu2 PC 0x30000000