Part Number: LP-AM261
Hello everyone,
I am currently working on the AM261x-LP platform and trying to enable and understand the secure boot flow on my system.
I have been referring to the official documentation: https://software-dl.ti.com/mcu-plus-sdk/esd/AM261X/latest/exports/docs/api_guide_am261x/SECURE_BOOT.html
Here is what I have done so far:
-
I built the SBL image using the following make command:
make -s -C examples/drivers/boot/sbl_ospi_multicore_elf/am261x-lp/r5fss0-0_nortos/ti-arm-clang all DEVICE=am261x DEVICE_TYPE=HS
This produced the file:sbl_ospi_multicore_elf.Release.hs.tiimage- Similarly, I built the application image using the command:
make -s -C examples/drivers/gpio/gpio_led_blink/am261x-lp/r5fss0-0_freertos/ti-arm-clang all DEVICE=am261x DEVICE_TYPE=HS
This produced the file:gpio_led_blink.mcelf.hs
- Similarly, I built the application image using the command:
- I successfully flashed (non-secure images)
sbl_ospi_multicore_elf.tiimageandgpio_led_blink.mcelf. Both the OSPI bootloader and the application boot and print output on the serial console correctly. - However, when I flash (secure images)
sbl_ospi_multicore_elf.Release.hs.tiimageandgpio_led_blink.mcelf.hs, I do not see any output on the serial console. - I have not converted the device to HS-SE device yet. Do I need to convert the device to HS-SE?
- Is there any way to test the secure boot without converting the device to HS-SE? (Secure boot on HS-FS / GP device).
- How to convert device to HS-SE type? I have requested for AM261X-TIFS-SDK, but not received yet.
- Is there any way, to test secure boot without burning the keys?
In one post on TI forum, I read about the trial run mode. Does this also need the burning of the keys? How to execute trial mode?
I have read about enabling secure boot and understand that when building the SBL and application using the make commands, the generated binaries (with the extension .hs) are already signed. From what I gather, these images use a TI-dummy key for signing by default. Is that correct?
Could anyone please help me understand the process to test and verify secure boot process?
Also I want to understand the following topics:
- What is the difference between device type HS-FS and GP?
- When I build the example code or SBL without setting DEVICE_TYPE=HS,
gpio_led_blink.mcelfandsbl_ospi_multicore_elf.tiimageare generated. Are these images unsigned? and thse images are generated for which device type HS_FS or GP? - How to identify the device type (GP/HS-FS/HS-SE) and the generated imgage is for which device type?
Thanks,
Payal