Skip to content
This repository

SGX drivers on beagleboard C4 #8

Open
derkohai opened this Issue January 04, 2012 · 10 comments

4 participants

derkohai Robert Nelson pimartos James Ang
derkohai

Post on http://groups.google.com/group/beagleboard/browse_thread/thread/b55fec7a71d1c6c1:

Hello all,

Since a couple of days now I'm trying to get SGX running on my
Beagleboard Rev C4 with Ubuntu 11.10. I followed the Instructions on
http://elinux.org/BeagleBoardUbuntu#Oneiric_11.10 exactly:

the first run of run-SGX.sh after install worked and after each boot
all SGX modules are loaded (see dmesg on http://paste.ubuntu.com/792534/)

Then I tested the SGX acceleration with the EvilSkull demo as user
ubuntu (root makes no difference) with the immediate result in a
kernel panic (see http://paste.ubuntu.com/792545/).

Doing a pvr restart after reboot also leads to panic (see
http://paste.ubuntu.com/792540/).

Here's my Xorg.log: http://paste.ubuntu.com/792565/

This try was my last try after many attempts with ubuntu 11.04, I also
tried pre installed Ubuntu Images from https://wiki.ubuntu.com/ARM/OMAP
doing "sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3
libgles2-sgx-omap3", that didn't work either.

Does anyone has an idea?

Regards,
Simon

Robert Nelson

dmesg: on a fresh reboot, before running any demos on my c4..

http://paste.ubuntu.com/793154/

Robert Nelson

dmesg: after trying to run a demo, boards locks up...(c4)

http://paste.ubuntu.com/793169/

Robert Nelson

Works fine with v3.0.8-x3

Bisect:
fail: v3.1.6-x6
fail: v3.1.0-x3
fail: v3.1.0-rc9 (rebuilt)
fail: v3.1.0-rc8 (rebuilt)
good: v3.0.8-x3

fun: looks like a v3.1 merge/change

derkohai

Kernel v3.0.8-x3 works!

Thank you!

Robert Nelson

fail: v3.2.0-x1 (same omap3_l3_app_irq issue)
fail: v3.2.2-x3 (same omap3_l3_app_irq issue)

pimartos

fail: v3.2.17-x11

Robert Nelson

Hi fangstar, the easiest way is:

git checkout v3.0.8-x3 -b tmp

And it'll checkout the tag for that version...

But can you actually do a quick favor for me, as i really haven't had time to test my C4's in awhile with this bug.. Please do:

git checkout origin/v3.0.x -b tmp-v3.0.x

and run "./build_kernel.sh"/etc.. and basicly test "v3.0.42-x4" against this bug to see if it works exactly like v3.0.8-x3..

Thanks!!!

James Ang

Hi Robert,

Is it possible to run the v3.0.8-x3 kernel with SGX on Gumstix Overo FE (OMAP3530) with Angstrom?

Thanks.

Robert Nelson

Ignoring the Overo part, yes linux is linux, so you could run it on Angstrom.. But back to the Overo part, it may or may not work, as that was never a tested target...

Regards,

James Ang

Hi Robert,

Negative result with v3.0.8-x3 kernel on Overo FE (OMAP3530-ES3.1)

I just tried running 'sgx_init_test' and it hardlocked the system.
The last output message on the console is:
Misc Info API: Query the SGX features from host driver
OK
<--[hardlock here]

Is there a specific suite of test applications to run through to ensure that the SGX is working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.