LX2160A boot sequence

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

LX2160A boot sequence

Jump to solution
2,022 Views
Nikhiln
Contributor III

Hi,

We are using LX2160A processor in our custom board. Im facing issue in getting the processor to boot stage. Processor is unable to boot HRESET is high, but DDR reset from processor is low. What is the proper boot sequence of LX2160A? When processor starts DDR training?

My understanding is that the Processor loads RCW, then it looks for PBI image. If PBI or PBL image is not present it starts to boot (after RCW loading completion it should start DDR training). Is this correct?

Thanks

Nikhil N

Tags (2)
0 Kudos
Reply
1 Solution
1,980 Views
yipingwang
NXP TechSupport
NXP TechSupport

Processor loads RCW and execute commands in PBI image, then executes ATF BL2 image in OCRAM. BL2 initializes DDR controller and copies BL31 to DDR memory and jumps the execution to BL31.

So as normal you should get the output of BL2 on the target board before DDR initialization.

View solution in original post

3 Replies
1,981 Views
yipingwang
NXP TechSupport
NXP TechSupport

Processor loads RCW and execute commands in PBI image, then executes ATF BL2 image in OCRAM. BL2 initializes DDR controller and copies BL31 to DDR memory and jumps the execution to BL31.

So as normal you should get the output of BL2 on the target board before DDR initialization.

1,934 Views
Nikhiln
Contributor III

I have checked we are not getting any UART prints from UART 1, also no activity in UART 0 is observed. I have few doubts about this.

Does this mean Processor is not executing BL2 image or not reached that stage?

Do we get any output while executing PBI image?

HRESET is going high, this means RCW is correct and it has started executing PBI image, what if there is no PBI commands to execute? does it jump to executing BL2 or what happens?

how can I change the default UART port to UART 1 initially itself?

Tags (1)
0 Kudos
Reply
1,919 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the procedure I just provided in https://community.nxp.com/t5/Layerscape/Unable-to-boot-LX2160A-processor-out-of-PBI-and-DDR-reset-is...

to deploy ATF images on your target board to check whether there is output from the UART.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1894901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELX2160A%20boot%20sequence%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1894901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20LX2160A%20processor%20in%20our%20custom%20board.%20Im%20facing%20issue%20in%20getting%20the%20processor%20to%20boot%20stage.%20Processor%20is%20unable%20to%20boot%20HRESET%20is%20high%2C%20but%20DDR%20reset%20from%20processor%20is%20low.%20What%20is%20the%20proper%20boot%20sequence%20of%20LX2160A%3F%20When%20processor%20starts%20DDR%20training%3F%3C%2FP%3E%3CP%3EMy%20understanding%20is%20that%20the%20Processor%20loads%20RCW%2C%20then%20it%20looks%20for%20PBI%20image.%20If%20PBI%20or%20PBL%20image%20is%20not%20present%20it%20starts%20to%20boot%20(after%20RCW%20loading%20completion%20it%20should%20start%20DDR%20training).%20Is%20this%20correct%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ENikhil%20N%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1903368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LX2160A%20boot%20sequence%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1903368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20refer%20to%20the%20procedure%20I%20just%20provided%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape%2FUnable-to-boot-LX2160A-processor-out-of-PBI-and-DDR-reset-is-low%2Fm-p%2F1902738%2Fhighlight%2Ffalse%23M14528%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape%2FUnable-to-boot-LX2160A-processor-out-of-PBI-and-DDR-reset-is-low%2Fm-p%2F1902738%2Fhighlight%2Ffalse%23M14528%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Eto%20deploy%20ATF%20images%20on%20your%20target%20board%20to%20check%20whether%20there%20is%20output%20from%20the%20UART.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1901795%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LX2160A%20boot%20sequence%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1901795%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20checked%20we%20are%20not%20getting%20any%20UART%20prints%20from%20UART%201%2C%20also%20no%20activity%20in%20UART%200%20is%20observed.%20I%20have%20few%20doubts%20about%20this.%3C%2FP%3E%3CP%3EDoes%20this%20mean%20Processor%20is%20not%20executing%20BL2%20image%20or%20not%20reached%20that%20stage%3F%3C%2FP%3E%3CP%3EDo%20we%20get%20any%20output%20while%20executing%20PBI%20image%3F%3C%2FP%3E%3CP%3EHRESET%20is%20going%20high%2C%20this%20means%20RCW%20is%20correct%20and%20it%20has%20started%20executing%20PBI%20image%2C%20what%20if%20there%20is%20no%20PBI%20commands%20to%20execute%3F%20does%20it%20jump%20to%20executing%20BL2%20or%20what%20happens%3F%3C%2FP%3E%3CP%3Ehow%20can%20I%20change%20the%20default%20UART%20port%20to%20UART%201%20initially%20itself%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1897072%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LX2160A%20boot%20sequence%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1897072%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EProcessor%20loads%20RCW%20and%20execute%20commands%20in%20PBI%20image%2C%20then%20executes%20ATF%20BL2%20image%20in%20OCRAM.%20BL2%20initializes%20DDR%20controller%20and%20copies%20BL31%20to%20DDR%20memory%20and%20jumps%20the%20execution%20to%20BL31.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESo%20as%20normal%20you%20should%20get%20the%20output%20of%20BL2%20on%20the%20target%20board%20before%20DDR%20initialization.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E