From: Marek Vasut Date: Wed, 19 Aug 2020 21:28:39 +0200 Subject: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg() In-Reply-To: <20200819183558.GA909@maple.netwinder.org> References: <03387b53-b517-0d54-a620-71ce39c4e903@aries-embedded.de> <2155b8e7-8d00-ec6c-f4cf-711f5d928b84@aries-embedded.de> <20200819183558.GA909@maple.netwinder.org> Message-ID: <392e2fe6-d222-2e2f-adbc-b72b33cd5e7f@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 ?