2022-09-26 06:14 AM - edited 2023-11-20 07:51 AM
When I use sp_ min, I use the following command to generate fip in the Bareenvironment, and can start the u-boot normally:
fiptool create --tos-fw bl32.bin --nt-fw u-boot-nodtb.bin --fw-config stm32mp157d-***-fw-config.dtb --hw-config stm32mp157d-xx.dtb --tos-fw-config stm32mp157d-***-bl32.dtb fip.bin
But when I use OP-TEE, I use the following command:
fiptool create --tos-fw tee-header_v2.bin --tos-fw-extra1 tee-pager_v2.bin --tos-fw-extra2 tee-pageable_v2.bin --fw-config stm32mp157d-***-fw-config.dtb --nt-fw u-boot-nodtb.bin --hw-config u-boot.dtb --tos-fw-config stm32mp157d-***-optee.dtb fip.bin
The result is that can't enter the u-boot,stuck somewhere, I don't know whether there is a problem with the configured op-tee system or the generated fip method is wrong?
Please take a look.
Thank you very much.
Solved! Go to Solution.
2022-09-28 08:02 AM
Hi ssw.1 (Community Member)
Did you enable the RNG in DT optee? All regulators (regulators-fixed) should also be in declared in OPTEE DT board
I don't have a DT file in discrete power supply configuration as reference. But some SOM maker partners have done so already on previous OSTL DV
Kontron:
Regulator nodes are defined for vdd/vddcore/vdd_ddr/vddv3v3_usb,v3V3 in uboot
Regulator node defined Vdd in TFA
or SOM labs, I2SOM
https://github.com/orgs/SoMLabs/repositories
https://github.com/orgs/i2som/repositories
Rgds,
Olivier
2022-09-26 07:36 AM
Hi ssw.1 (Community Member)
Which OSTL distribution you use? Did you compile OPTEE with your board? Sounds like the TF-A FW_Config address doesn't match the one in OPTEE. Otherwise you need to enable DEBUG trace in OPTEE to see what's going on.
Rgds,
Olivier
2022-09-28 04:40 AM
Thank you for your reply. I fixed the DDR size setting, but a new problem occurred later:
Is it because the power supply I use is fixed?
There is no PMIC on my board
2022-09-28 06:02 AM
Do you have a device tree file that uses an independent power supply as a reference
2022-09-28 08:02 AM
Hi ssw.1 (Community Member)
Did you enable the RNG in DT optee? All regulators (regulators-fixed) should also be in declared in OPTEE DT board
I don't have a DT file in discrete power supply configuration as reference. But some SOM maker partners have done so already on previous OSTL DV
Kontron:
Regulator nodes are defined for vdd/vddcore/vdd_ddr/vddv3v3_usb,v3V3 in uboot
Regulator node defined Vdd in TFA
or SOM labs, I2SOM
https://github.com/orgs/SoMLabs/repositories
https://github.com/orgs/i2som/repositories
Rgds,
Olivier
2023-11-16 03:04 AM
@ssw.1Did you solve this? I'm having the same problem (minus the RNG not available message):
E/TC:0 0 probe_driver_node:413 Failed to probe stm32mp1-cpu-opp on node cpu0-opp-table: 0xffff0000
2024-08-12 09:54 AM
Hello, did you solved the issue?
Thank you, Dominik.