All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: rk3399: SPI boot: Return from ROM unsuccessful (with TPL)
Date: Wed, 20 May 2020 17:38:48 +0530	[thread overview]
Message-ID: <CAMty3ZD1U5FhyhEE_BwhOd70KLMy8gZWxrRTBfzrBnHkHnc8VQ@mail.gmail.com> (raw)

It seems like SPI boot on rk3399 with TPL based is unable to return
from ROM or switching to from TPL to SPL is unsuccessful.

I have verified board_init_f on spl.c and the control is not even
reached here. On the other hand the SPL-alone boot flow works fine
from SPI.

SPI boot log:

U-Boot TPL 2020.07-rc2-00047-gd2ebbbd0e6,`irty (May 20 2020 - 17:22:25)
Channel 0: LPDDR4, 50MHz
BW=30 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Shze=2048LB
Channel 1: LPDR4,50MHz
BW=32 CoL=10 Bk=8 CR0 Row=15 CS1 Row=15 CS=2 Die BW=16 Cize=2048LB
256B stride
256B spride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate8 changE freq to 800000000 mhz 0, 0
Trying to bont from BOOTROM
Returning to boot ROM...

Any inputs?

Jagan.

             reply	other threads:[~2020-05-20 12:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 12:08 Jagan Teki [this message]
2020-05-23 18:10 ` rk3399: SPI boot: Return from ROM unsuccessful (with TPL) Suniel Mahesh
2020-05-24 10:21 ` Hugh Cole-Baker
2020-05-24 19:00   ` Suniel Mahesh
2020-05-24 21:25     ` Hugh Cole-Baker
2020-05-25  7:58       ` Jagan Teki
2020-05-27 14:49 ` Jagan Teki

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=CAMty3ZD1U5FhyhEE_BwhOd70KLMy8gZWxrRTBfzrBnHkHnc8VQ@mail.gmail.com \
    --to=jagan@amarulasolutions.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.