All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Harvey <tharvey@gateworks.com>
To: u-boot@lists.denx.de
Subject: [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image
Date: Fri, 9 Apr 2021 17:32:02 -0700	[thread overview]
Message-ID: <CAJ+vNU3NDsgcoS7OX66fc1-YBWid2rH6inrSsXXv5xuoU_UZgg@mail.gmail.com> (raw)
In-Reply-To: <CAJ+vNU1wA7mU5U7XS6pYNre4-uB9AbykC5j6R=Vsdh3gfT0uYg@mail.gmail.com>

On Fri, Apr 9, 2021 at 1:14 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> On Fri, Apr 9, 2021 at 1:08 PM Tim Harvey <tharvey@gateworks.com> wrote:
> >
> > On Fri, Apr 9, 2021 at 1:00 PM Stefano Babic <sbabic@denx.de> wrote:
> > >
> > > Hi Tim,
> > >
> > > On 09.04.21 21:52, Tim Harvey wrote:
> > > > On Thu, Apr 8, 2021 at 1:57 PM <sbabic@denx.de> wrote:
> > > >>
> > > >>> In preparation for dm conversion convert to OF_CONTROL by adding FIT image
> > > >>> support and multi dtb.
> > > >>> Add a board_fit_config_name_match to match the dtb based off of EEPROM
> > > >>> model.
> > > >>> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> > > >> Applied to u-boot-imx, master, thanks !
> > > >>
> > > >> Best regards,
> > > >> Stefano Babic
> > > >>
> > > >
> > > > Stefano,
> > > >
> > > > Something broke apparently between the branch I had my patches on top
> > > > of and u-boot-imx/master that these got merged in. My board is hanging
> > > > at dram_init_banksize - did something change recently that you are
> > > > aware of that may require some changes on my end?
> > > >
> > >
> > > There are a lot of changes, but they are related to i.MX8. I have not
> > > merged something for i.MX6 that can justify this behavior. So I do not
> > > know - have you compared the two branches, at least for Ventana boards ?
> > >
> >
> > It's hanging at arch/arm/mach-imx/spl.c:dram_init_banksize on
> > 'gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE' so I suppose
> > something is wrong with gd.
>
> specifically gd->bd is NULL. I'll have to track down how that gets setup.
>

Stefano,

commit 38d6b7ebdaee ("spl: Drop bd_info in the data section") is the
culprit which breaks IMX boards using SPL that don't define
SPL_ALLOC_BD. There is another thread regarding if that commit should
be reverted or if instead it can be fixed (ie by defining
SPL_ALLOC_BD) so probably not worth discussing in this thread anymore.

Best regards,

Tim

  reply	other threads:[~2021-04-10  0:32 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 22:33 [PATCH 00/11] imx: ventana: convert Gateworks Ventana to dm Tim Harvey
2021-03-01 22:33 ` [PATCH 01/11] spl: fit: nand: skip bad block handling if NAND chip not fully defined Tim Harvey
2021-03-02 13:28   ` Tom Rini
2021-04-08 20:57   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 02/11] spl: fit: nand: allow for non-page-aligned elements Tim Harvey
2021-03-02 13:28   ` Tom Rini
2021-04-08 20:58   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 03/11] dt-bindings: add tda1997x and bindings Tim Harvey
2021-03-02 13:28   ` Tom Rini
2021-04-08 20:57   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 04/11] imx: ventana: add Gateworks Ventana dts Tim Harvey
2021-04-08 20:57   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 05/11] arm: dts: imx6qdl-gw*: add dr_mode prop to dt to avoid error Tim Harvey
2021-04-05 21:27   ` Peter Robinson
2021-04-05 23:46     ` Tim Harvey
2021-04-08 20:57   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image Tim Harvey
2021-04-08 20:57   ` sbabic at denx.de
     [not found]   ` <606f6e37.1c69fb81.a6d7.559aSMTPIN_ADDED_MISSING@mx.google.com>
2021-04-09 19:52     ` Tim Harvey
2021-04-09 20:00       ` Stefano Babic
2021-04-09 20:08         ` Tim Harvey
2021-04-09 20:14           ` Tim Harvey
2021-04-10  0:32             ` Tim Harvey [this message]
2021-03-01 22:33 ` [PATCH 07/11] imx: ventana: add pinctrl and remove unneeded UART init and config Tim Harvey
2021-04-08 20:57   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 08/11] imx: ventana: enable dm support for USB Tim Harvey
2021-04-08 20:59   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 09/11] imx: ventana: enable dm support for MMC and SATA Tim Harvey
2021-03-01 22:48   ` Peter Robinson
2021-03-02  0:19     ` Fabio Estevam
2021-03-02  1:41       ` Tim Harvey
2021-03-02 13:28         ` Tom Rini
2021-03-03  1:15     ` Kever Yang
2021-04-08 20:58   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 10/11] imx: ventana: enable dm for MTD and NAND Tim Harvey
2021-04-08 20:59   ` sbabic at denx.de
2021-03-01 22:33 ` [PATCH 11/11] imx: ventana: enable dm for SPI Tim Harvey
2021-04-08 20:57   ` sbabic at denx.de
2021-03-25 13:59 ` [PATCH 00/11] imx: ventana: convert Gateworks Ventana to dm Tim Harvey

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=CAJ+vNU3NDsgcoS7OX66fc1-YBWid2rH6inrSsXXv5xuoU_UZgg@mail.gmail.com \
    --to=tharvey@gateworks.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.