Hi Kent,
Thanks for the suggestions. My loadaddr was set to 0x81000000. I tried using 0x84000000 and it booted just fine in secure mode. This is on the Nvidia TK1.
If I build with -DTk1Insecure=TRUE, I do have some issues. I get:
Undelivered IRQ: 85
Loading Linux: 'linux' dtb: 'linux-dtb'
install_linux_devices@main.c:613 module name: map_frame_hack
install_linux_devices@main.c:613 module name: plat
32 bit ARM insts not decoded
--------
Pagefault from [Linux]: write fault @ PC: 0x80226ab0 IPA: 0x40000000, FSR: 0x2000046
Context:
r0: 0xfe400000
r1: 0xc0020420
r2: 0x120
r3: 0xf10e01d3
r4: 0xe3006000
r5: 0xe3476000
r6: 0xe5966804
r7: 0xe2066cff
r8: 0xe1a06426
r9: 0xc0993e70
r10: 0x80000200
r11: 0x80008000
r12: 0xe3560020
pc: 0xc0226ab0
r14: 0x82050000
sp: 0x82000000
cpsr: 0x200000d3
m--------
Assertion failed: rt >= 0 (/host/latest-camkes-arm-vm/projects/seL4_projects_libs/libsel4vm/src/arch/arm/fault.c: fault_get_width: 623)