[U-Boot] Unable to boot from QSPI (u-boot 2016.11-rc1)

Jagan Teki jagannadh.teki at gmail.com
Thu Oct 6 17:31:45 CEST 2016


On Tue, Oct 4, 2016 at 1:10 PM, Teoh Choon Zone
<choon-zone.teoh at vie.com.my> wrote:
> Hi all,
>
> I have a custom board based on Altera Cyclone V SoC, when I tried to boot
> from QSPI, it stuck in a boot loop, I try to enable some debug message, and
> here it is:
>
> U-Boot SPL 2016.09.01 (Oct 03 2016 - 18:14:42)
> drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
> drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
> drivers/ddr/altera/sequencer.c: Calibration complete
> bind node soc
>    - found match at 'generic_simple_bus'
> bind node dwmmc0 at ff704000
>    - found match at 'socfpga_dwmmc'
> Bound device dwmmc0 at ff704000 to soc
> bind node spi at ff705000
>    - found match at 'cadence_spi'
> bind node n25q00 at 0
> No match for node 'n25q00 at 0'
> Bound device spi at ff705000 to soc
> Bound device soc to root_driver
> Trying to boot from SPI
> Bound device spi_flash to spi at ff705000
> SF: Got idcodes
> 00000000x: x x x x x                                      .!.D
>
>
> u-boot from Altera working fine, but I plan to use the mainline u-boot. Any
> idea why it does not work?

Look like some controller init issue for getting RDID, try to probe in
u-boot instead SPL.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list