On 12/07/11 12:51, Ghitulete Razvan wrote:
> Well, I compiled openbios using the script for cross-compiling with
> cross-sparc64. As far as the error messages go, during compilation
> there are none whatsoever. And I'm running qemu without any arguments
> for now, just plain qemu-system-sparc as i just want to see if it
> works.
Ah wait - if you are trying to run a 64-bit SPARC binary then you need
to run qemu-system-sparc64 instead of qemu-system-sparc which is 32-bit
only.
IIRC you need to explicitly enable the SPARC64 target at QEMU
compile-time by doing something like:
./configure --target-list=sparc64-softmmu
HTH,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
> Hi,
>
> I think you'll need to give a bit more information as to what command
> lines you are using for QEMU, any error messages you see during
> compilation and details of how you built your cross-compilation
> environment (e.g. compiler versions etc.).
>
>M-D.
Well, I compiled openbios using the script for cross-compiling with
cross-sparc64. As far as the error messages go, during compilation
there are none whatsoever. And I'm running qemu without any arguments
for now, just plain qemu-system-sparc as i just want to see if it
works.
The cross-compiling toolchains i tried consisted of a gcc 4.1.1 and
binutils 2.16.1 and a gcc 4.4.3 and binutils 2.20. I switched to 4.4.3
and 2.20 as for the 4.1.1 i modified several binutils source-files to
be able to compile it, so i figured this might have something to do
with it.
Also, if anyone has any ideea whatsoever, could i write directly to
the video memory on a sparc, and if so at what address does the video
card mapping starts?
--
Razvan Ghitulete
Universitatea Politehnica Bucuresti
On 08/07/11 14:15, Ghitulete Razvan wrote:
> Hi,
> I am trying to do a cross-compiler for a sparc64 machine, and I
> thought of testing it with the openbios-sparc64 for qemu. But for some
> reason I keep getting qemu errors. Does anyone know how the initial
> openbios-sparc64 that comes with the qemu binaries was compiled. I am
> working at a bigger project and for now i don't have acces to a
> physical sparc machine to test whether the cross works well, so this
> is kinda my only way of having a hint, plus doing some work on the
> project until i get the real deal on my desk. Any ideas would be
> welcome
Hi,
I think you'll need to give a bit more information as to what command
lines you are using for QEMU, any error messages you see during
compilation and details of how you built your cross-compilation
environment (e.g. compiler versions etc.).
M-D.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
Hi,
I am trying to do a cross-compiler for a sparc64 machine, and I
thought of testing it with the openbios-sparc64 for qemu. But for some
reason I keep getting qemu errors. Does anyone know how the initial
openbios-sparc64 that comes with the qemu binaries was compiled. I am
working at a bigger project and for now i don't have acces to a
physical sparc machine to test whether the cross works well, so this
is kinda my only way of having a hint, plus doing some work on the
project until i get the real deal on my desk. Any ideas would be
welcome
Sincerely,
--
Razvan Ghitulete
Universitatea Politehnica Bucuresti