Tool/software: Linux
We are developing a product based on the AM5728 EVM. We are trying to get boot loading working on our prototype board. Step debugging with JTAG shows the processor getting a hard exception error.
The error occurs at what appears to be a call to the boot code in the chips PROM (stepping over the smc 0 step ends up with a hard exception):
in u-boot/arch/arm/mach-omap2/lowlevel_init.S:
ENTRY(omap_smc1)
push {r4-r12, lr} @ save registers - ROM code may pollute
@ our registers
mov r12, r0 @ Service
mov r0, r1 @ Argument
dsb
dmb
smc 0 @ SMC #0 to enter monitor mode
@ call ROM Code API for the service requested
pop {r4-r12, pc}
ENDPROC(omap_smc1)
The code implies a call to a service in the ROM, this looks like an API. Is there any documentation for the services provided by the ROM API and if so where can I find it?
Thanks!