<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 August 2013 02:07, Geoff Levand <span dir="ltr"><<a href="mailto:geoff@infradead.org" target="_blank">geoff@infradead.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Declan,<br>
<div class="im"><br>
On Thu, 2013-08-08 at 01:58 +0100, Declan Malone wrote:<br>
</div><div class="im">> It's great to know that this is still working. However, I still have one<br>
> big problem with my PS3: the spufs still doesn't work. I can load programs<br>
> on the SPUs but nothing shows up under /spu and spu-top doesn't show any<br>
> processes (though it does seem to show an increasing load across SPUs).<br>
<br>
</div>If possible, please build and run the sample here and reply with the<br>
output, etc.:<br>
<br>
<a href="https://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux-docs/CellProgrammingTutorial/src/example3_1" target="_blank">https://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux-docs/CellProgrammingTutorial/src/example3_1</a><br>
<br>
Thanks.<br>
<span class=""><font color="#888888"><br>
-Geoff<br>
<br>
<br>
</font></span></blockquote></div><br>results of make:<br>
gcc -Wall -lspe2 hello_ppe.c -o hello_ppe.elf<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.6/../../../../lib/libspe2.so when searching for -lspe2<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.6/../../../../lib/libspe2.a when searching for -lspe2<br>
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libspe2.so when searching for -lspe2<br>
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libspe2.a when searching for -lspe2<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.6/../../../libspe2.so when searching for -lspe2<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.6/../../../libspe2.a when searching for -lspe2<br>
spu-gcc -Wall hello_spe.c -o hello_spe.elf<br>
<br></div><div class="gmail_extra">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:<br>
<br>$ ./hello_ppe.elf <br>Hello world!<br><br></div><div class="gmail_extra">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).<br>
<br></div><div class="gmail_extra">Anyway, thanks for the reply. I'm not sure if the results are any good for you, but maybe it helps?<br>Thanks,<br>dec<br></div></div>