-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sgx-startup.sh problem with bone-debian-8.7-iot-armhf-2017-03-19-4gb image #40
Comments
After rebooting I executed the following command:
now it works. |
I can get SGX properly running by disabling startup execution of sgx-startup.sh
and by adding the following lines to rc.local
without the sleep it doesn't starts. |
this really needs to be converted to a systemd startup script, i bet it's waiting for rootfs to load.. ;) |
I create a simple service:
but it doesn't load at startup. I get the same error.
it works... |
in the unit:
Regards, |
Same error.
|
Could it depend on /dev/fb0 not ready at boot time? |
I confirm, when script execute at boot time there isn't /dev/fb0 available. |
I solved by adding a "while" before modprobe :
|
fixes: #40 Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
fixes: #40 Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
@LucaVs thanks! merged that (and tested it) |
👍 |
I just tried following the instructions here: http://elinux.org/BeagleBoardDebian#SGX_BeagleBone.2FBeagleBone_Black When I check for omaplfb using lsmod, I don't see it. However, I do see pvrsrvkm.
Looking at the startup script, it looks like you also wait for pvrsrvkm.
It doesn't look like that path exists on my device, so the startup script gets stuck there. |
@tderensis probally didn't install teh bone kernel: http://elinux.org/BeagleBoardDebian#Mainline_.284.4.x_lts.29 Regards |
Ah, I didn't realize I needed the bone kernel. I currently am using:
What are the differences between these kernels? I am currently using the Beaglebone Green Wireless and using sleep modes along with an RGB display. Does that kernel still support these features? |
@tderensis the 4.4.x-ti kernel has the new SGX driver stack. It's EGL only, FBDEV got removed. to use it:
and that's as far as i've gotten.. your on your own. |
These steps worked to get the pvrsrvkm module installed and the pvrsrvctl program starts. If the new SGX driver stack only supports EGL, then should I be using weston if I want accelerated video using EGL? Or should I be able to use lxqt? I tried weston, but it fails to start unless I run it with --use-pixman. |
I tried the same way that @LucaVs tried (following this) but the module fails to load on boot. The log output doesn't show much:
Starting it afterwards also does not work either. At that point the kernel starts spewing messages. One small difference I noticed is that my GFX that I created is named differently: GFX_5.01.01.02_es8.x.tar.gz. Also running the update_kernel script automatically installs ti-sgx-es8-modules-4.4.61-bone17. I believe this is needed, but I am not entirely sure. |
I'm using the latest Debian image:
bone-debian-8.7-iot-armhf-2017-03-19-4gb image
I followed the instruction from:
http://elinux.org/BeagleBoardDebian#SGX_BeagleBone.2FBeagleBone_Black
to get SGX available.
It seems there's a problem with sgx-startup.sh .
When I reboot the BBB I can't find omaplfb module loaded.
The text was updated successfully, but these errors were encountered: