All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] mx6sabreauto: set SYS_MALLOC_F for video
Date: Tue, 4 Jun 2019 02:49:32 +0000	[thread overview]
Message-ID: <AM0PR04MB4481B5689BE089711B58B34888150@AM0PR04MB4481.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20190603190029.10373-6-sjoerd.simons@collabora.co.uk>

> Subject: [PATCH 5/5] mx6sabreauto: set SYS_MALLOC_F for video
> 
> Sabre Auto boards currently hang with:
> ```
> U-Boot 2019.07-rc3-00057-gc41940c406 (Jun 03 2019 - 14:42:41 +0200)
> 
> CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
> CPU:   Automotive temperature grade (-40C to 125C)Reset cause: WDOG
> Model: Freescale i.MX6 Quad Plus SABRE Automotive Board
> Board: MX6Q-Sabreauto revA
> I2C:   ready
> DRAM:  2 GiB
> Video device 'ipu at 2400000' cannot allocate frame buffer memory -ensure
> the device is set up before relocation Error binding driver 'ipuv3_video': -28
> Video device 'ipu at 2800000' cannot allocate frame buffer memory -ensure
> the device is set up before relocation Error binding driver 'ipuv3_video': -28
> Some drivers failed to bind Error binding driver 'generic_simple_bus': -28
> Some drivers failed to bind initcall sequence 8ffe00b8 failed at call 1780e93b
> (err=-28) ```
> 
> Set SYS_MALLOC_F_LEN to reserve_video to work.
> 
> This is similar to the change Peng Fan did for mx6sabresd (9002e735e717)
> 
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> 
> ---
> 
>  configs/mx6sabreauto_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/mx6sabreauto_defconfig
> b/configs/mx6sabreauto_defconfig index 6903048d85..558b1cd996 100644
> --- a/configs/mx6sabreauto_defconfig
> +++ b/configs/mx6sabreauto_defconfig
> @@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x17800000
> CONFIG_SPL_GPIO_SUPPORT=y  CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> +CONFIG_SYS_MALLOC_F_LEN=0x4000
>  CONFIG_TARGET_MX6SABREAUTO=y
>  CONFIG_SPL_MMC_SUPPORT=y
>  CONFIG_SPL_SERIAL_SUPPORT=y
> @@ -11,7 +12,6 @@ CONFIG_NR_DRAM_BANKS=1  CONFIG_SPL=y
> CONFIG_SPL_LIBDISK_SUPPORT=y  CONFIG_NXP_BOARD_REVISION=y -#
> CONFIG_SYS_MALLOC_F is not set  CONFIG_FIT=y
> CONFIG_SPL_FIT_PRINT=y  CONFIG_SPL_LOAD_FIT=y
> --

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> 2.20.1

  reply	other threads:[~2019-06-04  2:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03 19:00 [U-Boot] [PATCH 0/5] Enable usage of SDP for i.MX6 Sabre Auto Boards Sjoerd Simons
2019-06-03 19:00 ` [U-Boot] [PATCH 1/5] mx6sabreauto: Remove CONFIG_SPL_DM to decrease the SPL size Sjoerd Simons
2019-06-04  2:48   ` Peng Fan
2019-06-03 19:00 ` [U-Boot] [PATCH 2/5] mx6sabreauto: Select pinctrl driver Sjoerd Simons
2019-06-04  2:49   ` Peng Fan
2019-06-04 14:15   ` Fabio Estevam
2019-06-04 20:09     ` Sjoerd Simons
2019-06-03 19:00 ` [U-Boot] [PATCH 3/5] mx6sabreauto: Enable SPL SDP support Sjoerd Simons
2019-06-03 19:00 ` [U-Boot] [PATCH 4/5] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP Sjoerd Simons
2019-06-03 19:17   ` Fabio Estevam
2019-06-03 19:30     ` Sjoerd Simons
2019-06-03 21:18   ` Lukasz Majewski
2019-06-04  7:09   ` Schrempf Frieder
2019-06-04 13:50     ` Fabio Estevam
2019-06-03 19:00 ` [U-Boot] [PATCH 5/5] mx6sabreauto: set SYS_MALLOC_F for video Sjoerd Simons
2019-06-04  2:49   ` Peng Fan [this message]
2019-06-03 21:15 ` [U-Boot] [PATCH 0/5] Enable usage of SDP for i.MX6 Sabre Auto Boards Lukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR04MB4481B5689BE089711B58B34888150@AM0PR04MB4481.eurprd04.prod.outlook.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.