Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-29 Thread Pavel Machek
Hi! > > We don't support quad mode in U-Boot . You mean not entering Quad mode > > in Linux ? > > > > Nope, there seems to be quad support in u-boot, from spi_flash.c (my patched > version): > > #ifndef CONFIG_SPL_BUILD > /* Look for the fastest read cmd */ > cmd =

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-27 Thread Christian Didriksson
Hi! > > Hi! > > On 06/27/2016 11:10 AM, Christian Didriksson wrote: > > Hi, > > > >> On 06/23/2016 06:31 PM, Sylvain Lesne wrote: > >>> On 06/23/2016 06:14 PM, Marek Vasut wrote: > On 06/23/2016 05:58 PM, Sylvain Lesne wrote: > > Hi Marek, Christian, > > Hi, > > > On

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-27 Thread Sylvain Lesne
Hi! On 06/27/2016 11:10 AM, Christian Didriksson wrote: > Hi, > >> On 06/23/2016 06:31 PM, Sylvain Lesne wrote: >>> On 06/23/2016 06:14 PM, Marek Vasut wrote: On 06/23/2016 05:58 PM, Sylvain Lesne wrote: > Hi Marek, Christian, Hi, > On 06/23/2016 03:07 PM, Marek Vasut

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-27 Thread Christian Didriksson
Hi, > On 06/23/2016 06:31 PM, Sylvain Lesne wrote: > > On 06/23/2016 06:14 PM, Marek Vasut wrote: > >> On 06/23/2016 05:58 PM, Sylvain Lesne wrote: > >>> Hi Marek, Christian, > >> > >> Hi, > >> > >>> On 06/23/2016 03:07 PM, Marek Vasut wrote: > On 06/22/2016 06:37 PM, Christian Didriksson

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-23 Thread Marek Vasut
On 06/23/2016 06:31 PM, Sylvain Lesne wrote: > On 06/23/2016 06:14 PM, Marek Vasut wrote: >> On 06/23/2016 05:58 PM, Sylvain Lesne wrote: >>> Hi Marek, Christian, >> >> Hi, >> >>> On 06/23/2016 03:07 PM, Marek Vasut wrote: On 06/22/2016 06:37 PM, Christian Didriksson wrote: > Hi Marek,

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-23 Thread Sylvain Lesne
On 06/23/2016 06:14 PM, Marek Vasut wrote: > On 06/23/2016 05:58 PM, Sylvain Lesne wrote: >> Hi Marek, Christian, > > Hi, > >> On 06/23/2016 03:07 PM, Marek Vasut wrote: >>> On 06/22/2016 06:37 PM, Christian Didriksson wrote: Hi Marek, >>> >>> Hi! >>> [..] I skipped booting

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-23 Thread Marek Vasut
On 06/23/2016 05:58 PM, Sylvain Lesne wrote: > Hi Marek, Christian, Hi, > On 06/23/2016 03:07 PM, Marek Vasut wrote: >> On 06/22/2016 06:37 PM, Christian Didriksson wrote: >>> Hi Marek, >> >> Hi! >> >>> [..] >>> >>> I skipped booting from QSPI and started all over with a vanilla > 2016.05 and

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-23 Thread Sylvain Lesne
Hi Marek, Christian, On 06/23/2016 03:07 PM, Marek Vasut wrote: > On 06/22/2016 06:37 PM, Christian Didriksson wrote: >> Hi Marek, > > Hi! > >> [..] >> >> I skipped booting from QSPI and started all over with a vanilla 2016.05 and built the u-boot-with-spl.sfp. Put it on an SD-card and booted: >>

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-23 Thread Marek Vasut
On 06/22/2016 06:37 PM, Christian Didriksson wrote: > Hi Marek, Hi! > [..] > > I skipped booting from QSPI and started all over with a vanilla 2016.05 and > built the u-boot-with-spl.sfp. Put it on an SD-card and booted: > > U-Boot SPL 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14) >

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-22 Thread Christian Didriksson
Hi Marek, [..] I skipped booting from QSPI and started all over with a vanilla 2016.05 and built the u-boot-with-spl.sfp. Put it on an SD-card and booted: U-Boot SPL 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14) drivers/ddr/altera/sequencer.c: Preparing to start memory calibration

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-21 Thread Christian Didriksson
> On 06/21/16 17:30, Christian Didriksson wrote: > > Some more comments inline > > > >> > >>> On 06/20/2016 06:04 PM, Christian Didriksson wrote: > Hi, > >>> > >>> Hi, > >>> > > On 06/20/2016 03:22 PM, Christian Didriksson wrote: > >> Hi Marek, > > > > Hi, > > > >>>

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-21 Thread Marek Vasut
On 06/21/16 17:30, Christian Didriksson wrote: Some more comments inline On 06/20/2016 06:04 PM, Christian Didriksson wrote: Hi, Hi, On 06/20/2016 03:22 PM, Christian Didriksson wrote: Hi Marek, Hi, On 06/17/2016 04:39 PM, Christian Didriksson wrote: Hi Marek, Hi I applied the

[U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-21 Thread Christian Didriksson
Some more comments inline > > > On 06/20/2016 06:04 PM, Christian Didriksson wrote: > > > Hi, > > > > Hi, > > > > >> On 06/20/2016 03:22 PM, Christian Didriksson wrote: > > >>> Hi Marek, > > >> > > >> Hi, > > >> > > On 06/17/2016 04:39 PM, Christian Didriksson wrote: > > > Hi Marek, > >

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-21 Thread Christian Didriksson
> On 06/20/2016 06:04 PM, Christian Didriksson wrote: > > Hi, > > Hi, > > >> On 06/20/2016 03:22 PM, Christian Didriksson wrote: > >>> Hi Marek, > >> > >> Hi, > >> > On 06/17/2016 04:39 PM, Christian Didriksson wrote: > > Hi Marek, > > Hi > > > I applied the two

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-20 Thread Marek Vasut
On 06/20/2016 06:04 PM, Christian Didriksson wrote: > Hi, Hi, >> On 06/20/2016 03:22 PM, Christian Didriksson wrote: >>> Hi Marek, >> >> Hi, >> On 06/17/2016 04:39 PM, Christian Didriksson wrote: > Hi Marek, Hi > I applied the two patches you suggested, but got no

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-20 Thread Christian Didriksson
;>> > >>>>>>> and it does not work. My question: > >>>>>>> > >>>>>>> Has anyone else tested SPL/u-boot on an Altera CV socdk Rev E1 > >>>>>>> board > >>>>>> recently (like 2016.05)? U

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-20 Thread Marek Vasut
C1 . I remember >>>>>> Dinh >>>>>> (CCed) did send a patch for the rev. E board , so I assume he did >>>>>> test it, but those were only pinmux changes and it should be part >>>>>> of the >>>>>> v2016.05

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-20 Thread Christian Didriksson
6 -0500 > >>>> > >>>> arm: socfpga: Update iomux and pll for c5 socdk RevE > >>>> > >>>> Another thing which comes to mind is the change in size of SPL, > >>>> that might be worth looking at. Can you check the size of the

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-17 Thread Dinh Nguyen
Trying to respond inline: On 06/17/2016 09:39 AM, Christian Didriksson wrote: > Hi Marek, > > I applied the two patches you suggested, but got no change in behavior: > > U-Boot SPL 2016.05-ga0bd0e7-dirty (Jun 17 2016 - 16:32:35) > drivers/ddr/altera/sequencer.c: Preparing to start memory

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-17 Thread Marek Vasut
dk RevE >>>> >>>> Another thing which comes to mind is the change in size of SPL, that >>>> might be worth looking at. Can you check the size of the SPL, u-boot-spl- >> dtb.bin ? >>>> >>> >>> 54534 bytes >> >> Try

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-17 Thread Christian Didriksson
tches: > https://patchwork.ozlabs.org/patch/627868/ > https://patchwork.ozlabs.org/patch/627869/ > > >> I just tested the rev C socdk with 2016.05 and it boots for me. I > >> will send you the binary I used off-list. > >> > > > > Does this SPL (loaded from

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-16 Thread Marek Vasut
ut it should just as well load from QSPI if the board is configured that way. >>> Best regards, >>> >>> Christian >>> >>> -Ursprungligt meddelande- >>> Från: U-Boot [mailto:u-boot-boun...@lists.denx.de] För Christian >>> Di

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-16 Thread Christian Didriksson
ernel.org> > Date: Tue May 10 15:13:59 2016 -0500 > > arm: socfpga: Update iomux and pll for c5 socdk RevE > > Another thing which comes to mind is the change in size of SPL, that might be > worth looking at. Can you check the size of the SPL, u-boot-spl-dtb.bin

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-15 Thread Marek Vasut
ll send you the binary I used off-list. > Best regards, > > Christian > > -Ursprungligt meddelande- > Från: U-Boot [mailto:u-boot-boun...@lists.denx.de] För Christian Didriksson > Skickat: den 9 juni 2016 20:15 > Till: u-boot@lists.denx.de > Ämne: [U-Boot] socfpga 2

Re: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-15 Thread Christian Didriksson
] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI Hi All, I have been struggling for quite some time now to get SPL and u-boot to run from QSPI-flash. Yesterday I was able to identify a workaround to get the SPL going by disabling quad mode for the flash (seems

[U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI

2016-06-09 Thread Christian Didriksson
Hi All, I have been struggling for quite some time now to get SPL and u-boot to run from QSPI-flash. Yesterday I was able to identify a workaround to get the SPL going by disabling quad mode for the flash (seems identified by http://lists.denx.de/pipermail/u-boot/2016-June/256671.html).