Problem in running the samples from gpu_sdk_v1.00

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem in running the samples from gpu_sdk_v1.00

Jump to solution
2,594 Views
sudiptasubudhi
Contributor III

Hi,

I am trying to port gpu_sdk_v1.00 obtained from freescale onto Nitrogen6x board (IMX6) and run the samples provided by the sdk. I am using ubuntu 14.04 image.I am compiling on target using fbdev. After compilation,the "bin" directory is not generated automatically but the binaries of the samples are created in their respective folders. when i am trying to run any one of them,it is giving an error:

root@nitrogen:/sdk/Samples/GLES1.1/01_SimpleTriangle# ./01_SimpleTriangle

Lesson 02

./01_SimpleTriangle: symbol lookup error: ./01_SimpleTriangle: undefined symbol: fbGetDisplayByIndex

So, how to get out of it ? Thanks in advance.

Regards,

Sudlin

Labels (1)
0 Kudos
Reply
1 Solution
1,955 Views
sudiptasubudhi
Contributor III

Hi all,

The Problem got solved.The mistake i was doing is i was using the lxde image provided by Boundary devices which has X support. As i was compiling using fbdev windowing system the console image provided by the Boundary devices works well and the freescale gpu sdk samples are running on 3.10.17 kernel.

These are the requirements if you are using a Nitrogen6x board and 3.10.17 kernel:

1. Rootfs :

      available at

     http://boundarydevices.com/ubuntu-trusty-december-2014-release/

2.Install gpu-viv-bin-mx6q-1.10.17-1.0.0.tar.gz

3.Install the following packages:

     available at timesys

     i) linux-libc-dev-armhf-cross_3.13.0-12.32cross1.104_all.deb

     ii) libc6-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

     iii) libc6-dev-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

4.Then follow the instructions provided in the pdf present in the freescale gpu_sdk for the symlinks required for the libraries.

Regards,

Sudlin

View solution in original post

0 Kudos
Reply
4 Replies
1,955 Views
sudiptasubudhi
Contributor III

update

Hi,

I am running on lxde(3.10.17 linux image from Boundary devices). I was getting that error because i was trying to compile the samples from the serial console on my pc connected from the board but when i try from a terminal window from the device itself, the "bin" directory is created and the binaries are present inside it.

But,when i try to run a binary, it gives the following message on the screen

./01_SimpleTriangle

Lesson 02

chooseconfig,

createwindow,

createcontext,

makecurrent,

exiting init,

and then it waits and no response till i forcefully interrupt it.

Can someone help me with it??

Regards,

Sudlin

0 Kudos
Reply
1,956 Views
sudiptasubudhi
Contributor III

Hi all,

The Problem got solved.The mistake i was doing is i was using the lxde image provided by Boundary devices which has X support. As i was compiling using fbdev windowing system the console image provided by the Boundary devices works well and the freescale gpu sdk samples are running on 3.10.17 kernel.

These are the requirements if you are using a Nitrogen6x board and 3.10.17 kernel:

1. Rootfs :

      available at

     http://boundarydevices.com/ubuntu-trusty-december-2014-release/

2.Install gpu-viv-bin-mx6q-1.10.17-1.0.0.tar.gz

3.Install the following packages:

     available at timesys

     i) linux-libc-dev-armhf-cross_3.13.0-12.32cross1.104_all.deb

     ii) libc6-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

     iii) libc6-dev-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

4.Then follow the instructions provided in the pdf present in the freescale gpu_sdk for the symlinks required for the libraries.

Regards,

Sudlin

0 Kudos
Reply
1,955 Views
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution Sudlin!, it will help other users in the future!

0 Kudos
Reply
1,955 Views
SergioSolis
NXP Employee
NXP Employee

Boundary Devices do you have information to help Sudlin?

0 Kudos
Reply