Skip to content

arm: socfpga: Usability fixes

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 51 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 51 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/51] arm: socfpga: Usability fixes
Quoted 14 lines · Chin Liang See
Quoted 5 lines · marex at denx.de

This entire series is the second stab at making SoCFPGA usable with mainline U-Boot again. There are much fewer bits missing than in the last series, more cleanup happened and bugs were fixed. This allows me to use mainline U-Boot on my SoCFPGA systems.

Quoted 7 lines

The big missing part is the SPL generation, which still needs a lot of additional work. We also miss the Cadence QSPI controller driver.

This set contains patches for a few subsystems, which are utilized by the SoCFPGA, but the most part is the SoCFPGA chip support. This series now contains cleanup for the mayhem in drivers/fpga/altera.c code, which was terrible, but is now much better.

Quoted 6 lines

Thanks Marek, I tested this series of patches and here are the outcome I have.

SDMMC - Working as I can read and write to SDMMC
Boot - Working as I can boot till Linux
Ethernet - Seems not working for me.

I suspect that's because the ethernet support in the originally upstreamed SoCFPGA code never worked on the SoCDK in the first place. I think the SoCDK uses EMAC1, but the mainline code uses EMAC0 for whatever reason.

Edit include/configs/socfpga_cyclone5.h and change:
-#define CONFIG_EMAC_BASE SOCFPGA_EMAC0_ADDRESS
+#define CONFIG_EMAC_BASE SOCFPGA_EMAC1_ADDRESS

Does this work ?

Quoted 1 line

FPGA programming - Seems not working for me too.

I zap'd the "run bridge_enable_handoff" thing and replaced it with "bridge enable" command. Could that be the case ?

Quoted 2 lines

I will help to look into those features which are not working for me. But this series of patches serves as a good start.

Please let me know if some of the above help first. The network part should and if it does, then I will add a patch. The FPGA part should as well

Also, I separated the patches into smaller groups, which I will resubmit one more time, but you can find a merge of all of them at [1], so you don't have to apply them by hand. Please be advised, that those branches will be replaced with a never ones, that's why there's the timestamp at the end of the name (so check the repository if there is no new topic/arm/socfpga-yyyymmdd). Also, I will likely garbage collect the old ones at some point.

[1] http://git.denx.de/?p=u-boot/u-boot-
socfpga.git;a=shortlog;h=refs/heads/topic/arm/socfpga-20140930

Best regards,
Marek Vasut