Hi Artyom, On 01/23/2017 03:10 PM, Artyom Tarasenko wrote: > On Mon, Jan 23, 2017 at 1:40 PM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >> On 18 January 2017 at 22:38, Artyom Tarasenko <atar4q...@gmail.com> wrote: >>> Remove the Niagara stub implementation from sun4u.c and add a machine, >>> compatible with Legion simulator from the OpenSPARC T1 project. >>> >>> The machine uses the firmware supplied with the OpenSPARC T1 project, >>> http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2 >>> in the directory S10image/, and is able to boot the supplied Solaris 10 >>> image. >>> >>> Note that for compatibility with the naming conventions for SPARC machines >>> the new machine name is lowercase niagara. >>> >>> Signed-off-by: Artyom Tarasenko <atar4q...@gmail.com> >>> Reviewed-by: Richard Henderson <r...@twiddle.net> >> >> I see that 'make check' now warns: >> GTESTER check-qtest-sparc64 >> Could not open option rom 'nvram1': No such file or directory >> Could not open option rom '1up-md.bin': No such file or directory >> Could not open option rom '1up-hv.bin': No such file or directory >> Could not open option rom 'reset.bin': No such file or directory >> Could not open option rom 'q.bin': No such file or directory >> Could not open option rom 'openboot.bin': No such file or directory >> >> (though the tests still pass). >> >> Could we either ship these images in pc-bios if they're >> necessary, or not complain that they don't exist if they're >> not necessary, please? > > I wonder what would be the best option here. The images are > necessary, so the last option - not complaining - can be misleading > for a user. > > Concerning shipping them. > Pros: > - the images are obviously freely distributable (the link above). > - the corresponding source code was open-sourced by Sun under various > licenses (GPL for hypervisor, BSD for openboot). > Cons: > - there is no exact tag the the OpenSPARC source tree which would > correspond to the binaries. > - building them is tricky, because it requires Solaris 9 / SPARC. > > What do you think would be a better option?
I'd strongly prefer the option to build QEMU's own binaries and distribute them in pc-bios/. Downloading this 190M tarball is a nuisance and depending on their continued existence on the Oracle server is a risk. Where does the dependency on Solaris 9 come from? You should be able to run unmodified Solaris 9 binaries on eg. Solaris 10... Best, Jakub