All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH] imx8mp_evk: Make SPL binary size smaller
Date: Thu, 7 May 2020 23:56:07 -0300	[thread overview]
Message-ID: <CAOMZO5DwG6=MPUpuxB6uXGyudMUukRUp8z8WLjhZH=BkaaEUnQ@mail.gmail.com> (raw)
In-Reply-To: <7b39a364-0ca4-b74e-dd7b-61ae58dab229@denx.de>

Hi Marek,

On Thu, May 7, 2020 at 10:40 PM Marek Vasut <marex@denx.de> wrote:

> Disable tiny printf in SPL, because that's really broken with
> dm_dump_all(), run dm_dump_all() just after power_init_board() in
> board/freescale/imx8m{p,q}_evk/spl.c  and compare the results. There is
> likely gonna be a missing driver, my bet would still be on the clock.

That's a good suggestion. Yes, the clock drivers are missing for i.MX8MP.

Here is the comparison against a i.MX8MM EVK:
https://pastebin.com/raw/XVc6AAvr

I will activate them on SPL tomorrow.

Also, I noticed that i.MX8MM EVK has the following watchdog issues on master:

U-Boot SPL 2020.07-rc1-00387-g67887903af (May 07 2020 - 23:49:27 -0300)
Normal Boot
WDT:   Started without servicing (60s timeout)
Trying to boot from MMC1


U-Boot 2020.07-rc1-00387-g67887903af (May 07 2020 - 23:49:27 -0300)

CPU:   Freescale i.MX8MMQ rev1.0 at 1200 MHz
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM:  2 GiB
WDT:   Started without servicing (60s timeout)
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet at 30be0000 using MAC address from ROM
eth0: ethernet at 30be0000
Hit any key to stop autoboot:  0
u-boot=>

It reboots after staying 60s in the U-Boot prompt.

Thanks

  reply	other threads:[~2020-05-08  2:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 12:00 [PATCH] imx8mp_evk: Make SPL binary size smaller Fabio Estevam
2020-05-07 12:02 ` Marek Vasut
2020-05-07 12:08 ` Harald Seiler
2020-05-07 12:37   ` Fabio Estevam
2020-05-08  1:07 ` Fabio Estevam
2020-05-08  1:40   ` Marek Vasut
2020-05-08  2:56     ` Fabio Estevam [this message]
2020-05-08  2:59       ` Marek Vasut
2020-05-08  3:34         ` Fabio Estevam
2020-05-08  4:53       ` Fabio Estevam
2020-05-08 11:49         ` Fabio Estevam
2020-05-08 11:57           ` Marek Vasut
2020-05-08 12:04             ` Fabio Estevam
2020-05-08 12:04               ` Marek Vasut
2020-05-08 15:54                 ` Fabio Estevam
2020-05-10 14:32   ` Peng Fan
2020-05-10 14:34     ` Marek Vasut

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='CAOMZO5DwG6=MPUpuxB6uXGyudMUukRUp8z8WLjhZH=BkaaEUnQ@mail.gmail.com' \
    --to=festevam@gmail.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.