mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Leigh Brown <leigh@solinno.co.uk>
Cc: Barebox <barebox@lists.infradead.org>
Subject: Re: Help requested with Barebox on Globalscale Mirabox
Date: Mon, 6 Aug 2018 20:36:10 +0200	[thread overview]
Message-ID: <20180806183610.rro2xem64rljdsvy@pengutronix.de> (raw)
In-Reply-To: <844001fa78a52f48a3cb1e9189831456@solinno.co.uk>

Hello Leigh,

On Tue, Jul 31, 2018 at 02:21:04PM +0100, Leigh Brown wrote:
> Have I missed any steps?  Any help would be greatly appreciated.

Looks good.

Which revision are you on (i.e. git rev-parse @ in your barebox copy)?
What is currently running on the device?

Do you get an U when applying this patch?:

diff --git a/arch/arm/boards/globalscale-mirabox/lowlevel.c b/arch/arm/boards/globalscale-mirabox/lowlevel.c
index 69786c88fb22..6abf96592496 100644
--- a/arch/arm/boards/globalscale-mirabox/lowlevel.c
+++ b/arch/arm/boards/globalscale-mirabox/lowlevel.c
@@ -31,5 +31,6 @@ ENTRY_FUNCTION(start_globalscale_mirabox, r0, r1, r2)
 	fdt = __dtb_armada_370_mirabox_bb_start +
 		get_runtime_offset();
 
+	writel(0x55, 0xd0012000);
 	armada_370_xp_barebox_entry(fdt);
 }

I just tried 7ba0f2d29959256025ece9ae961a6c3421445a7f on my ReadyNAS 104
which has an armada370, too.

I hangs when using second-stage booting from the Vendor U-Boot after:

	barebox 2018.07.0-00139-g7ba0f2d29959-dirty #50 Mon Aug 6 20:27:11 CEST 2018


	Board: Marvell Armada 370/XP
	SoC: Marvell 6710 rev 1
	mdio_bus: miibus0: probed
	eth1: got preset MAC address: 28:c6:8e:36:df:57

When enabling DEBUG_INITCALLS I got a prompt, hmm. Didn't debug that
further.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

  reply	other threads:[~2018-08-06 18:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 13:21 Leigh Brown
2018-08-06 18:36 ` Uwe Kleine-König [this message]
2018-08-09 15:14   ` Leigh Brown
2018-08-10  7:59     ` Uwe Kleine-König

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=20180806183610.rro2xem64rljdsvy@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=leigh@solinno.co.uk \
    /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