On Tue, Oct 11, 2016 at 4:43 PM, Richard Henderson <r...@twiddle.net> wrote: > On 10/01/2016 05:05 AM, Artyom Tarasenko 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. >> >> Signed-off-by: Artyom Tarasenko <atar4q...@gmail.com> > > > Reviewed-by: Richard Henderson <r...@twiddle.net> > > What do you plan to do about the roms? Since they're open source, I don't > see any reason we couldn't commit them into pc-bios/.
I have no short term plans on that: at least some of the OBP/Hypervisor code is released under CDDL, which has some incompatibilities with GPL. >Of course if we do that ... > >> + rom_add_file_fixed("nvram1", NIAGARA_NVRAM_BASE, -1); >> + rom_add_file_fixed("1up-md.bin", NIAGARA_MD_ROM_BASE, -1); >> + rom_add_file_fixed("1up-hv.bin", NIAGARA_HV_ROM_BASE, -1); >> + >> + rom_add_file_fixed("reset.bin", NIAGARA_PROM_BASE, -1); >> + rom_add_file_fixed("q.bin", NIAGARA_PROM_BASE + NIAGARA_Q_OFFSET, >> -1); >> + rom_add_file_fixed("openboot.bin", NIAGARA_PROM_BASE + >> NIAGARA_OBP_OFFSET, >> + -1); > > > ... these would surely need better names. Absolutely. -- Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu