[PATCH 3/5] arm: initial support for Marvell Dove SoCs

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 13 12:21:41 EDT 2013


Dear Sebastian Hesselbarth,

On Mon, 13 May 2013 18:12:00 +0200, Sebastian Hesselbarth wrote:

> > One solution for Barebox is to have a DATA line in our kwbimage.cfg
> > that does:
> >
> > DATA 0xd0020080 0xf1000000
> >
> > and so when Barebox boots, the remapping to 0xf1 is already done,
> > and we don't have to worry about it. This way, a Barebox can
> > chainload a second Barebox.
> 
> Thomas, have you tried the above? I did and Dove immediately stops
> responding to Xmodem transfer. I have the strong feeling, that BootROM
> relies on stuff located at 0xd0000000.
> 
> So remapping _that_ early will maybe not work either.

No, I did not test that, it was just a supposition from me that it
would work. I was under the impression that the SoC would load the
entire image in SRAM, and then go through the DATA commands and apply
them. But of course, if it does apply each and every DATA command as
soon as it receives them, then it cannot work, and Barebox will have to
do its remapping and give up the possibility of being booted by itself.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the barebox mailing list