u-boot and FPGA to HPS SDRAM bridge, removed reset bridge in source code
Hello,
we want to use the FPGA to HPS SDRAM bridge in our u-boot linux environment.
We use the altera u-boot-socfpga uboot.
Every first time the kernel hang/crashes, if we want to write trough the bridge.
After an warm reset everything works, we change nothing but boot only.
After a lot time of research we have found the issue.
Following function was removed from source:
u-boot-socfpga/arch/arm/mach-socfpga/misc_gen5.c
ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()
https://github.com/altera-opensource/u-boot-socfpga/commit/fce0cb41a42d46f9010b32e24c4c18e26da90a28#diff-522d7514a9bca857cf53abeb466c50e1
without this function we cant use the bridge, for the first cold boot!
See here
https://lists.denx.de/pipermail/u-boot/2020-February/399385.html
Can Altera/Intel clarify how to initialize the bridge config bits, and fix this in the source?
Thanks a lot