Trying to boot LS1043A from NOR Flash and the code hung at the work around code for Erratum A009007. This errata is undocumented
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
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
Hello Steve Cloud,
We didn't encounter this problem on the demo boards. Would you please provide your u-boot log?
Thanks,
Yiping
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!
-----------------------------------------------------------------------------------------------------------------------
What are the differences between the U-Boot versions? Please provide me release notes?
Thanks,
Steve
(216) 245-4160
(330) 256-3639 cell
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!
-----------------------------------------------------------------------------------------------------------------------
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
Hello Steve,
Please try the patch which I provided previously, which is no included in SDK2.0 1609.
Thanks,
Yiping
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
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