[beagleboard] Re: programming SPI with C on BBB

2014-10-02 Thread Artem Popov
Good example code: https://www.kernel.org/doc/Documentation/spi/spidev_fdx.c
It works on BBB without any changes.
Manual for linux spidev: https://www.kernel.org/doc/Documentation/spi/spidev

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Qt5 problem: windows have no title and borders

2014-07-28 Thread Artem Popov
Driver built without XOrg support. And Qt libs are built with -no-xcb 
option, so it's not about XOrg. I don't know how Qt draws windows without 
any OS window system, but Qt 4.8 works great with QApplication::GuiServer 
option and draws windows by itselves. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Qt5 problem: windows have no title and borders

2014-07-28 Thread Artem Popov
I've asked this question on Qt forums but still have 0 replies.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Qt5 problem: windows have no title and borders

2014-07-25 Thread Artem Popov
HW: Beaglebone Black
Linux: RCN Kernel 3.8 with sgx modules and xenomai
Qt version : qt-everywhere-opensource-src-5.3.1

Configure options: ./configure -release -force-debug-info -confirm-license 
-nomake tests -nomake examples -opensource -opengl es2 -device 
linux-beagleboard-g++ -device-option 
CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -prefix /usr/qt5 -no-largefile 
-no-accessibility  -no-openssl -no-pulseaudio -no-alsa -no-cups -no-pch 
-eglfs -directfb -linuxfb -no-xcb -make libs -I 
/home/tim/BB/archive/Graphics_SDK_5_01_01_01/include/OGLES2 -L 
/home/tim/BB/archive/Graphics_SDK_5_01_01_01/gfx_rel_es8.x -xplatform 
linux-beagleboard-g++ -skip webkit

Configure result: http://paste.ubuntu.com/7857121/

As result windows have no title bars and borders. I've tried to create 
simple app which shows message box and tried to use example from 
qtbase/widgets/mainwindows/application.

Result:
MessageBox: 
http://beta.hstor.org/files/7d6/d46/83a/7d6d4683a187483a98bdd095c5e649a3.jpg
mainwindow app: 
http://beta.hstor.org/files/d8a/a6a/b34/d8aa6ab342e24ff29388c38344272de5.jpg

I've tried different platforms (linuxfb, eglfs, minimal) and styles. 
Nothing helps.And only eglfs shows fullscreen app.
Also, touchscreen works as Y coordinate is 3-5 mm lower, than it actually 
is. I should press touchscreen 3-5 mm under the button to press it.

MessageBox and examples works good for Qt 4.8.

How to fix this problems?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Disable framebuffer console

2014-07-11 Thread Artem Popov
Hardware: Beaglebone black + embest LCD7
Software: TI rootfs + RCN kernel 3.8.13 with sgx modules and xenomai. 
Kernel config: http://paste.ubuntu.com/7779382/

I want to disable login prompt and console on LCD display. If I disable 
Framebuffer Console support in kernel config, framebuffer is not working 
at all. No Tux logo on start, Qt and SGX examples don't write any errors, 
but don't work, even cat /dev/urandom  /dev/fb0 shows nothing. 
If I enable framebuffer console, everything works good, but with login 
prompt on screen and /dev/tty1 device assigned to it.
What is the correct way to disable it?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Commercially using the REV C?

2014-07-01 Thread Artem Popov
I think it's better to avoid replicas. I had a big problems with Embest 
replica. It has low quality expansion connectors and I couldn't make it 
work with LCD cape. Original CircuitCo BBB works good.

суббота, 28 июня 2014 г., 12:29:50 UTC+4 пользователь bilali...@gmail.com 
написал:


 Hello,


 I would like to know can i use this* Beagle bone Black REV C* for *commercial 
 use* ? also included software Debian for commercial ?


 *if yes*


 1) When can i get a large quantity of the product ? (currently only 1 is 
 available per person)
 2) Is there is any limitation on Editing the circuit ?
 3) Is there is any limitation on editing the OS/software/logic ?
 4) Will i get support for the BBB rev c if used commercially (without 
 modifying the circuit)?
 5) Will there be any clause of warranty void ? do you provide warranty on 
 your product ?
 6) Is there is any guide, books especially made for REV C which are very* 
 in depth* ? (not for newbies)

 *FYI* : I turned to BBB because i read online that the PI can't be used 
 commercially (without commitment to large qty sale)


 Hope you will soon answer the question


 Thank You


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Commercially using the REV C?

2014-07-01 Thread Artem Popov
I think it's better to avoid replicas. I had a bad experience with Embest 
replica. It has low quality expansion connectors and I couldn't make it 
work with LCD cape correctly. Original CircuitCo BBB works good.

суббота, 28 июня 2014 г., 12:29:50 UTC+4 пользователь bilali...@gmail.com 
написал:


 Hello,


 I would like to know can i use this* Beagle bone Black REV C* for *commercial 
 use* ? also included software Debian for commercial ?


 *if yes*


 1) When can i get a large quantity of the product ? (currently only 1 is 
 available per person)
 2) Is there is any limitation on Editing the circuit ?
 3) Is there is any limitation on editing the OS/software/logic ?
 4) Will i get support for the BBB rev c if used commercially (without 
 modifying the circuit)?
 5) Will there be any clause of warranty void ? do you provide warranty on 
 your product ?
 6) Is there is any guide, books especially made for REV C which are very* 
 in depth* ? (not for newbies)

 *FYI* : I turned to BBB because i read online that the PI can't be used 
 commercially (without commitment to large qty sale)


 Hope you will soon answer the question


 Thank You


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Creating The SGX Driver For Ubuntu 14.04

2014-06-26 Thread Artem Popov
 
Not shure if it's better to create new theme..
 
I'm trying to build sgx drivers for 3.8 kernel. I know that there is a lot 
of disccusions here about that, but I can't find any exact information here.

What I have:
BeagleBone Black + element14 LCD7 cape
RobertCNelson bb-kernel kernel, branch remotes/origin/am33x-v3.8.13.x + 
patch to create (un)register_vsync_cb functions for SGX code to compile.
Graphics SDK 5.01.01.01 from TI.

Everything compiles good. But on insmod pvrsrvkm.ko I got 
this: http://paste.org/73324
(Lines started by MVC:  are added by me for debug reasons)

1. If I understand correctly, pvrsrvkm crashed on line 575 
here: 
https://github.com/RobertCNelson/ti-sdk-pvr/blob/5.01.01.01/Graphics_SDK/GFX_Linux_KM/services4/system/ti335x/sysutils_linux.c#L575
 
when trying to map memory from TIMER7 region.
devmem2 0x4804A054 (SYS_TI335x_GP7TIMER_TSICR_SYS_PHYS_BASE = 0x4804A054) gives 
bus error and abort on non-linefetch. Am I right thinking that sgx driver 
wants to use timer7, but it's disabled?
2. Exactly same scheme works good with 3.2 kernel from element14 and same 
GFX SDK, modules load good, demos from /usr/bin/SGX work good. But timer7 
is disabled too and devmem2 on it gives exactly same error.
What am I doing wrong and is there any way to get 3.8 and gpu working?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: [beaglebone] lcd7 + qt-embedded touchscreen calibration

2014-05-21 Thread Artem Popov
I've set three variables:
export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0  ; Your touchscreen 
device
export TSLIB_CALIBFILE=/media/mmcblk0p1/pointercal  ; Your 
calibration file
export TSLIB_TSDEVICE=/dev/input/touchscreen0  ; 
Touchscreen device again

and it works ok. And it didn't work without any of this variables.


пятница, 14 июня 2013 г., 2:13:00 UTC+4 пользователь Paulo Villa написал:

 Has anyone solved this problem?

 Cheers,
 Paulo

 On Sunday, 9 December 2012 02:38:37 UTC-2, Brent wrote:

 I tried this, but it's like the touchscreen stops working completly when 
 I export QWS_MOUSE_PROTO.  Any ideas?  I tried both LinuxInput and Tslib.

 On Monday, November 26, 2012 5:32:05 AM UTC-5, Rai32 wrote:

 I fixed the problem:
 I download from *http://www.angstrom-distribution.org/repo/?section=x11 
 http://www.angstrom-distribution.org/repo/?section=x11*



 *-tslib-calibrate_1.0+gitr1+e17263ef401ee885a27d649b90b577cfb44500e0-r8_armv7a.ipk-tslib-conf_1.0+gitr1+e17263ef401ee885a27d649b90b577cfb44500e0-r8_armv7a.ipk-tslib-tests_1.0+gitr1+e17263ef401ee885a27d649b90b577cfb44500e0-r8_armv7a.ipk*
 I put this files in the beaglebone by sftp and install all of them:
 *#opkg install tslib-calibrate...*
 *#opkg install **tslib-conf***
 *#opkg install **tslib-tests***
 *I executed ts_calibrated and export the lib:*
 *#export QWS_MOUSE_PROTO=LinuxInput:/dev/input/event0*
 *then run *
 *#myapplication -qws*
 *and runs good!!*

 El martes, 14 de agosto de 2012 18:00:13 UTC+2, Rai32 escribió:

 Hi, I'm trying to use:
 export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
 and touchscreen is not work.
 If I don't introduce export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
 the touchscreen works bad, but with export 
 QWS_MOUSE_PROTO=Tslib:/dev/input/event0 it doesn't work.

 I run the Qt program using: ./NameProgram -qws

 any help? thanks very much

 El miércoles, 8 de agosto de 2012 01:18:10 UTC+2, TeraHz escribió:

 OK guys, found the fix. You need to setup the QWS driver to use tslib:

 export QWS_MOUSE_PROTO=Tslib:/dev/input/event0

 That fixes the problem.



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BB-View cape problem

2014-04-02 Thread Artem Popov
After 5-7 reconnections of BB-View in expansion slot it looks better, but 
not 100% ok. I think, the problem is that expansion connectors on BBB and 
on BB-View has bad electrical contact. Is it common situation for 
BeagleBone Black, or just for Embest replica, or maybe for my device only?

вторник, 1 апреля 2014 г., 18:09:12 UTC+4 пользователь Gerald написал:

 OK. So now everyone knows you have the Embest board. Interesting that they 
 have no revision number on it. I don't know what revision that board is 
 equivalent to on the BeagleBone Black.

 Gerald



 On Tue, Apr 1, 2014 at 8:57 AM, Artem Popov web@gmail.comjavascript:
  wrote:

 There is no revision like A5 or similar on board. I have BBB from 
 Embest with XAM3359AZCZ100 processor. There is nothing on ethernet header. 
 And it has barcode and code 1001024 on expansion slot.

 вторник, 1 апреля 2014 г., 16:59:12 UTC+4 пользователь Gerald написал:

 Just so people can help you, can you tell us the revision of the board? 
 PCB Rev B4 is the PCB, not the board. The revision is either on the 
 expansion headers or the RJ45 connector..

 Gerald


 On Tue, Apr 1, 2014 at 4:04 AM, Artem Popov web@gmail.com wrote:

 I've reconnected internal LCD cable. Blue color appeared and blue noise 
 disappeared. But there is still not enough color depth.

 Picture:
 http://timm.upload.s3-external-3.amazonaws.com/color3.jpg

 вторник, 1 апреля 2014 г., 12:46:15 UTC+4 пользователь Artem Popov 
 написал:

 Hello,

 I have a problem with BBB + BB-View + LCD7.
 OS: TI-SDK from element14 site
 HW: BBB PCD Rev B4, Element 14 BB-View cape, 7 LCD LCDX000-70T

 1. Colors are strange. Looks like not enough color depth or wrong blue 
 color intencity
 2. When I place my hand near the cable, didn't even touching it, blue 
 color noise appears.

 I've checked all connections. Everything is good.
 Board powered from 5V 0.5A DC adapter. I know that it's not enough, 
 but it works.

 Have somebody met such problem? What can I do to fix it or just to 
 find the reason?

 Bad picture screen:
 http://timm.upload.s3-external-3.amazonaws.com/colors1.jpg
 http://timm.upload.s3-external-3.amazonaws.com/colors2.jpg

 Blue noise screen:
  http://timm.upload.s3-external-3.amazonaws.com/noise1.jpg

   -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google 
 Groups BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to beagleboard...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BB-View cape problem

2014-04-02 Thread Artem Popov
Can somebody suggest board manufacturer which have no such problems

вторник, 1 апреля 2014 г., 12:46:15 UTC+4 пользователь Artem Popov написал:

 Hello,

 I have a problem with BBB + BB-View + LCD7.
 OS: TI-SDK from element14 site
 HW: BBB PCD Rev B4, Element 14 BB-View cape, 7 LCD LCDX000-70T

 1. Colors are strange. Looks like not enough color depth or wrong blue 
 color intencity
 2. When I place my hand near the cable, didn't even touching it, blue 
 color noise appears.

 I've checked all connections. Everything is good.
 Board powered from 5V 0.5A DC adapter. I know that it's not enough, but it 
 works.

 Have somebody met such problem? What can I do to fix it or just to find 
 the reason?

 Bad picture screen:
 http://timm.upload.s3-external-3.amazonaws.com/colors1.jpg
 http://timm.upload.s3-external-3.amazonaws.com/colors2.jpg

 Blue noise screen:
 http://timm.upload.s3-external-3.amazonaws.com/noise1.jpg


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BB-View cape problem

2014-04-01 Thread Artem Popov
Hello,

I have a problem with BBB + BB-View + LCD7.
OS: TI-SDK from element14 site
HW: BBB PCD Rev B4, Element 14 BB-View cape, 7 LCD LCDX000-70T

1. Colors are strange. Looks like not enough color depth or wrong blue 
color intencity
2. When I place my hand near the cable, didn't even touching it, blue color 
noise appears.

I've checked all connections. Everything is good.
Board powered from 5V 0.5A DC adapter. I know that it's not enough, but it 
works.

Have somebody met such problem? What can I do to fix it or just to find the 
reason?

Bad picture screen:
http://timm.upload.s3-external-3.amazonaws.com/colors1.jpg
http://timm.upload.s3-external-3.amazonaws.com/colors2.jpg

Blue noise screen:
http://timm.upload.s3-external-3.amazonaws.com/noise1.jpg

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BB-View cape problem

2014-04-01 Thread Artem Popov
I've reconnected internal LCD cable. Blue color appeared and blue noise 
disappeared. But there is still not enough color depth.

Picture:
http://timm.upload.s3-external-3.amazonaws.com/color3.jpg

вторник, 1 апреля 2014 г., 12:46:15 UTC+4 пользователь Artem Popov написал:

 Hello,

 I have a problem with BBB + BB-View + LCD7.
 OS: TI-SDK from element14 site
 HW: BBB PCD Rev B4, Element 14 BB-View cape, 7 LCD LCDX000-70T

 1. Colors are strange. Looks like not enough color depth or wrong blue 
 color intencity
 2. When I place my hand near the cable, didn't even touching it, blue 
 color noise appears.

 I've checked all connections. Everything is good.
 Board powered from 5V 0.5A DC adapter. I know that it's not enough, but it 
 works.

 Have somebody met such problem? What can I do to fix it or just to find 
 the reason?

 Bad picture screen:
 http://timm.upload.s3-external-3.amazonaws.com/colors1.jpg
 http://timm.upload.s3-external-3.amazonaws.com/colors2.jpg

 Blue noise screen:
 http://timm.upload.s3-external-3.amazonaws.com/noise1.jpg


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BB-View cape problem

2014-04-01 Thread Artem Popov
There is no revision like A5 or similar on board. I have BBB from Embest 
with XAM3359AZCZ100 processor. There is nothing on ethernet header. And it 
has barcode and code 1001024 on expansion slot.

вторник, 1 апреля 2014 г., 16:59:12 UTC+4 пользователь Gerald написал:

 Just so people can help you, can you tell us the revision of the board? 
 PCB Rev B4 is the PCB, not the board. The revision is either on the 
 expansion headers or the RJ45 connector..

 Gerald


 On Tue, Apr 1, 2014 at 4:04 AM, Artem Popov web@gmail.comjavascript:
  wrote:

 I've reconnected internal LCD cable. Blue color appeared and blue noise 
 disappeared. But there is still not enough color depth.

 Picture:
 http://timm.upload.s3-external-3.amazonaws.com/color3.jpg

 вторник, 1 апреля 2014 г., 12:46:15 UTC+4 пользователь Artem Popov 
 написал:

 Hello,

 I have a problem with BBB + BB-View + LCD7.
 OS: TI-SDK from element14 site
 HW: BBB PCD Rev B4, Element 14 BB-View cape, 7 LCD LCDX000-70T

 1. Colors are strange. Looks like not enough color depth or wrong blue 
 color intencity
 2. When I place my hand near the cable, didn't even touching it, blue 
 color noise appears.

 I've checked all connections. Everything is good.
 Board powered from 5V 0.5A DC adapter. I know that it's not enough, but 
 it works.

 Have somebody met such problem? What can I do to fix it or just to find 
 the reason?

 Bad picture screen:
 http://timm.upload.s3-external-3.amazonaws.com/colors1.jpg
 http://timm.upload.s3-external-3.amazonaws.com/colors2.jpg

 Blue noise screen:
 http://timm.upload.s3-external-3.amazonaws.com/noise1.jpg

  -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.