Discussion:
[Pearpc-devel] PearPC patch to allow OpenBIOS to load
Alex Smith
2006-02-09 20:51:38 UTC
Permalink
For anyone that wants to work on OpenBIOS, the included patch will let you
at least load an OpenBIOS binary using the force bootmethod. You'll need to
put pci_serial_installed = 1 in your config file. For more info, join
#openbios on irc.freenode.net

http://www.pearpc.net/pearpc-cvs-openbios.diff
Daniel Foesch
2006-02-10 06:31:03 UTC
Permalink
I imagine this is my patch, but updated to work on the new source tree?

Because the version that allowed for this has been around awhile, but
they're hitting limits on ability to go any further, because the code
for the serial port is pretty primative, and the code for the rest is
pretty stale.
Post by Alex Smith
For anyone that wants to work on OpenBIOS, the included patch will let you
at least load an OpenBIOS binary using the force bootmethod. You'll need to
put pci_serial_installed = 1 in your config file. For more info, join
#openbios on irc.freenode.net
http://www.pearpc.net/pearpc-cvs-openbios.diff
--
Daniel Foesch
Max Jakub Ried
2006-02-10 13:44:31 UTC
Permalink
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?

Build enviroment: current Cygwin, x86
Post by Daniel Foesch
I imagine this is my patch, but updated to work on the new source tree?
Because the version that allowed for this has been around awhile, but
they're hitting limits on ability to go any further, because the code
for the serial port is pretty primative, and the code for the rest is
pretty stale.
Post by Alex Smith
For anyone that wants to work on OpenBIOS, the included patch will let you
at least load an OpenBIOS binary using the force bootmethod. You'll need to
put pci_serial_installed = 1 in your config file. For more info, join
#openbios on irc.freenode.net
http://www.pearpc.net/pearpc-cvs-openbios.diff
--
Daniel Foesch
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Stefan Reinauer
2006-02-10 15:12:44 UTC
Permalink
Post by Max Jakub Ried
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?
Here's one:

http://www.openbios.org/~stepan/openbios-pearpc.elf

The CUDA stuff wont work, so it's useless though
Alex Smith
2006-02-10 16:30:31 UTC
Permalink
Daniel, yes, it's your old tree ported to latest CVS.

I don't know how I missed that, but I realised I had forgotten to add the
serial driver to configure.in. I have updated the patch - it can be found at
the same URL.

Max, you can also compile your own openbios binary with a powerpc cross
compiler.
Post by Stefan Reinauer
Post by Max Jakub Ried
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?
http://www.openbios.org/~stepan/openbios-pearpc.elf
The CUDA stuff wont work, so it's useless though
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Sebastian Biallas
2006-02-10 17:40:17 UTC
Permalink
Post by Stefan Reinauer
The CUDA stuff wont work, so it's useless though
What would be the best alternative for this CUDA thing?

Currently pearpc's implementation of cuda is crappy, and the only thing
which is preventing its replacement is that is (somehow) works.

Sebastian
Max Jakub Ried
2006-02-10 17:56:24 UTC
Permalink
Does this patch compile compile for you? For me, it doesn't. It claims
about missing definitions of some PT_-Constants and a ";"-Error in
promboot.cc as well as that 'nhdr' is undeclared + some other
problems... :(
Sebastian Biallas
2006-02-10 18:15:16 UTC
Permalink
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.

Sebastian
Alex Smith
2006-02-10 18:37:21 UTC
Permalink
It compiles perfectly here. I've tested it on a clean CVS checkout, too
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Max Jakub Ried
2006-02-11 13:08:18 UTC
Permalink
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS checkout, too
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Alex Smith
2006-02-11 14:04:13 UTC
Permalink
patch -Np1 -i patchfile
Post by Max Jakub Ried
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS checkout, too
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
Post by Alex Smith
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Max Jakub Ried
2006-02-11 14:58:33 UTC
Permalink
Building fails all the time. I give up.
Post by Alex Smith
patch -Np1 -i patchfile
Post by Max Jakub Ried
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS checkout, too
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
Post by Max Jakub Ried
Post by Alex Smith
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
Post by Max Jakub Ried
Post by Alex Smith
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Post by Max Jakub Ried
Post by Alex Smith
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Post by Max Jakub Ried
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
Post by Max Jakub Ried
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
Post by Max Jakub Ried
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Alex Smith
2006-02-11 16:38:11 UTC
Permalink
Weird... Daniel, Sebastian, Stefan, could you try building this?
Post by Max Jakub Ried
Building fails all the time. I give up.
Post by Alex Smith
patch -Np1 -i patchfile
Post by Max Jakub Ried
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS checkout,
too
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
Post by Max Jakub Ried
Post by Alex Smith
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
Post by Max Jakub Ried
Post by Alex Smith
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
files
for problems? Stop! Download the new AJAX search engine that
makes
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Post by Max Jakub Ried
Post by Alex Smith
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Post by Max Jakub Ried
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
Post by Max Jakub Ried
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
Post by Alex Smith
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
Post by Max Jakub Ried
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Hugh McMaster
2006-02-12 00:50:17 UTC
Permalink
Same result as Max... Alex, can you forward me on a build?
Post by Alex Smith
Weird... Daniel, Sebastian, Stefan, could you try building this?
Post by Max Jakub Ried
Building fails all the time. I give up.
Post by Alex Smith
patch -Np1 -i patchfile
Post by Max Jakub Ried
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS
checkout, too
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
Post by Max Jakub Ried
Post by Alex Smith
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
Post by Max Jakub Ried
Post by Alex Smith
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
files
for problems? Stop! Download the new AJAX search engine that
makes
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Post by Max Jakub Ried
Post by Alex Smith
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Post by Max Jakub Ried
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log
Post by Alex Smith
files
Post by Max Jakub Ried
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
Post by Alex Smith
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
<http://sel.as-us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642>
Post by Alex Smith
Post by Max Jakub Ried
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642<http://sel.as-us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642>
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Alex Smith
2006-02-12 08:31:25 UTC
Permalink
OK, I'll make some builds later today and upload them.
Post by Hugh McMaster
Same result as Max... Alex, can you forward me on a build?
Post by Alex Smith
Weird... Daniel, Sebastian, Stefan, could you try building this?
Post by Max Jakub Ried
Building fails all the time. I give up.
Post by Alex Smith
patch -Np1 -i patchfile
Post by Max Jakub Ried
What's the exact command line you use for patching?
patch -p1 -i patchfile?
Post by Alex Smith
It compiles perfectly here. I've tested it on a clean CVS
checkout, too
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Max Jakub Ried
Does this patch compile compile for you?
Haven't tested yet.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ+zYNP81M8QtvOSJAQLwrwgAk+950OSN93z+LI5Jmb0ix6WrMYder7oW
UyQVzRB3Bb8lm3+WVmCXTV1ceBhrUnK3nDVF5/Vah/CdnaV8Cf2ntDrw+z/Bhx90
gpsxcOkJCfUwUoEyJu1unIeHqFVdNVYyIj1nYYLNpiYS1PpH2dsQDZyd9i3pEp0x
V4m+X+Ww1FHEkJD2GBT6bgA6Ox5vPYOUhsUBNqid7lEL0xcK/wehALAxgw18p5pr
RUmVzMj615JSCUqNWjLEWqKEknumfv3z1s1u/hOVJKU17KGGT3DxsaBcLuF1VZiq
7uy7NUYSb7dpfA4nu96XxFCpTIU0l1MTMsa23uLXefhiWRiZN1WVDg==
Post by Max Jakub Ried
Post by Alex Smith
=7abj
-----END PGP SIGNATURE-----
-------------------------------------------------------
Post by Max Jakub Ried
Post by Alex Smith
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
files
for problems? Stop! Download the new AJAX search engine that
makes
Post by Alex Smith
Post by Max Jakub Ried
Post by Alex Smith
searching your log files as easy as surfing
the web. DOWNLOAD
Post by Alex Smith
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Post by Max Jakub Ried
Post by Alex Smith
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Post by Max Jakub Ried
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log
Post by Alex Smith
files
Post by Max Jakub Ried
for problems? Stop! Download the new AJAX search engine that
makes
Post by Alex Smith
Post by Max Jakub Ried
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
Post by Alex Smith
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
<http://sel.as-us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642>
Post by Alex Smith
Post by Max Jakub Ried
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
<http://sel.as-us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642>
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Jens von der Heydt
2006-02-17 10:46:27 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Stefan Reinauer
The CUDA stuff wont work, so it's useless though
What would be the best alternative for this CUDA thing?
Currently pearpc's implementation of cuda is crappy, and the only thing
which is preventing its replacement is that is (somehow) works.
Sebastian
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?


Jens
Alex Smith
2006-02-17 11:59:46 UTC
Permalink
Let me try it... The one problem with that is it is in C, whereas we use C++
Post by Jens von der Heydt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Stefan Reinauer
The CUDA stuff wont work, so it's useless though
What would be the best alternative for this CUDA thing?
Currently pearpc's implementation of cuda is crappy, and the only thing
which is preventing its replacement is that is (somehow) works.
Sebastian
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?
Jens
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Jens von der Heydt
2006-02-17 12:04:36 UTC
Permalink
Post by Alex Smith
Let me try it... The one problem with that is it is in C, whereas we use C++
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?
Jens
of course we have to rewrite some parts but the file really is easy
to read and understand.
Shouldn't be a problem there, right?

By the way, I like their timer - implementation. They are using a
global timer
that is fired up every 10ms, and a timer list. you can plug your new
timer into that structure
and define when your timing event is due to happen and on every call
to your function
you tell the timer management when to fire my timer up again. Might
be a confusing
description but the idea is to stop using mutex everywhere.

Jens
Alex Smith
2006-02-17 14:03:18 UTC
Permalink
Can somebody try the CUDA stuff... As usual I'm not too good with C and C++
Post by Alex Smith
Let me try it... The one problem with that is it is in C, whereas we use C++
Post by Jens von der Heydt
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?
Jens
of course we have to rewrite some parts but the file really is easy to
read and understand.
Shouldn't be a problem there, right?
By the way, I like their timer - implementation. They are using a global
timer
that is fired up every 10ms, and a timer list. you can plug your new timer
into that structure
and define when your timing event is due to happen and on every call to
your function
you tell the timer management when to fire my timer up again. Might be a
confusing
description but the idea is to stop using mutex everywhere.
Jens
Jens von der Heydt
2006-02-17 14:06:48 UTC
Permalink
Post by Alex Smith
Can somebody try the CUDA stuff... As usual I'm not too good with C and C++
I can do that later on. I was writing to this thread to see if
somebody had
a good reason agains their implementation , e.g. missing features.

Ah, and Alex, please use bottom quoting, makes it easier to answer.

Jens
Alex Smith
2006-02-17 14:38:46 UTC
Permalink
OK
Post by Jens von der Heydt
Post by Alex Smith
Can somebody try the CUDA stuff... As usual I'm not too good with C and C++
I can do that later on. I was writing to this thread to see if
somebody had
a good reason agains their implementation , e.g. missing features.
Ah, and Alex, please use bottom quoting, makes it easier to answer.
Jens
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Sebastian Biallas
2006-02-17 23:15:38 UTC
Permalink
Post by Jens von der Heydt
Post by Sebastian Biallas
Post by Stefan Reinauer
The CUDA stuff wont work, so it's useless though
What would be the best alternative for this CUDA thing?
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?
It doesn't work with openbios either (obviously). And I guess it has the
same restrictions as pearpc's code (there's no collision detection).
Post by Jens von der Heydt
Jens
Sebastian
Jens von der Heydt
2006-02-19 11:56:34 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Jens von der Heydt
Post by Sebastian Biallas
Post by Stefan Reinauer
The CUDA stuff wont work, so it's useless though
What would be the best alternative for this CUDA thing?
what does speak against using qemu`s cuda implementation at
http://cvs.savannah.nongnu.org/viewcvs/qemu/hw/cuda.c?
rev=1.10&root=qemu&view=markup ?
It doesn't work with openbios either (obviously). And I guess it has the
same restrictions as pearpc's code (there's no collision detection).
Post by Jens von der Heydt
Jens
Sebastian
yes, that's true, though they don't seem to have problems with
collisions,
never heard of that problem with qemu.

Jens
Sebastian Biallas
2006-03-08 01:16:57 UTC
Permalink
Post by Stefan Reinauer
Post by Max Jakub Ried
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?
http://www.openbios.org/~stepan/openbios-pearpc.elf
The CUDA stuff wont work, so it's useless though
Can you build one with debugging symbols?

Sebastian
Stefan Reinauer
2006-05-16 21:27:43 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Stefan Reinauer
Post by Max Jakub Ried
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?
http://www.openbios.org/~stepan/openbios-pearpc.elf
The CUDA stuff wont work, so it's useless though
Can you build one with debugging symbols?
In http://www.openbios.org/~stepan/pearpc/ you will find two different
versions:
* openbios-pearpc.elf - without debug symbols
* openbios-pearpc.elf.nostrip - with debug symbols.

But:
The patch from Alex was missing an important part, the device
mapping. With this you don't see any output because OpenBIOS doesnt see
any devices.

This looked like the following in ppc_cpu.c in Daniel Foesch's version:

void ppc_cpu_map_framebuffer(uint32 pa, uint32 ea)
{
// use BAT for framebuffer
gCPU.dbatu[0] = ea|(7<<2)|0x3;
gCPU.dbat_bl17[0] = ~(BATU_BL(gCPU.dbatu[0])<<17);
gCPU.dbatl[0] = pa;
}

void ppc_cpu_map_devices(uint32 pa, uint32 ea)
{
gCPU.dbatu[1] = ea|(7<<2)|0x3;
gCPU.dbat_bl17[1] = ~(BATU_BL(gCPU.dbatu[1])<<17);
gCPU.dbatl[1] = pa;
}

and in src/main.c:

ppc_cpu_map_framebuffer(IO_GCARD_FRAMEBUFFER_PA_START, IO_GCARD_FRAMEBUFFER_EA);
ppc_cpu_map_devices(0x80000000, 0x80000000);

I have no idea what the new ppc_cpu_map_devices() would have to look
like. If someone could add this and drop me a note...

Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: ***@coresystems.de • http://www.coresystems.de/
Alex Smith
2006-05-17 06:25:46 UTC
Permalink
Post by Stefan Reinauer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Stefan Reinauer
Post by Max Jakub Ried
This patch does not compile for me, because there are some constant
definitions missing. In addition to that, if I get it compiled, where
do I get such a OpenBIOS binary?
http://www.openbios.org/~stepan/openbios-pearpc.elf
The CUDA stuff wont work, so it's useless though
Can you build one with debugging symbols?
In http://www.openbios.org/~stepan/pearpc/ you will find two different
* openbios-pearpc.elf - without debug symbols
* openbios-pearpc.elf.nostrip - with debug symbols.
The patch from Alex was missing an important part, the device
mapping. With this you don't see any output because OpenBIOS doesnt see
any devices.
void ppc_cpu_map_framebuffer(uint32 pa, uint32 ea)
{
// use BAT for framebuffer
gCPU.dbatu[0] = ea|(7<<2)|0x3;
gCPU.dbat_bl17[0] = ~(BATU_BL(gCPU.dbatu[0])<<17);
gCPU.dbatl[0] = pa;
}
void ppc_cpu_map_devices(uint32 pa, uint32 ea)
{
gCPU.dbatu[1] = ea|(7<<2)|0x3;
gCPU.dbat_bl17[1] = ~(BATU_BL(gCPU.dbatu[1])<<17);
gCPU.dbatl[1] = pa;
}
ppc_cpu_map_framebuffer(IO_GCARD_FRAMEBUFFER_PA_START, IO_GCARD_FRAMEBUFFER_EA);
ppc_cpu_map_devices(0x80000000, 0x80000000);
I have no idea what the new ppc_cpu_map_devices() would have to look
like. If someone could add this and drop me a note...
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pearpc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/pearpc-devel
Weird, when I used diff to create the patch there were no differences
in those files.

Alex

Loading...