All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 0/2] imx: support for conga-QMX8 board
Date: Wed, 4 Nov 2020 16:44:38 +0100	[thread overview]
Message-ID: <20201104154438.GC23897@optiplex> (raw)
In-Reply-To: <20200616142724.11559-1-oliver.graute@kococonnector.com>

On 16/06/20, Oliver Graute wrote:
> Second patch is still needed for booting. Tipps to get rid of that patch would
> be helpfull.
> 
> Between u-boot-imx-20200511 and u-boot-imx-20200609 something more is broken,
> I run into this issue:
> 
> U-Boot 2020.07-rc3-00002-gbf3f929aa6 (Jun 16 2020 - 14:36:58 +0200)
> 
> CPU:   NXP i.MX8QM RevB A53 at 1200 MHz
> 
> Model: Congatec QMX8 Qseven series
> Board: conga-QMX8
> Build: SCFW 494c97f3, SECO-FW d7523fe8, ATF 09c5cc9
> Boot:  SD2
> DRAM:  6 GiB
> Device 'gpio at 5d090000': seq 0 is in use by 'gpio at 5d080000'
> Device 'gpio at 5d0a0000': seq 1 is in use by 'gpio at 5d090000'
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... OK
> In:    serial at 5a060000
> Out:   serial at 5a060000
> Err:   serial at 5a060000
> "Synchronous Abort" handler, esr 0x96000004
> elr: 000000008005cf48 lr : 0000000080022f94 (reloc)
> elr: 00000000fff22f48 lr : 00000000ffee8f94
> x0 : fffffffffdaf3540 x1 : 00000000fff2d8a0
> x2 : 0000000000000000 x3 : 0000000000000000
> x4 : 0000000000000000 x5 : fffffffffdaf3540
> x6 : 00000000fff068a8 x7 : 00000000fff3bca0
> x8 : 00000000fdaf3ac0 x9 : 0000000000000008
> x10: 00000000fdaecb30 x11: 00000000fdaefdd0
> x12: 0000000000000000 x13: 0000000000000200
> x14: 00000000fdadebf8 x15: 00000000ffffffff
> x16: 0000000000001080 x17: 0000000000000000
> x18: 00000000fdae4da0 x19: 0000000000000002
> x20: 00000000fff3b000 x21: 000000007fec6000
> x22: 0000000000000000 x23: 0000000000000000
> x24: 0000000000000000 x25: 0000000000000000
> x26: 0000000000000000 x27: 0000000000000000
> x28: 0000000000000000 x29: 00000000fdadfd90
> 
> Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4)
> Resetting CPU ...
> 
> resetting ...

Currently I try to rebase this patch to v2020.10. But still run into
crashes. After some fun with bisect I could blame this commit:

commit 09140113108541b95d340f3c7b6ee597d31ccc73
Author: Simon Glass <sjg@chromium.org>
Date:   Sun May 10 11:40:03 2020 -0600

    command: Remove the cmd_tbl_t typedef


09140113108541b95d340f3c7b6ee597d31ccc73 BAD
691d719db7183dfb1d1360efed4c5e9f6899095f GOOD

But I assume that I need to fix something on my patch. Perhaps someone
could comment and help me on this.

Best regards,

Oliver


U-Boot 2020.07-rc2-00147-g17a341f285 (Nov 04 2020 - 16:13:36 +0100)

sc_pm_get_clock_rate: resource:507 clk:2: res:3
Could not read CPU frequency: -22
CPU:   NXP i.MX8QM RevB A35 at 0 MHz

Model: Congatec QMX8 Qseven series
Board: conga-QMX8
Build: SCFW 494c97f3, SECO-FW d7523fe8, ATF 09c5cc9
Boot:  SD2
DRAM:  6 GiB
Device 'gpio at 5d090000': seq 0 is in use by 'gpio at 5d080000'
Device 'gpio at 5d0a0000': seq 1 is in use by 'gpio at 5d090000'
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
"Synchronous Abort" handler, esr 0x96000004
elr: 000000008005cf54 lr : 0000000080022f94 (reloc)
elr: 00000000fff22f54 lr : 00000000ffee8f94
x0 : fffffffffdaf0e40 x1 : 00000000fff2d89f
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 0000000000000000 x5 : fffffffffdaf0e40
x6 : 00000000fff068f4 x7 : 00000000fff3bca0
x8 : 00000000fdaf1390 x9 : 0000000000000008
x10: 00000000fdaec9a0 x11: 00000000fdaee528
x12: 0000000000000000 x13: 0000000000000200
x14: 00000000fdadebf8 x15: 00000000ffffffff
x16: 0000000000001080 x17: 0000000000000000
x18: 00000000fdae4da0 x19: 0000000000000002
x20: 00000000fff3b000 x21: 000000007fec6000
x22: 0000000000000000 x23: 0000000000000000
x24: 0000000000000000 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000000000000 x29: 00000000fdadfd90

Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4)
Resetting CPU ...

resetting ...

      parent reply	other threads:[~2020-11-04 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 14:27 [PATCH v3 0/2] imx: support for conga-QMX8 board Oliver Graute
2020-06-16 14:27 ` [PATCH v3] " Oliver Graute
2020-07-16  9:02   ` Stefano Babic
2020-06-16 14:27 ` [PATCH 2/2] hack to boot with 2020.01 Oliver Graute
2020-06-16 15:31   ` Tom Rini
2020-11-04 15:44 ` Oliver Graute [this message]

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=20201104154438.GC23897@optiplex \
    --to=oliver.graute@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.