SGX not installing

446 views
Skip to first unread message

James S

unread,
Apr 1, 2016, 6:03:19 PM4/1/16
to BeagleBoard
I followed the instructions here  http://elinux.org/BeagleBoardDebian#SGX_BeagleBone.2FBeagleBone_Black  and the install fails at the BBB with:
debian@beaglebone:/opt/gfxinstall$ sudo ./sgx-install.sh
./sgx-install.sh: 29: ./sgx-install.sh: lsb_release: not found

The build on Ubuntu completes without reporting a fault and produces GFX_5.01.01.02_es8.x.tar.gz.


What am I doing wrong?
James.

debian@beaglebone:/opt/gfxinstall$ uname -r
4.1.20-bone20

debian@beaglebone:/opt/gfxinstall$ cat /etc/dogtag
BeagleBoard.org Debian Image 2016-03-27



Robert Nelson

unread,
Apr 1, 2016, 6:07:07 PM4/1/16
to Beagle Board
sudo apt-get update ; sudo apt-get install lsb-release

then rerun:

debian@beaglebone:/opt/gfxinstall$ sudo ./sgx-install.sh

Regards,


--
Robert Nelson
https://rcn-ee.com/

James S

unread,
Apr 1, 2016, 6:12:13 PM4/1/16
to BeagleBoard
Purrfect Robert, thank you for the prompt response!

James S

unread,
Apr 1, 2016, 6:17:40 PM4/1/16
to BeagleBoard
Oops! I did a reboot and lsmod | grep omaplfb but nothing shows up.

Robert Nelson

unread,
Apr 1, 2016, 6:34:13 PM4/1/16
to Beagle Board
On Fri, Apr 1, 2016 at 5:17 PM, James S <s19...@gmail.com> wrote:
> Oops! I did a reboot and lsmod | grep omaplfb but nothing shows up.

sudo /etc/init.d/sgx-startup.sh start

James S

unread,
Apr 1, 2016, 6:43:59 PM4/1/16
to BeagleBoard
Still not working, even tried rebooting.

debian@beaglebone:/opt/gfxinstall$ sudo /etc/init.d/sgx-startup.sh start
sgx: Starting PVR
debian@beaglebone:/opt/gfxinstall$ lsmod | grep omaplfb
debian@beaglebone:/opt/gfxinstall$ lsmod | grep omaplfb
debian@beaglebone:/opt/gfxinstall$ sudo reboot

Last login: Fri Apr  1 22:15:11 2016 from base2.lan
debian@beaglebone:~$ lsmod | grep omaplfb
debian@beaglebone:~$

vite...@gmail.com

unread,
May 3, 2016, 9:20:32 AM5/3/16
to BeagleBoard
I have the same issue. Do you found the solution?

James Singleton

unread,
May 3, 2016, 4:19:06 PM5/3/16
to BeagleBoard

I *think*  I started with the wrong image (console) - it worked when I used an lxqt image.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/sOhHuq_T6KQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6199537f-d7b1-4466-b63f-b1e7a3a1598b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vite...@gmail.com

unread,
May 4, 2016, 8:55:41 AM5/4/16
to BeagleBoard
I'm using bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img, I've done everything according to instructions from first post, but output from lsmod | grep omaplfb after all instructions is still empty.
I even found an error in "sgx_create_package.sh" (at origin/am33x-v4.1 checkout) at line 202 :
cp -v "${DIR}"/ignore/ti-sdk-pvr/Graphics_SDK/armhf/gfx_rel_es$2/*.ko${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
"armhf" subfolder was missing.

Can you please make a short step-by-step algorithm whad did you do and your current hardware configuration?
I think, Im missing something trivial.

Thank you.

Robert Nelson

unread,
May 4, 2016, 9:47:25 AM5/4/16
to Beagle Board
On Wed, May 4, 2016 at 5:17 AM, <vite...@gmail.com> wrote:
I'm using bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img, I've done everything according to instructions from first post, but output from lsmod | grep omaplfb after all instructions is still empty.
I even found an error in "sgx_create_package.sh" (at origin/am33x-v4.1 checkout) at line 202 :
cp -v "${DIR}"/ignore/ti-sdk-pvr/Graphics_SDK/armhf/gfx_rel_es$2/*.ko${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
"armhf" subfolder was missing.

"sgx_create_package.sh" doesn't built the kernel modules, it was expected you had been upgrading via:


cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh <OPTIONS>

Mainline (lts)[edit]

4.1.x BeagleBone/BeagleBone Black + SGX
--bone-kernel --lts
4.1.x BeagleBone/BeagleBone Black + RT + SGX
--bone-rt-kernel --lts

If not, just:

sudo apt-get install ti-sgx-es8-modules-`uname -r`
sudo depmod -a `uname -r`
sudo update-initramfs -uk `uname -r`

 
Can you please make a short step-by-step algorithm whad did you do and your current hardware configuration?
I think, Im missing something trivial.


beyond that good luck, all questions about SGX should go to ti.com...

Regards,

vite...@gmail.com

unread,
May 4, 2016, 12:15:32 PM5/4/16
to BeagleBoard
all of that i have done already. thank you for your reply. question is still open. 
what suggestions do you have? is it depends on bbb revision, or using hdmi or lcd display, or doing all this over ssh, or something else?
interesting, why one get it working out of the box, and on my two bbbs it doesnt work.
Reply all
Reply to author
Forward
0 new messages