[Cbe-oss-dev] installation-report: debian 7.1 wheezy installation success on PS3
Declan Malone
declan.malone at gmail.com
Wed Aug 21 05:30:07 EST 2013
On 20 August 2013 02:07, Geoff Levand <geoff at infradead.org> wrote:
> Hi Declan,
>
> On Thu, 2013-08-08 at 01:58 +0100, Declan Malone wrote:
> > It's great to know that this is still working. However, I still have one
> > big problem with my PS3: the spufs still doesn't work. I can load
> programs
> > on the SPUs but nothing shows up under /spu and spu-top doesn't show any
> > processes (though it does seem to show an increasing load across SPUs).
>
> If possible, please build and run the sample here and reply with the
> output, etc.:
>
>
> https://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux-docs/CellProgrammingTutorial/src/example3_1
>
> Thanks.
>
> -Geoff
>
>
>
results of make:
gcc -Wall -lspe2 hello_ppe.c -o hello_ppe.elf
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/powerpc-linux-gnu/4.6/../../../../lib/libspe2.so when
searching for -lspe2
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/powerpc-linux-gnu/4.6/../../../../lib/libspe2.a when searching
for -lspe2
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libspe2.so when
searching for -lspe2
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libspe2.a when searching
for -lspe2
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/powerpc-linux-gnu/4.6/../../../libspe2.so when searching for
-lspe2
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/powerpc-linux-gnu/4.6/../../../libspe2.a when searching for
-lspe2
spu-gcc -Wall hello_spe.c -o hello_spe.elf
Apparently I had a few attempts at installing various version of libspe2. I
might have copied some files across manually and forgot to clean up
afterwards---I can't remember. Anyway, the sample compiles and runs:
$ ./hello_ppe.elf
Hello world!
This tallies with my experience from before: I can write code (like
hello_spe.c above) that I know is running on the SPUs, but the problem is
just with the spufs. Michael Ellerman's previous reply about the kernel
patch looks like it should solve the problem, if only I knew how to compile
the 3.10 kernel under my mix of firmware (3.55) and OtherOS++ (using reboot
otheros/reboot package files to start linux from within the PS3 interface).
Anyway, thanks for the reply. I'm not sure if the results are any good for
you, but maybe it helps?
Thanks,
dec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20130820/55550a11/attachment.html>
More information about the cbe-oss-dev
mailing list