public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: u-boot@lists.denx.de
Subject: imxrt1020 EVK u-boot doesn't run.
Date: Sun, 4 Apr 2021 20:51:05 +0200	[thread overview]
Message-ID: <c44f094e-1692-e19e-51e6-534bb9233ac5@benettiengineering.com> (raw)
In-Reply-To: <272f3983-6f31-ed22-f7f2-419c327ecaf0@benettiengineering.com>

Hi Nicolas,

On 4/4/21 7:56 PM, Giulio Benetti wrote:
>>> Would you have any idea what is going on?
> 
> I've just entered debugging and two things came out:
> 1) in board/freescale/imxrt-1020-evk/imxrt1020-evk.c when calling
> spl_dram_init() there is some printf() inside that gets called, but that
> happens before calling preloader_console_init() that set serial up, so
> this is the reason why there is no output at all.

Can you please try to apply this patch [1] to check if uart starts to 
work and giving you this message [2]?

[1]: 
https://patchwork.ozlabs.org/project/uboot/patch/20210404182135.1243077-1-giulio.benetti at benettiengineering.com/
[2]: ```
U-Boot SPL 2021.04-rc5-00518-ga0da06d2f8-dirty (Apr 04 2021 - 19:49:47 
+0200)
Could not initialize timer (err -19)
      ```

Thank you
-- 
Giulio Benetti
Benetti Engineering sas

> 2) I've completely ignored(wrongly) having a timer and at that time
> u-boot allowed it getting a tick-count always at 0, so every delay
> called return immediatly with 0. This is not possible anymore and I need
> to finish writing gpt-timer driver I was writing.
> 
> So please let me finish that gpt-driver timer and I'll send patches to
> fix imxrt1020/50-evk.
> 
>>> I really appreciate your help, sorry to bother you, but I'm breaking my
>>> mind thinking why this doesn't run on my EVK.
>>>
>>> Many thanks.
> 
> Best regards
> and happy easter! :-)
> 

  reply	other threads:[~2021-04-04 18:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-03 22:51 imxrt1020 EVK u-boot doesn't run Nicolás Muratore
2021-04-04 13:36 ` Fabio Estevam
2021-04-04 14:48   ` Giulio Benetti
2021-04-04 17:56   ` Giulio Benetti
2021-04-04 18:51     ` Giulio Benetti [this message]
2021-04-05 14:33       ` Nicolás Muratore
2021-04-05 15:07         ` Giulio Benetti
2021-04-07 19:16           ` Giulio Benetti

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=c44f094e-1692-e19e-51e6-534bb9233ac5@benettiengineering.com \
    --to=giulio.benetti@benettiengineering.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox