On Mon, Mar 07, 2016 at 04:58:57PM +0700, Phong Vo wrote: > >The above looks like a subset of what printenv returns in u-boot. To set > >it the equivalent incantation would be: > > >setenv media_addr_r '0x4001000000' > >setenv media_img 'mp30ar0_tianocore_media.img' > >setenb spi_load=tftp '${media_addr_r} ${user_dir}/${media_img}' > >setenv spi_update=sf 'probe 0; sf erase 0x0 ${filesize}; sf write > ${media_addr_r} 0x0 ${filesize}' > > Just a note that it's likely that these env variables are already there, > except > for media_img. In which case, you just need to > > setenv media_img 'mp30ar0_tianocore_media.img' Can I check I have the right version of this file? I have a file with a different name: $ ls -l mp30ar0_media.img -rw-r--r--. 1 root root 620032 Mar 5 10:57 mp30ar0_media.img $ md5sum mp30ar0_media.img 7d31c9b9dd40b791adf92067ed2a236a mp30ar0_media.img Rich. -- 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