All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: U-Boot: wandboard ethernet problem with newest mainline
Date: Wed, 8 Jan 2020 06:41:06 +0100	[thread overview]
Message-ID: <8272031b-da8d-06b8-bc19-6986634450ac@denx.de> (raw)
In-Reply-To: <CAOMZO5BqABma3G56_oS5=EuJTKEk_3pfr=Vyj7w-z3by8tJfAQ@mail.gmail.com>

Hi Fabio!

happy new year! Hope you are fine?

I just builded the newest mainline U-Boot code for the wandboard, and
I get:

U-Boot SPL 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100)
Trying to boot from MMC1


U-Boot 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100)

CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
Reset cause: WDOG
DRAM:  1 GiB
PMIC:  pmic_get() ret -19
MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Wandboard i.MX6 Dual Lite Board rev B1
Board: Wandboard rev B1
Net:   Could not get PHY for FEC0: addr 1
Could not get PHY for FEC0: addr 1
No ethernet found.

Hit any key to stop autoboot:  0
=>

Ethernet does not work, also pmic setup seems buggy... Hmm pmic is not
detected, and later board revision is B1 instead D1... I think thats
the root cause of the problem...

Attached a bootlog from an older, working version [1].

Ok, I tried to bisect it, but bisecting does not work, as there are
commits, which does not build for wandboard :-(

Looking into git history, there is a commit from you:

commit 5b858582512883b8a85d74e108873f9beed1e954
Author: Fabio Estevam <festevam@gmail.com>
Date:   Wed Jun 12 12:34:40 2019 -0300

     wandboard: Add FIT image support

     After the transition to DM, only the mx6dl/solo wandboard
     is supported.

     Add FIT image support so that all the wandboard variants
     can be supported, like it was prior to the DM conversion.

     Successfully booted Linux on mx6q/solo/qp wandboards.

So it worked for you? I flashed the u-boot-fit-dtb.bin instead of
u-boot-dtb.bin, but this leads to:

resetting ...

U-Boot SPL 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:25:09 +0100)
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
spl: ext4fs_open failed
spl_load_image_ext: error reading image u-boot-dtb.img, err - -1
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Same with u-boot-with-spl.imx flashed.

I am sure I make here something wrong... any ideas?

Attached also a working bootlog with an older version [1].

Thanks!

bye,
Heiko

[1] working U-Boot bootlog:
U-Boot SPL 2019.04-rc4-tbot-00111-gab8fc41 (Jan 08 2020 - 06:18:50 +0100)
Trying to boot from MMC1


U-Boot 2019.04-rc4-tbot-00111-gab8fc41 (Jan 08 2020 - 06:18:50 +0100)

CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
Reset cause: WDOG
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Board: Wandboard rev D1
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

  reply	other threads:[~2020-01-08  5:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 14:26 [PATCH] mx6ul_14x14_evk: Fix SPL hang Fabio Estevam
2020-01-06 15:06 ` Tom Rini
2020-01-06 15:20   ` Fabio Estevam
2020-01-07  0:49     ` Fabio Estevam
2020-01-08  5:41       ` Heiko Schocher [this message]
2020-01-08  9:31         ` U-Boot: wandboard ethernet problem with newest mainline Fabio Estevam
2020-01-08  9:36           ` Fabio Estevam
2020-01-08  9:54           ` Stefano Babic
2020-01-08 10:11             ` Heiko Schocher
2020-01-08 11:45               ` Heiko Schocher
2020-01-08 12:06                 ` Fabio Estevam
2020-01-08 21:11                 ` Fabio Estevam
2020-01-08 19:52         ` Fabio Estevam
2020-01-08 20:26           ` Fabio Estevam
2020-01-09  8:25             ` Heiko Schocher
2020-01-09 11:14               ` Fabio Estevam
2020-01-09 11:33                 ` Heiko Schocher
2020-01-10 14:26                   ` Fabio Estevam

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=8272031b-da8d-06b8-bc19-6986634450ac@denx.de \
    --to=hs@denx.de \
    --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.