AM62P: AM62Px: QNX boot via SBL (OSPI) fails with ERROR: invalid fdt address 0x00000000

Part Number: AM62P

We are trying to boot QNX on AM62Px using SBL OSPI boot flow, and the boot consistently fails with:

ERROR: invalid fdt address 0x00000000

This error is printed from QNX very early during A53 startup, indicating that the FDT address passed in x0 is 0x0.

During the qnxappgen image generation i can clearly see that.dtb is loaded with 0x88000000 still it's failing. 

 i wanted to understand wherever i have to configure the fdt load address. in config.mak file is sufficient ot load FDT? 

here i will attach the issue sniipet as well as the qnxappgen build log.   

image.png

Thanks, 

selva

  • Hi,

    We have received your post and the investigation will take some time. Thank you for your patience.

  • Hi selva

    How are you building the qnxappimage ? 

    Can you try the following steps if you haven't tried this method

    cd ${PSDK_QNX_PATH}/qnx
    
    # For Hs-Fs devices
    make sbl_echo_test_hs_fs
    
    # For Hs devices
    make sbl_echo_test_hs

     i wanted to understand wherever i have to configure the fdt load address. in config.mak file is sufficient ot load FDT? 

    In SBL bootflow, the DTB will be build into the combined QNX appimage.And the DTB load address will be provided to QNX by ATF by register x0 .

    Have a look at this makefile, ($PSDK_QNX_SDK/psdkqa/qnx/scripts/sbl/makefile)

    In the makefile ,K3_HW_CONFIG_BASE variable is set as same as  FDT load address which will be used by ATF.

    Modifying FDT_LOAD_ADDR address in that makefile will be required.

  • Hi Eirwen, 

    i will check that and what about these three build in qnx build, which one is valid...

  • hi eirwen, 

    i will check that and also wanted to know while building qnx which one is valid .build file in following these three?. do they have any influence on this issue, if iwasn't build the qnx with right .build file?.