After programming the LX2080 target board, there is no any printing information from the serial port

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

After programming the LX2080 target board, there is no any printing information from the serial port

218 Views
Zhoute
Contributor I

My board is an LX2080 target board designed with reference to the official design. I modified the PBL file according to the actual hardware configuration, compiled it to generate PBL_binary.bin, and synthesized fip.bin via flex-builder. Then, I programmed it into the FlexSPI NOR Flash (in a firmware-free state, with the hardware boot mode set to Hard-code mode). After the programming was completed, I switched the mode to FlexSPI NOR Flash, but there was no any printing information when connecting to the serial port. Has any senior encountered such a problem? How should I solve it? Thank you for sharing your debugging experience.

Zhoute_0-1753670391731.png

 

0 Kudos
Reply
3 Replies

194 Views
yipingwang
NXP TechSupport
NXP TechSupport

It seems that there is problem to generate atf image.

$ flex-builder -c rcw -m lx2160ardb_rev2

Then modify file components/firmware/rcw/lx2160aqds_rev2/FFGG_XXXX_PPPP_HHHHH_PPPP_PPPP_RR_19_5_2/rcw_2200_750_3200_19_5_2.rcw according to your custom board.

Rebuild rcw image.

$ flex-builder -c rcw -m lx2160ardb_rev2

Rebuild atf image.

$ flex-builder -c atf -m lx2160ardb_rev2 -b xspi

You will get image build/firmware/atf/lx2160ardb_rev2/bl2_flexspi_nor.pbl, please program bl2_flexspi_nor.pbl at offset 0 of your XSPI flash. 

Then switch to XSPI nor flash boot, and check whether there is output form the serial port.

 

0 Kudos
Reply

190 Views
Zhoute
Contributor I

@yipingwang 请教一下,我该在RCW或者生成的bl2_flexspi_nor.pbl文件中的什么位置启用DEBUG调试信息,我没有找到位置

LX2160A-RDB 

0 Kudos
Reply

178 Views
yipingwang
NXP TechSupport
NXP TechSupport

If you want to debug atf software, please refer to the following document.

https://community.nxp.com/t5/Layerscape-Knowledge-Base/Debugging-ATF-and-u-boot-with-CodeWarrior-for...

0 Kudos
Reply