Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

Marek Vasut marex at denx.de
Wed Aug 19 21:28:39 CEST 2020


On 8/19/20 8:35 PM, Ralph Siemsen wrote:
> Hi Wolfgang et al.,
> 
> On Fri, Aug 07, 2020 at 05:49:13PM +0200, Wolfgang Grandegger wrote:
>>
>>
>> Am 07.08.20 um 17:05 schrieb Dinh Nguyen:
>>>
>>> On 8/6/20 7:36 AM, Wolfgang Grandegger wrote:
>>>> Am 06.08.20 um 13:04 schrieb Marek Vasut:
>>>>> On 8/6/20 12:53 PM, Wolfgang Grandegger wrote:
>>>>>> This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73.
>>>>>>
>>>>>> Conflicts:
>>>>>>     arch/arm/mach-socfpga/misc_gen5.c
>>>>>>
>>>>>> Without socfpga_sdram_apply_static_cfg(), the system hangs when Linux
>>>>>> calls altvipfb2_start_hw() of the Intel Video and Image
>>>>>> Processing(VIP)
>>>>>> Frame Buffer II driver (drivers/video/fbdev/altvipfb2.c)
>>>>>
>>>>> There is no such driver in mainline U-Boot or Linux.
>>>>
>>>> It's a simple frame buffer driver from linux-socfpga for the IP core
>>>> Intel Video and Image Processing(VIP) Frame Buffer II.
> 
> Just a note that I am seeing the same problem, also on Cyclone V, but
> with a different IP block in the FPGA. I'm using the Altera/Intel triple
> speed Ethernet, which is supported by drivers/net/altera_tse.c driver.
> 
> With earlier u-boot (tested 2018.03) it worked fine. But with 2020.04
> and 2020.07 the system hangs as soon as I do "ifconfig eth0 up". This
> only happens on cold boot; on warm reboot the eth0 port works fine.
> Reverting c5f4b805755912a3d2fe20 fixes the problem.

Is the F2SDRAM port enabled in your case ?


More information about the U-Boot mailing list