[Arm-dev] Gigabyte MP30-AR0

Thu Mar 10 01:59:33 UTC 2016
Phong Vo <pvo at apm.com>

Jeremy,

It looks like you are loading to 0x4002000000 instead of 0x82000000.
MP30-AR0 uses a 2GB base address, thus 0x82000000 is required.

-Phong

-----Original Message-----
From: arm-dev-bounces at centos.org [mailto:arm-dev-bounces at centos.org] On
Behalf Of Jeremiah Rothschild
Sent: Thursday, March 10, 2016 8:43 AM
To: arm-dev at centos.org
Subject: Re: [Arm-dev] Gigabyte MP30-AR0

On Wed, Mar 09, 2016 at 03:23:17PM -0800, Jeremiah Rothschild wrote:
> On Wed, Mar 09, 2016 at 11:16:39PM +0000, Michael Howard wrote:
> > On 09/03/2016 22:51, Jeremiah Rothschild wrote:
> > >On Wed, Mar 09, 2016 at 01:11:05PM -0800, Jeremiah Rothschild wrote:
> > >>One thing I did change was to not boot via TFTP since I'd rather not
have
> > >>booting dependent on network availability. Instead I'm loading via
SD. It
> > >>was pretty straight forward but, in case anyone else is interested,
I
> > >>replaced the load_tianocore variable like so (assuming dev 0, part
1):
> > >>
> > >>setenv load_tianocore 'fatload mmc 0:1 0x82000000
mp30ar0_tianocore_ubt.fd;
> > >>fatload mmc 0:1 0x1d000000 mp30ar0_tianocore_sec_ubt.fd'
> >
> > Is there a reason for your use of '0x82000000' instead of
'0x4002000000'?
> > '0x82000000'  is by default kern_addr_r & kernel_addr_r and looks
> > wrong to me.
>
> I was imitating the values that work for TFTP.
>
> > >Ah. I spoke too soon. Looks like, with this in place, I make it to to
the
> > >GRUB menu then things get lost from there.
> > >
> > >Might there be additional requirements on the SD card?
> > >
> > I wouldn't have thought so. Perhaps your use of '0x82000000' is
> > causing the problem.
>
> I'll give that a go. Thanks.

Hmmm, '0x82000000' seems to get me in a hung state. Output below.

Hit any key to stop autoboot:  0
MP30AR0# setenv load_tianocore 'fatload mmc 0:1 0x4002000000
mp30ar0_tianocore_ubt.fd; fatload mmc 0:1 0x1d000000
mp30ar0_tianocore_sec_ubt.fd'
MP30AR0# setenv run_tianocore 'go 0x1d000000'
MP30AR0# run load_tianocore run_tianocore
reading mp30ar0_tianocore_ubt.fd
1835008 bytes read in 1137 ms (1.5 MiB/s)
reading mp30ar0_tianocore_sec_ubt.fd
262144 bytes read in 1008 ms (253.9 KiB/s)
## Starting application at 0x1D000000 ...

X-Gene Mp30ar0 Board
Boot firmware (version 1.20.03-uhp built at 11:18:31 on Feb 22 2016)

> > Mike Howard
> >
> > _______________________________________________
> > Arm-dev mailing list
> > Arm-dev at centos.org
> > https://lists.centos.org/mailman/listinfo/arm-dev
_______________________________________________
Arm-dev mailing list
Arm-dev at centos.org
https://lists.centos.org/mailman/listinfo/arm-dev