Post by Stefan Reinauer-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Stefan ReinauerPost by Max Jakub RiedThis 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
in those files.