IMX8-QM SCFW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8-QM SCFW

858 Views
anas-8888
Contributor II

Hi everyone,

so im working on imx8qm secure boot and my question is how to know the load adress of the next stage(ATF) used inside the firmware if its already prebuilt?

0 Kudos
Reply
3 Replies

809 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

What do you mean by prebuilt?
Please note that you may build your atf (bl31) and use it for your image.

Best regards/Saludos,
Aldo.

0 Kudos
Reply

790 Views
anas-8888
Contributor II

Hi, i mean when i use your bsp layer the atf is build automatically without getting modified depending on my use case.how do i verify and load the next stage(bl32 or bl33) if i m not passing some arguments to the build (like load adress) or is this done by the atf auto by reading the container header?

0 Kudos
Reply

676 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Thank you for the clarification, so I believe that you are refering to yocto build, then yes, ATF source is downloaded and built.

Also, yes you are correct each image has its own data structure (header) with information on: ​
The location of the image​
Size of the image​
Destination address​

Best regards/Saludos,
Aldo.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2327822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX8-QM%20SCFW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2327822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3Eso%20im%20working%20on%20imx8qm%20secure%20boot%20and%20my%20question%20is%20how%20to%20know%20the%20load%20adress%20of%20the%20next%20stage(ATF)%20used%20inside%20the%20firmware%20if%20its%20already%20prebuilt%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328172%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX8-QM%20SCFW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328172%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20i%20mean%20when%20i%20use%20your%20bsp%20layer%20the%20atf%20is%20build%20automatically%20without%20getting%20modified%20depending%20on%20my%20use%20case.how%20do%20i%20verify%20and%20load%20the%20next%20stage(bl32%20or%20bl33)%20if%20i%20m%20not%20passing%20some%20arguments%20to%20the%20build%20(like%20load%20adress)%20or%20is%20this%20done%20by%20the%20atf%20auto%20by%20reading%20the%20container%20header%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328158%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX8-QM%20SCFW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328158%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20do%20you%20mean%20by%20prebuilt%3F%3CBR%20%2F%3EPlease%20note%20that%20you%20may%20build%20your%20atf%20(bl31)%20and%20use%20it%20for%20your%20image.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2329215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX8-QM%20SCFW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20the%20clarification%2C%20so%20I%20believe%20that%20you%20are%20refering%20to%20yocto%20build%2C%20then%20yes%2C%20ATF%20source%20is%20downloaded%20and%20built.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20yes%20you%20are%20correct%20each%20image%20has%20its%20own%20data%20structure%20(header)%20with%20information%20on%3A%20%E2%80%8B%3CBR%20%2F%3EThe%20location%20of%20the%20image%E2%80%8B%3CBR%20%2F%3ESize%20of%20the%20image%E2%80%8B%3CBR%20%2F%3EDestination%20address%E2%80%8B%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E