On 18/09/2024 18:29, Steve McIntyre wrote:
On Wed, Sep 18, 2024 at 05:30:35PM +0100, Michael Howard wrote:
On 18/09/2024 16:38, YOYO wrote:

    It seems it a ideal idea to switch from u-Boot to UEFI on AR0.
    Would you please share about how you install UEFI and how to revert to
    u-Boot when needed? I've found some tutorials, but the urls of the UEFI
    firmware seemed to be invalid.

I can't be of much help I'm afraid as it was a long time ago and I just used
the information and files available on the net at the time. I'm not at home at
the moment but when I am I will see if I still have the relevant files, if
nobody else chirps up before then. It will be a long shot though.
I've got the files needed for switching the APM Mustang here at

   https://www.einval.com/mustang/easy-uefi/

The instructions are for APM's own Mustang dev board - the Gigabyte
AR0 might be compatible here or it might be different, be careful!

So, the uefi image needed at the time was 'mp30ar0_tianocore_media.img' which was provided by Phong Vo,  in the archive mp30ar0_tianocore_binaries.tar.xz. I do still have the file.

The basic process was;

a) Place mp30ar0_tianocore_media.img on a TFTP server as `mp30ar0/mp30ar0_tianocore_media.img'.
b) Within u-boot run thr following;

  setenv ipaddr xx.xx.xx.xx    # server's own IP address
  setenv serverip yy.yy.yy.yy  # IP address of TFTP server
  setenv media_img mp30ar0_tianocore_media.img
  run spi_load                 # check this command succeeds
  run spi_update
  reset

I think that the above instructions rely upon 'user_dir' being set to 'mp30ar0'.

Obviously, as Steve says, be careful.

--
Michael Howard.

Reply via email to