lowRISC / tock

A secure embedded operating system for microcontrollers
https://www.tockos.org
Other
2 stars 3 forks source link

board/opentitan: Add manifest version to linker script #11

Closed mazurek-michal closed 1 year ago

mazurek-michal commented 1 year ago

Update linker script to support changes in OpenTitan ROM.

Following commits increase manifest extension table form to 16, and add 4 bytes filed manifest_version.

OpenTitan ROM changes PR#18839

SHA: e2d7f0c3749fd36d10d5e694c7899ddea23309fb SHA: 30f44025dfb4bc2bd328a99a0a810c3189fb2544a

Test: Invocation of following command in order to check if board boot correctly

cd $TOCK_DIR/boards/opentitan/earlgrey-cw310 
make flash

Output captured from UART:

I00000 test_rom.c:160] kChipInfo: scm_revision=eb4b2214
I00001 test_rom.c:186] TestROM:632e99df
I00002 test_rom.c:243] Test ROM complete, jumping to flash (addr: 20000410)!
Unable to find otbn-rsa, disabling RSA support
OpenTitan initialisation complete. Entering main loop