The U-Boot does not start on the custom board using the LS1046A

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The U-Boot does not start on the custom board using the LS1046A

ソリューションへジャンプ
1,090件の閲覧回数
Johnson_s
Contributor III

I am currently checking the boot process on a custom board using the LS1046A. After creating the PBL and U-Boot and writing them to the QSPI, the following log is output, and then nothing further is displayed:

INFO: BL31: Preparing for EL3 exit to normal world

INFO: Entry point address = 0x82000000

INFO: SPSR = 0x3c9

Since I have the LS1046ARDB on hand, I suspect that the hang is due to differences in hardware configuration. On the custom board, USB, SATA, and PCIe are not used, so they are not connected.

Are there any areas in the repository at https://github.com/nxp-qoriq/atf/tree/lf_v2.6 that might affect the operation? (DDR is functioning without any issues.)

0 件の賞賛
返信
1 解決策
1,000件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please comment “erratum_a009007()” in arch/arm/cpu/armv8/fsl-layerscape/soc.c in u-boot source code.

If it doesn't help, please debug BL31 and u-boot with CodeWarrior for ARMv8.

Probably the "Inspect(attaching to the running target)" will help the customer. Please refer to the Inspect icon marked red in attached file inspect.png. After click this icon, CodeWarrior will attach to the target board, not affect the software running on the target board.

Then the disassembly code which the target board is executing will be captured and displayed in CodeWarrior IDE, please refer to the attached file disassemble.png.

Then refer to the following document to debug BL31 and u-boot.

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,001件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please comment “erratum_a009007()” in arch/arm/cpu/armv8/fsl-layerscape/soc.c in u-boot source code.

If it doesn't help, please debug BL31 and u-boot with CodeWarrior for ARMv8.

Probably the "Inspect(attaching to the running target)" will help the customer. Please refer to the Inspect icon marked red in attached file inspect.png. After click this icon, CodeWarrior will attach to the target board, not affect the software running on the target board.

Then the disassembly code which the target board is executing will be captured and displayed in CodeWarrior IDE, please refer to the attached file disassemble.png.

Then refer to the following document to debug BL31 and u-boot.

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

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2075706%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EU-Boot%20%E3%81%AF%E3%80%81LS1046A%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%20%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A7%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2075706%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%8F%BE%E5%9C%A8%E3%80%81LS1046A%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%9C%E3%83%BC%E3%83%89%E3%81%AE%E3%83%96%E3%83%BC%E3%83%88%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82PBL%20%E3%81%A8%20U-Boot%20%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%A6%20QSPI%20%E3%81%AB%E6%9B%B8%E3%81%8D%E8%BE%BC%E3%82%93%E3%81%A0%E5%BE%8C%E3%80%81%E6%AC%A1%E3%81%AE%E3%83%AD%E3%82%B0%E3%81%8C%E5%87%BA%E5%8A%9B%E3%81%95%E3%82%8C%E3%80%81%E3%81%9D%E3%82%8C%E4%BB%A5%E4%B8%8A%E3%81%AF%E4%BD%95%E3%82%82%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%E6%83%85%E5%A0%B1%3ABL31%3AEL3%E5%87%BA%E5%8F%A3%E3%81%AE%E9%80%9A%E5%B8%B8%E4%B8%96%E7%95%8C%E3%81%B8%E3%81%AE%E6%BA%96%E5%82%99%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%E6%83%85%E5%A0%B1%3A%20%E3%82%A8%E3%83%B3%E3%83%88%E3%83%AA%20%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88%20%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%20%3D%200x82000000%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%E6%83%85%E5%A0%B1%3ASPSR%3D0x3c9%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E6%89%8B%E5%85%83%E3%81%ABLS1046ARDB%E3%81%8C%E3%81%82%E3%82%8B%E3%81%AE%E3%81%A7%E3%80%81%E3%83%8F%E3%83%B3%E3%82%B0%E3%82%A2%E3%83%83%E3%83%97%E3%81%AF%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A6%E3%82%A7%E3%82%A2%E6%A7%8B%E6%88%90%E3%81%AE%E9%81%95%E3%81%84%E3%81%AB%E3%82%88%E3%82%8B%E3%82%82%E3%81%AE%E3%81%A0%E3%81%A8%E6%80%9D%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A7%E3%81%AF%E3%80%81USB%E3%80%81SATA%E3%80%81PCIe%E3%81%AF%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%81%9F%E3%82%81%E3%80%81%E6%8E%A5%E7%B6%9A%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CP%3E%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%20at%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fatf%2Ftree%2Flf_v2.6%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fatf%2Ftree%2Flf_v2.6%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%20%E3%81%AB%E3%80%81%E6%93%8D%E4%BD%9C%E3%81%AB%E5%BD%B1%E9%9F%BF%E3%82%92%E4%B8%8E%E3%81%88%E3%82%8B%E5%8F%AF%E8%83%BD%E6%80%A7%E3%81%AE%E3%81%82%E3%82%8B%E9%A0%98%E5%9F%9F%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F(DDR%E3%81%AF%E5%95%8F%E9%A1%8C%E3%81%AA%E3%81%8F%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2078975%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3AU-Boot%E3%81%AF%E3%80%81LS1046A%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A7%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2078975%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eu-boot%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AEarch%2Farm%2Fcpu%2Farmv8%2Ffsl-layerscape%2Fsoc.c%E3%81%AB%22erratum_a009007()%22%E3%82%92%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%81%9D%E3%82%8C%E3%81%A7%E3%82%82%E5%95%8F%E9%A1%8C%E3%81%8C%E8%A7%A3%E6%B1%BA%E3%81%97%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81BL31%E3%82%92%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%97%E3%80%81ARMv8%E7%94%A8%E3%81%AECodeWarrior%E3%81%A7%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%81%8A%E3%81%9D%E3%82%89%E3%81%8F%E3%80%8CInspect(%E8%B5%B0%E8%A1%8C%E5%AF%BE%E8%B1%A1%E3%81%AB%E5%8F%96%E3%82%8A%E4%BB%98%E3%81%91)%E3%80%8D%E3%81%8C%E3%81%8A%E5%AE%A2%E6%A7%98%E3%81%AE%E3%81%8A%E5%BD%B9%E3%81%AB%E7%AB%8B%E3%81%A6%E3%82%8B%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%80%82%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%ABinspect.png%E3%81%AE%E8%B5%A4%E3%81%A7%E3%83%9E%E3%83%BC%E3%82%AF%E3%81%95%E3%82%8C%E3%81%9FInspect%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%E3%81%93%E3%81%AE%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81CodeWarrior%E3%81%AF%E3%82%BF%E3%83%BC%E3%82%B2%E3%83%83%E3%83%88%E3%83%9C%E3%83%BC%E3%83%89%E3%81%AB%E3%82%A2%E3%82%BF%E3%83%83%E3%83%81%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E3%82%BF%E3%83%BC%E3%82%B2%E3%83%83%E3%83%88%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A7%E5%AE%9F%E8%A1%8C%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%E3%81%AB%E3%81%AF%E5%BD%B1%E9%9F%BF%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%81%9D%E3%81%AE%E5%BE%8C%E3%80%81%E3%82%BF%E3%83%BC%E3%82%B2%E3%83%83%E3%83%88%E3%83%9C%E3%83%BC%E3%83%89%E3%81%8C%E5%AE%9F%E8%A1%8C%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E9%80%86%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89%E3%81%8C%E3%82%AD%E3%83%A3%E3%83%97%E3%83%81%E3%83%A3%E3%81%95%E3%82%8C%E3%80%81CodeWarrior%20IDE%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%81%AE%E3%81%A7%E3%80%81%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%ABdisassemble.png%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%AC%A1%E3%81%AB%E3%80%81%E6%AC%A1%E3%81%AE%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6BL31%E3%82%92%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%97%E3%80%81u-boot%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape-Knowledge-Base%2FDebugging-ATF-and-u-boot-with-CodeWarrior-for-ARMv8%2Fta-p%2F1684233%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape-Knowledge-Base%2FDebugging-ATF-and-u-boot-with-CodeWarrior-for-ARMv8%2Fta-p%2F1684233%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E