[Arm-dev] Gigabyte MP30-AR0

Sat Mar 5 11:56:58 UTC 2016
Richard W.M. Jones <rjones at redhat.com>

On Sat, Mar 05, 2016 at 10:26:25AM +0700, Phong Vo wrote:
> There should be no issue of replacing U-boot in SPI nor with the mp30ar0
> Tianocore version.
> But you need to use the mp30ar0_tianocore_media.img I provide, not the one
> supplied
> with the Mustang board. It was likely the person burn the wrong BIOS on
> the board!
> 
> You can burn the Tianocore image from U-boot using TFTP. Please check and
> setup your U-boot
> variables:
> 
> media_addr_r=0x4001000000
> media_img=mp30ar0_tianocore_media.img
> spi_load=tftp ${media_addr_r} ${user_dir}/${media_img}
> spi_update=sf probe 0; sf erase 0x0 ${filesize}; sf write ${media_addr_r}
> 0x0 ${filesize}

To be absolutely clear, the above are not u-boot commands?  You have
to use setenv and quote the parameters?

Second question: In the tarball you previously posted, the .img file
is called 'mp30ar0_media.img' (not 'mp30ar0_tianocore_media.img').  Is
that correct or is there a newer version somewhere?

Third question: How do I set the MAC address in this TianoCore?
RHEL booted up with MAC 00:00:00:00:00:00 which meant nothing else
worked of course.

Rich.

> # run spi_load   <== Make sure it is successful
> # run spi_update
> # reset
> 
> If there is any issue, it's still recoverable using SD card.
> 
> -Phong
> 
> -----Original Message-----
> From: arm-dev-bounces at centos.org [mailto:arm-dev-bounces at centos.org] On
> Behalf Of Michael Howard
> Sent: Friday, March 04, 2016 9:05 PM
> To: arm-dev at centos.org
> Subject: Re: [Arm-dev] Gigabyte MP30-AR0
> 
> On 04/03/2016 11:47, Richard W.M. Jones wrote:
> > On Sat, Feb 20, 2016 at 11:06:08AM +0700, Phong Vo wrote:
> >> In theory, you just need to convert CentOS vmlinuz to uImage, then do
> U-boot
> >> boot using the dtb and
> >> CentOS initrd.img; but somehow it hangs on me. I'll need to dig into it
> >> further.
> >>
> >> I am not aware that it was shipped only with U-boot. If you want to try
> with
> >> UEFI, take it from my dropbox
> >>
> >>
> https://dl.dropboxusercontent.com/u/20403943/mp30ar0_tianocore_binaries.ta
> r.xz
> >>
> >> mp30ar0_tianocore_media.img: burn to SPI NOR if you want to replace
> U-boot
> >> permanently
> > Has anyone tried this step ^^ (replacing u-boot permanently)?
> >
> > I'm not too keen to brick an $800 board.  Is it reversible?
> >
> >
> 
> No, not tried it, don't see the point of risking it at the mo. Somebody
> did brick their board
> (https://lists.centos.org/pipermail/arm-dev/2016-February/001622.html)
> and for me, I just chainload tianocore from u-boot via tftp.
> 
> -- 
> 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

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW