[U-Boot] SPL (Secondary Program Loader) on iMX6SL

Hi All,
I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load the SPL image and configure the DDR correctly.
Then, I ported it again on iMX6SL-evk, unfortunately, I did not get any data on my serial port window. I played with some different values for CCM_CCGR0 - CCM_CCGR6 and still not getting data. I am not sure exactly what are the big difference between the ROM code of the two chips and why it didn't work.
Does anyone could tell me what may be the possible problem?.
Regards,
John

Hi John,
On Wed, Nov 5, 2014 at 12:58 AM, John Tobias john.tobias.ph@gmail.com wrote:
Hi All,
I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load the SPL image and configure the DDR correctly.
Cool, could you please submit this patch adding spl support to mx6 sabresd?
I will start working on spl for mx6 and your patch would be very helpful.
Then, I ported it again on iMX6SL-evk, unfortunately, I did not get any data on my serial port window. I played with some different values for CCM_CCGR0 - CCM_CCGR6 and still not getting data. I am not sure exactly what are the big difference between the ROM code of the two chips and why it didn't work.
Does anyone could tell me what may be the possible problem?.
Please post a patch adding spl support for mx6sl evk (marked as RFC), so that we can try to spot some potential issues. Please add on Cc some of the folks that have previously worked with mx6 spl, so that they could help reviewing it.
Thanks,
Fabio Estevam

Hi Fabio,
The SPL support that I have done for sabresd is not %100 done. I just did that for the testing and to see if I could load the SPL image.
Btw, I saw in freescale repository that they have the plugin feature. I enabled it but it didn't work. When I load the image, it jump to 0x00907000.
Do you know how does it work?.
Regards,
john
On Wed, Nov 5, 2014 at 3:02 AM, Fabio Estevam festevam@gmail.com wrote:
Hi John,
On Wed, Nov 5, 2014 at 12:58 AM, John Tobias john.tobias.ph@gmail.com wrote:
Hi All,
I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load the SPL image and configure the DDR correctly.
Cool, could you please submit this patch adding spl support to mx6 sabresd?
I will start working on spl for mx6 and your patch would be very helpful.
Then, I ported it again on iMX6SL-evk, unfortunately, I did not get any data on my serial port window. I played with some different values for CCM_CCGR0 - CCM_CCGR6 and still not getting data. I am not sure exactly what are the big difference between the ROM code of the two chips and why it didn't work.
Does anyone could tell me what may be the possible problem?.
Please post a patch adding spl support for mx6sl evk (marked as RFC), so that we can try to spot some potential issues. Please add on Cc some of the folks that have previously worked with mx6 spl, so that they could help reviewing it.
Thanks,
Fabio Estevam

Hi John,
On Thu, Nov 6, 2014 at 12:54 AM, John Tobias john.tobias.ph@gmail.com wrote:
Hi Fabio,
The SPL support that I have done for sabresd is not %100 done. I just did that for the testing and to see if I could load the SPL image.
Btw, I saw in freescale repository that they have the plugin feature. I enabled it but it didn't work. When I load the image, it jump to 0x00907000.
Do you know how does it work?.
You should not focus on the plugin feature. It was posted a few days ago and the general agreement is that spl should be used instead.
For spl example on mx6, you can look at gw_ventana, cm_fx6 and novena boards as references.
Regards,
Fabio Estevam

Hi Fabio,
Thanks for the info. I will try to send some patch or file for iMX6 SabreSD and for iMX6SL-evk later today.
Regards,
john
On Thu, Nov 6, 2014 at 4:43 AM, Fabio Estevam festevam@gmail.com wrote:
Hi John,
On Thu, Nov 6, 2014 at 12:54 AM, John Tobias john.tobias.ph@gmail.com wrote:
Hi Fabio,
The SPL support that I have done for sabresd is not %100 done. I just did that for the testing and to see if I could load the SPL image.
Btw, I saw in freescale repository that they have the plugin feature. I enabled it but it didn't work. When I load the image, it jump to 0x00907000.
Do you know how does it work?.
You should not focus on the plugin feature. It was posted a few days ago and the general agreement is that spl should be used instead.
For spl example on mx6, you can look at gw_ventana, cm_fx6 and novena boards as references.
Regards,
Fabio Estevam
participants (2)
-
Fabio Estevam
-
John Tobias