[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] [PATCH v3] Fetch the OVMF repository from specific git mirror and enable it



On 14/03/12 12:08, Ian Jackson wrote:
Attilio Rao writes ("[Xen-devel] [PATCH] [PATCH v3] Fetch the OVMF repository from 
specific git mirror and enable it"):
Signed-off-by: Attilio Rao<attilio.rao@xxxxxxxxxx>
cp ovmf-makefile ovmf/Makefile;
Switched to a new branch 'dummy'
cp seabios-config seabios-dir/.config;
make subdirs-all
make[4]: Entering directory `/u/iwj/work/xen-unstable-tools.hg/tools/firmware'
make[5]: Entering directory `/u/iwj/work/xen-unstable-tools.hg/tools/firmware'
make -C ovmf all
make[6]: Entering directory 
`/u/iwj/work/xen-unstable-tools.hg/tools/firmware/ovmf-remote'
make[6]: warning: -jN forced in submake: disabling jobserver mode.
OvmfPkg/build.sh -a X64
Initializing workspace
/u/iwj/work/xen-unstable-tools.hg/tools/firmware/ovmf-remote/BaseTools
Unable to find expected bin path under $EDK_TOOLS_PATH!
/u/iwj/work/xen-unstable-tools.hg/tools/firmware/ovmf-remote/BaseTools/Bin/Linux-i486
make[6]: *** [ovmf.bin] Error 1
make[6]: Leaving directory 
`/u/iwj/work/xen-unstable-tools.hg/tools/firmware/ovmf-remote'

I think I see the issue here. Are you running with i486 as an arch?
This is a deficiency of the OVMF support, because it has some wrappers to build appropriately the firmware which are OS and architectures specific and it does support Linux-i686 and Linux-x86_64 but not Linux-i486.
I'm not sure about what we should do here, possible options include:
- Verify that, on all i486,i586,etc. we can eventually use i686 and unify the script to do that - Check if it is possible (it doesn't seem to be already present, but I will dig further) if we can "cross-compile" the compiling OS and family and use a mechanism to offer that

In any case we should check for the presence of the right wrapper and skip ovmf, spitting out an informative error, if this is really the case.

Do you have feedback on the matter?

Attilio

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.