Why does the LS1043A U-Boot hang at code that fixes erratum a009007. Had to comment out to proceed with U-Boot execution.

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the LS1043A U-Boot hang at code that fixes erratum a009007. Had to comment out to proceed with U-Boot execution.

1,202 Views
stevecloud
Contributor II

Trying to boot LS1043A from NOR Flash and the code hung at the work around code for Erratum A009007.  This errata is undocumented

12 Replies

554 Views
t_herbrecher
Contributor II

Hello together.

We also had this issue with our custom LS1046A board. We faced out that the problem was related to the clocking of the USB blocks.

The CKSEL field of the USB PHYx Reference Clock Select Registers (SCFG_USB_REFCLK_SELCRx) defaults to 10 (reference clock of USB PHY PLL comes from DIFF_SYSCLK/DIFF_SYSCLK_B). On our board the single ended SYSCLK is used so the USB PHYs are not supplied with a valid clock input. After changing CKSEL to 00 by the following PBI commands fixed the boot problem:

#USB PHY frequency sel
09570418 0000009c
0957041c 0000009c
09570420 0000009c

Best regards,

Timo

554 Views
perdalen
Contributor III

We also have the same issue. We needed to remove the erratum a009007 from u-boot to get it work.

We use u-boot LSDK-17.12 and boot from NOR.

0 Kudos

554 Views
sp_qoriq
Contributor III

yipingwangstevecloud

We have run into the same issue with our custom ls1043a based board. I'm using SDK2.0-1703 and can confirm that the patch mentioned by yipingwang‌ is included in the u-boot source. I have also looked at the latest LSDK source and nothing has changed with respect to this patch, except that now it is called from the fsl_lsch2_early_init_f

How did you resolve this? Thanks

554 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Steve Cloud,

We didn't encounter this problem on the demo boards. Would you please provide your u-boot log?

Thanks,

Yiping

0 Kudos

554 Views
stevecloud
Contributor II

Here are the U-Boot messages.

Thanks,

Steve

(216) 245-4160

(330) 256-3639 cell

0 Kudos

554 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Steve Cloud,

In your u-boot, I noticed that your were using u-boot 2016.01, did you apply the attached patch in SDK 2.0 u-boot? This patch will be released to customer in the coming release.

In addition, did you test DDR memory with your current DDR controller configuration?


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

554 Views
stevecloud
Contributor II

What are the differences between the U-Boot versions? Please provide me release notes?

Thanks,

Steve

(216) 245-4160

(330) 256-3639 cell

0 Kudos

554 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Steve Cloud,

According to your u-boot version, you are using u-boot from SDK 2.0, probably you applied some your own patches in this u-boot source, because the patch used for fixing a009007 has not been included in the formal release yet.

So I suggest you use SDK 2.0 u-boot directly or download the latest u-boot from the upstream to do verification on your target board.

I am not sure whether you can access http://sw-stash.freescale.net/projects/SDK/repos/u-boot-sdk/browse for the latest u-boot source code.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

554 Views
stevecloud
Contributor II

We also tried U-Boot from SDK2.0 1609 and have the same issue. I will verify if we applied patches to either SDK2.0 version.

Thanks,

Steve

(216) 245-4160

(330) 256-3639 cell

0 Kudos

554 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Steve,

Please try the patch which I provided previously, which is no included in SDK2.0 1609.

Thanks,

Yiping

0 Kudos

554 Views
stevecloud
Contributor II

Hi Yiping,

I miss understood your email. The patch was attached to the case but not this email. I see the patch that is attached to the discussion. We will try it and let you know what we find.

Best Regards,

Steve

(216) 245-4160

(330) 256-3639 cell

0 Kudos

554 Views
stevecloud
Contributor II

Hi Yiping,

We are aware of the SDK2.0 patch but wanted to limit variables changed while we were testing. Since the current U-Boot works on both the LS1043A RDB and the LS1043A RGW we expected it to work on our new platform.

We have been testing our DDR with the DDR configuration we sent. I don’t understand your question.

Thanks,

Steve

(216) 245-4160

(330) 256-3639 cell

0 Kudos