From: Tom Rini Date: Wed, 8 Apr 2015 10:04:05 -0400 Subject: [U-Boot] [PATCH v2] ARM: zynq: disable CONFIG_SYS_MALLOC_F to fix MMC boot In-Reply-To: <10f8a787-c835-451a-a63e-2b55907a9b0e@BY2FFO11FD018.protection.gbl> References: <1428470750-13260-1-git-send-email-yamada.masahiro@socionext.com> <10f8a787-c835-451a-a63e-2b55907a9b0e@BY2FFO11FD018.protection.gbl> Message-ID: <20150408140405.GN9524@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 08, 2015 at 10:03:28AM +0200, Michal Simek wrote: > On 04/08/2015 07:25 AM, Masahiro Yamada wrote: > > Since commit 326a682358c1 (malloc_f: enable SYS_MALLOC_F by default > > if DM is on), Zynq MMC boot hangs up after printing the following: > > > > U-Boot SPL 2015.04-rc5-00053-gadcc570 (Apr 08 2015 - 12:59:11) > > mmc boot > > reading system.dtb > > > > Prior to commit 326a682358c1, Zynq boards enabled CONFIG_DM, but > > not CONFIG_SYS_MALLOC_F. That commit forcibly turned on > > CONFIG_SYS_MALLOC_F. I have not figured out the root cause, but > > anyway it looks like CONFIG_SYS_MALLOC_F gave a bad impact on the > > Zynq MMC boot. > > > > We are planning to have the v2015.04 release in a few days. > > I know this is a defensive fixup, but what I can do now is to add > > # CONFIG_SYS_MALLOC_F is not set > > to every Zynq defconfig file to get back the original behavior. > > > > Tested on: > > - Zedboard > > - ZC706 board > > > > Signed-off-by: Masahiro Yamada > > Cc: Michal Simek > > Cc: Simon Glass > > --- > > > > This problem is urgent! > > > > If we cannot find the better solution, please apply this patch > > by the v2015.04 release. > > ^^^^^^^^^^^^^^^^^^^^^^^ > > Tested-by: Michal Simek > > Tom: Can you please add it to your tree? Do you want to do a PR with this (or wait a bit for Simon and Masahiro to root-cause) and your maintainers update or should I just grab that directly too? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: