mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: you xiaojie <84640926@qq.com>
Cc: barebox@lists.infradead.org
Subject: Re: bug report: fail to boot barebox in marvell 6281 board
Date: Wed, 1 Apr 2020 08:08:00 +0200	[thread overview]
Message-ID: <20200401060800.GA27288@pengutronix.de> (raw)
In-Reply-To: <1640881.QuR4u4vfdf@allan-home>

Hi,

On Wed, Apr 01, 2020 at 12:12:12AM +0800, you xiaojie wrote:
> I ported barebox to a new board similar to guruplug, but it could not boot, 
> only show a line of barebox 2020.03.0-....., and I try official guruplug also 
> stopped. the devicetree is ok under linux 5.4 and the kwbimage.cfg is ok I 
> think, according to the 6281's datasheet and compared with the original 
> register value of machine.
> 
> so any can try guruplug's barebox? this is my porting patch, is there 
> something wrong?

The patch looks good from a first glance.

If you have an old version that works on the Guruplug then you could try
bisecting the problem.

Otherwise, the CONFIG_DEBUG_INITCALLS option helps you see where it
stops.

There's also early printing support which you can enable with
CONFIG_DEBUG_LL (Also set CONFIG_MVEBU_CONSOLE_UART correctly then).
I am not sure where it stops, when you see the barebox banner then this
seems to suggest that you already have a working console, so this might
not be needed.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2020-04-01  6:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 16:12 you xiaojie
2020-04-01  6:08 ` Sascha Hauer [this message]
2020-03-31 16:24 you xiaojie
2020-03-31 16:30 youxiaojie
2020-04-02  7:03 ` you xiaojie
2020-04-02  7:41   ` Sascha Hauer
2020-04-02  8:02     ` you xiaojie
2020-04-02  9:25       ` Sascha Hauer
2020-04-02 10:58         ` you xiaojie

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=20200401060800.GA27288@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=84640926@qq.com \
    --cc=barebox@lists.infradead.org \
    /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