I am seeing the notice "Do not release JR0 to NS as it can be used by HAB" in SPL.
However, I do not understand what this means. I believe it has something to do with the Arm Trusted Firmware but I do not understand what I am supposed to do with this information or if it can be ignored.
U-Boot SPL 2024.04+g4afa334bd1+p0 (Jul 24 2024 - 11:13:33 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x0, pagesize 0x200, ivt offset 0x0
NOTICE: Do not release JR0 to NS as it can be used by HAB
NOTICE: BL31: v2.10.0 (release):lf-6.6.23-2.0.0
NOTICE: BL31: Built : 10:04:22, May 29 2024
I found the message is being printed in imx8m_caam.c
/* config CAAM JRaMID set MID to Cortex A */
if (mmio_read_32(CAAM_JR0MID) == HAB_JR0_DID) {
NOTICE("Do not release JR0 to NS as it can be used by HAB\n");
} else {
mmio_write_32(CAAM_JR0MID, CAAM_NS_MID);
}
I am using the UUU tool to flash a kickstart (WKS) file. The WKS file does not support NTFS according the Yocto documentation. Is there a different partition type you recommend. The default boot partition fstype is vfat.
* Screen shot source: https://docs.yoctoproject.org/ref-manual/kickstart.html
Hello,
Could you please share me which processor and BSP are you using?
I have seen this issue before and was caused by a wrong flash process or format the boot source using FAT32, switching to NTFS solved the issue.
Best regards.
Hello,
That change was on a SD card, in think there is not an option to do it in eMMC. In general, this is not issue since it is only notifying that HAB feature of i.MX8M family requires that JR0 is reserved exclusively in S-only world.
Best regards.
I am using 'sudo uuu uuu.auto' where the contents of uuu.auto are as follows
```
uuu_version 1.2.39
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f <image_name>.bin-flash_evk
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f <image_name>.bin-flash_evk
# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f <image_name>.bin-flash_evk -offset 0x57c00
SDPU: jump
# }
# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f <image_name>.bin-flash_evk -skipspl
SDPV: jump
# }
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all <image_name>rootfs.wic.zst/*
FB: flash bootloader <image_name>.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
```