[U-Boot] FPGA detection failure on Cyclone V soc development kit

Marek Vasut marex at denx.de
Mon Feb 1 23:50:45 CET 2016


On Monday, February 01, 2016 at 11:25:46 PM, Dinh Nguyen wrote:
> On 01/22/2016 10:35 AM, Dinh Nguyen wrote:
> > On 01/21/2016 10:31 AM, Marek Vasut wrote:
> >> On Thursday, January 21, 2016 at 05:20:33 PM, Måns Rullgård wrote:
> >>> Tom Rini <trini at konsulko.com> writes:
> >>>> On Wed, Jan 20, 2016 at 08:31:30PM +0000, Måns Rullgård wrote:
> >>>>> I'm having a problem with u-boot 2016.01 failing to detect the FPGA
> >>>>> on my Altera Cyclone V SoC Development Kit.  On startup, it simply
> >>>>> prints "FPGA: Not Altera chip ID" (the ID having been read as
> >>>>> all-zero).  No amount of messing with jumpers or switches makes a
> >>>>> difference.  The software on the SD card included in the box appears
> >>>>> to work, so on a whim I took the SPL pre-loader from this card and
> >>>>> combined it with the main 2016.01 u-boot.  This makes the detection
> >>>>> succeed, despite Marek baulking at this idea.  The "good" SPL
> >>>>> identifies as "U-Boot SPL 2013.01.01 (Dec 04 2014 - 08:59:41)" which
> >>>>> is a different build date than the main u-boot on the same SD card,
> >>>>> so which source code version it was built from is anyone's guess.
> >>>>> 
> >>>>> What's interesting is that Marek's board works with u-boot 2016.01
> >>>>> while mine fails even with the very same binary.  The boards are
> >>>>> different revisions (his 100-0321003-C1, mine -E1), and the main
> >>>>> Cyclone V chips are also different (his 5CSXFC6D6F31C8NES, mine
> >>>>> 5CSXFC6D6F31C6N).
> >>>>> 
> >>>>> Any suggestions for what to try next?
> >>>> 
> >>>> v2016.01 release or to of tree?  If top of tree, try
> >>>> http://patchwork.ozlabs.org/patch/570009/
> >>> 
> >>> Tried release, top of tree, and top of tree with that patch.  Nothing
> >>> works.
> >> 
> >> btw. you dropped Dinh from the CC .
> > 
> > Sorry, but I haven't had a chance to take a look at this. I'll try to
> > looking this in the following week.
> 
> It seems to work on older Cyclone V chips. I have the latest devkit,
> which has the 5CSXFC6D6F31C6N chip, and I cannot get an FPGA ID. My
> older devkit has a 5CSXFC6D6F31C8NES chip, and I can get the FPGA's ID.

This indeed matches my observations. My CV SoCDK also has an older chip,
ES even, and I can detect the FPGA ID.

> I'll have ask around on what changes were done with the later Cyclone V
> chips.

Thanks!

Best regards,
Marek Vasut


More information about the U-Boot mailing list