已解决! 转到解答。
Hello,
Unfortunately I believe we may not have this feature enabled or ready by default, as I was checking on the documentation, I see that SPL uses board_fit_config_name_match() to find the correct DTB within the
FIT, as in our case this function is empty, as you can see here:
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/board/freescale/imx8mp_evk/spl.c#L140
This may be causing issues on the SPL, please note that this feature has not been tested on our side.
Best regards/Saludos,
Aldo.
Greetings! I have the same issue! Did you ever find a REAL solution?
Thank you for you reply!
Rick Stievenart
rick.stievenart@johnsonoutdoors
Johnson Outdoors - Marine Electronics - Humminbird
Hi Rick,
Unfortunately, I found more issues. The trouble with loading the DDR training firmware is that the firmware offset isn’t calculated properly when multiple DTBs are embedded into the SPL image. To move forward, I used a hardcoded offset calculated from a memory dump. However, the next issue appeared when the SPL had to start U-Boot and pass the device tree. The device tree is always taken from the imx-boot image that the imx-boot tool in the soc.mak scripts packs, not the one selected by the SPL in board_fit_config_name_match().
Best regards,
Sinisa Vik
Hello,
If you do not enable this feature does the board boot correctly?
Also, what do you mean by multiple device tree?
Could you share more information of what are you trying to achieve?
Best regards/Saludos,
Aldo.
Hello,
Unfortunately I believe we may not have this feature enabled or ready by default, as I was checking on the documentation, I see that SPL uses board_fit_config_name_match() to find the correct DTB within the
FIT, as in our case this function is empty, as you can see here:
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/board/freescale/imx8mp_evk/spl.c#L140
This may be causing issues on the SPL, please note that this feature has not been tested on our side.
Best regards/Saludos,
Aldo.