Re: [beagleboard] Cannot Fully Disable HDMI device tree overlay, HDMI Okay/HDMIN to be specific.

2016-01-16 Thread Dean
Managed to disable the HDMI with the latest image. Thanks Robert. 

-- 
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: Ubuntu kernel source code for beaglebone black

2016-01-16 Thread Devendra Gupta
Thanks For the prompt reply Robert. I completely understand your point, But 
this is not the case with ubuntu source code, the uncompressed version 
takes around 600MB see below. Why the source code for Beaglebone black is 
too large, Does it mean that the source i am getting is the main tree and 
needs to be configured according to the Beaglebone config file. 


 Thanks

On Saturday, January 16, 2016 at 11:47:42 PM UTC+5:30, RobertCNelson wrote:
>
> On Sat, Jan 16, 2016 at 12:05 PM, Devendra Gupta 
> > wrote: 
> > Hi 
> > 
> > 
> > I am having exactly the same issue, i am looking for the source code for 
> > linux-headers-3.8.13-bone79, which is there in my beaglebone black. I 
>
> sudo apt-get install linux-headers-3.8.13-bone79 
>
>
> > searched a lot and did exactly what they have said. The problem is it is 
> > fetching around 2GB of code from github as shown below in red 
> > 
> >  Counting objects: 4533648, done.Receiving objects: 14% 
> (646498/4533648), 
> > 261.2 Counting objects: 4533648, done.Receiving objects: 14% 
> > (653382/4533648), 265.5 
> > ^Cceiving objects: 34% (1579601/4533648), 589.96 MiB | 450 KiB/s 
>
> Yeah, that's kernel source repo..  The kernel headers aren't generated 
> our of thin air.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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] usb serial gadget

2016-01-16 Thread Bremenpl

  
  
I see, and is there a way to bridge it to another serial at a low OS
level, without having to write a program that would do it manually
for it?

W dniu 2016-01-17 o 01:09, Robert
  Nelson pisze:


  
On Jan 16, 2016 4:28 PM, "bremenpl" 
wrote:
>
> Hello there,
> The bbb image normally comes with usb gadget that simulates
ethernet and mass storage. I have 2 questions regarding that:
>
> Can the usb additionally simulate serial port? So on the
host side one would see a com port (if windows) and on the
beagle side it would be a tty interface? If yes, how to enable
it?
  By default serial is also enabled.. By default you
should see Ethernet, mass storage, and serial..
  >
> Second question, can serial interfaces in linux be bridged
together easily? For example, by connecting the beagle to the pc
and writing to the usb serial gadget from the pc, i would like
uart5 to send that data. In short terms, can beagle be
configured to be a serial uab converter?
>
> I would apreciate all help!
  The Linux serial interface created is /dev/ttyGS0
  Regards,
  -- 
  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/qNXqseY60Dw/unsubscribe.
  To unsubscribe from this group and all its topics, send an email
  to beagleboard+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.


-- 
Bremenpl
  




-- 
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: How do I get my Aptina camera (mt9m114) to work in kernel 3.14?

2016-01-16 Thread byc013
Hello Sergi,

I'm using the same on imx.6 linux 3.14.28 kernel and would like to 
integrate the mt9m114 sensor.
Have you managed to write a suitable driver?

The debate I have currently is whether to register the sensor as 'v4l2 
subdev' or 'v4l2 int-device'.

I'll appreciate your help.

Thanks
Yechiel

On Wednesday, November 11, 2015 at 1:06:11 PM UTC+2, Sergi D wrote:
>
> Hi All,
>
> I am trying to get work my Aptina camera MT9M114 
>  in the 3.14 
> kernel for a Beaglebone Black.
>
> I'm using the RobertCNelson github 
> 's kernel and also the 
> dtb-builder. But I had no lucky because working on I realized that there's 
> no driver for that sensor in the kernel. I tried to import it from kernel 
> 3.8. I copied the files and modified the Kconfig and Makefile. I obtained 
> the corresponding menu entry in menuconfig. I'm able to select the driver 
> as module or built-in. 
>
> Anyone knows if the sensor driver is compatible with my actual kernel 
> version? There are other drivers compatible with the mt9m114 sensor?
>
> I'm trying to create a device tree include (dtsi) based on the 
> BB-BONE-VVDN-00A0.dts but making it static and not with overlays to add as 
> include in am335x-boneblack.dts. (attached file: 
> am335x-bone-cam-vvdn-00a0.dtsi)
>
> The kernel, modules and dtbs compiles without errors but when I install 
> all in the BBB nothing related to /dev/video0 or media/i2c appears during 
> the boot or dmesg.
>
> Porting from 3.8 to 3.14 may create pin conflicts? It is possible that 
> device tree is not calling the driver? 
>
> Any help will be appreciated!
> Sergi.
>
>
>

-- 
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: Cannot Set Static IP address on Beaglebone Black Version 4.1.12-ti-r29 Ubuntu 15.04 and Debian 8.2

2016-01-16 Thread Dean

Graham thanks man!! This problem has been solved. Very much appreciated.

-- 
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] GPS Overlay not working on Beaglebone Black 4.1.12-ti-r29 Ubuntu 15.04 and Debian 8.2 VM

2016-01-16 Thread Dean
Robert you Rock !! Thanks man the problem has been solved at this end. Much 
appreciated.

Wrong dtc..
>
> Follow:
>
> https://github.com/beagleboard/bb.org-overlays
>
> and run:
>
> ./dtc-overlay.sh
>
> then use:
>
> /usr/local/bin/dtc
>  
>
>>
>> root@beaglebone:~/boneDeviceTree/overlay# ./build
>>
>>
>> Compiling the overlay from .dts to .dtbo
>>
>>
>> root@beaglebone:~/boneDeviceTree/overlay# ls -al
>>
>>
>> total 20
>>
>> drwxrwxr-x 2 root root 4096 Nov 12 2015 .
>>
>> drwxrwxr-x 10 root root 4096 Nov 12 2015 ..
>>
>> -rw-r--r-- 1 root root 986 Nov 12 21:23 DM-GPIO-Test-00A0.dtbo
>>
>> -rw-r--r-- 1 root root 1591 Nov 12 2015 DM-GPIO-Test.dts
>>
>> -rwxr-xr-x 1 root root 124 Nov 12 2015 build
>>
>>
>> root@beaglebone:~/boneDeviceTree/overlay# cp DM-GPIO-Test-00A0.dtbo 
>> /lib/firmware/
>>
>>
>> root@beaglebone:/lib/firmware# cat $SLOTS
>>
>> 0: PF -1 
>>
>> 1: PF -1 
>>
>> 2: PF -1 
>>
>> 3: PF -1 
>>
>> 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln
>>
>>
>> root@beaglebone:/lib/firmware# echo DM-GPIO-Test > $SLOTS 
>>
>
>
> dmesg | grep bone
>
> will show you more..
>  
>
>>
>> root@beaglebone:/lib/firmware# cat $SLOTS
>>
>> 0: PF -1 
>>
>> 1: PF -1 
>>
>> 2: PF -1 
>>
>> 3: PF -1 
>>
>> 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln
>>
>
> cape-universaln is already loaded to..
>
> disable by removing: "cape_universal=enable" from:
>
> /boot/uEnv.txt  
>
>
>  
>
>> 5: P-O-L- 1 Override Board Name,00A0,Override Manuf,DM-GPIO-Test
>>
>> root@beaglebone:/lib/firmware# cat $PINS|grep 878
>>
>>
>> pin 30 (44e10878.0) 0037 pinctrl-single 
>>
>> root@beaglebone:/lib/firmware# cat $PINS|grep 984
>>
>> pin 97 (44e10984.0) 0037 pinctrl-single 
>>
>> root@beaglebone:/lib/firmware# cat $PINS|grep 834
>>
>> pin 13 (44e10834.0) 0027 pinctrl-single 
>>
>> root@beaglebone:/lib/firmware# cat $PINS|grep 830
>>
>> pin 12 (44e10830.0) 0027 pinctrl-single 
>>
>> root@beaglebone:/lib/firmware# cat $PINS|grep 824
>>
>> pin 9 (44e10824.0) 0027 pinctrl-single 
>>
>>
>>
>>
>> -- 
>> 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.
>>
>
>
>
> -- 
> Robert Nelson
> https://rcn-ee.com/
>

-- 
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] usb serial gadget

2016-01-16 Thread Robert Nelson
On Jan 16, 2016 4:28 PM, "bremenpl"  wrote:
>
> Hello there,
> The bbb image normally comes with usb gadget that simulates ethernet and
mass storage. I have 2 questions regarding that:
>
> Can the usb additionally simulate serial port? So on the host side one
would see a com port (if windows) and on the beagle side it would be a tty
interface? If yes, how to enable it?

By default serial is also enabled.. By default you should see Ethernet,
mass storage, and serial..

>
> Second question, can serial interfaces in linux be bridged together
easily? For example, by connecting the beagle to the pc and writing to the
usb serial gadget from the pc, i would like uart5 to send that data. In
short terms, can beagle be configured to be a serial uab converter?
>
> I would apreciate all help!

The Linux serial interface created is /dev/ttyGS0

Regards,

-- 
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] Debian 4.1.15-ti-r40 on BBB with LCD touch cursor jumping to right.

2016-01-16 Thread steovep
Hi All,

I'm currently working on a small project which uses an LCD Cape 
(http://www.4dsystems.com.au/product/4DCAPE_43/) with a BBB Rev C running 
the latest version of Debian 4.1.15-ti-r40. Everything is going very well 
with development, with successful MODBUS comms to a Varible speed drive 
through UART4, grabbing RTC and analoge data over BB-SPIDEV0, as well as 
general IO by way of 24VDC in and relay outputs. This is all programmed 
using QT creator running on a cross development platform, which I'm slowly 
getting the hang of.

I must thank Robert C Nelson for all the hard work and long hours he puts 
into supporting new Kernels for the BBB. which makes this possible.

My only problem now is the touch screen, which for some reason, will make 
the cursor jump to the right a random distance when removing the pressure 
from the screen surface, (interesting as to why it is always to the 
right??) during the initial touch and even while dragging the cursor 
follows the stylus or finger perfectly, but as the stylus/finger is 
removed, the analogue touch sensors seem to throw one last erroneous X, Y 
coordinate. As can be seen if I run the TSLIB TS_calibrate program, and 
look at the console data streaming back

A few observations, 
Previous to loading Debian 4.1.15 the LCD touch screen worked perfectly on 
kernel ver 3.8, however I made the decision to upgrade as I had all sorts 
of problems trying to automatically load DTO's at startup. (mostly my 
custom DTO) so the hardware is fine.

The problem is no where near as bad when running the TS_calibrate program 
which happens about 50% of the time, as to when running the QT developed 
application, where it will happen 90% of the time.

Even through I believe QT writes directly to the frame buffer (using -qws) 
this problem can also be seen when running startx from the console.

>From my understanding the display uses a ti_am335x_tsc and there are 
snippets of forum comments that a problem is present - seems to have been 
an "on and off" issue over a number of years. However I cannot find a 
definitive solution to apply to my problem.

One option I have considered is changing back to 3.XX if I can sort out 
loading DTO's from boot???


Any help will be greatly appreciated, I'm losing hair over this one!! 

Thanks 

Steve

-- 
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] usb serial gadget

2016-01-16 Thread bremenpl
Hello there,
The bbb image normally comes with usb gadget that simulates ethernet and mass 
storage. I have 2 questions regarding that:

Can the usb additionally simulate serial port? So on the host side one would 
see a com port (if windows) and on the beagle side it would be a tty interface? 
If yes, how to enable it?

Second question, can serial interfaces in linux be bridged together easily? For 
example, by connecting the beagle to the pc and writing to the usb serial 
gadget from the pc, i would like uart5 to send that data. In short terms, can 
beagle be configured to be a serial uab converter?

I would apreciate all help!

-- 
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] Docker for debian Wheezy

2016-01-16 Thread Abhishek G
Got it!!

Instead of "docker run -it debian /bin/bash", which is for 64bit intel 
processor, we have to "docker run -it armhf/debian /bin/bash" and it 
works!!!
It was a silly mistake and it took time to figure out.

Thanks for all the support till now :)

Regards
Abhishek Gurudutt

On Thursday, 14 January 2016 16:43:16 UTC-8, Abhishek G wrote:
>
> After update and reboot.
>
> "
> root@beaglebone:~# docker version
> Client version: 1.6.2
> Client API version: 1.18
> Go version (client): go1.3.3
> Git commit (client): 7c8fca2
> OS/Arch (client): linux/arm
> Server version: 1.6.2
> Server API version: 1.18
> Go version (server): go1.3.3
> Git commit (server): 7c8fca2
> OS/Arch (server): linux/arm
>
> root@beaglebone:~# docker run -it debian /bin/bash
> FATA[0001] Error response from daemon: Cannot start container 
> 36a21eb81eca27ea2bb14cb8d5bdf08b53a680079c9dfede673257366f4f244e: [8] 
> System error: exec format error
>
> root@beaglebone:~# docker info
> Containers: 1
> Images: 2
> Storage Driver: aufs
>  Root Dir: /var/lib/docker/aufs
>  Backing Filesystem: extfs
>  Dirs: 4
>  Dirperm1 Supported: true
> Execution Driver: native-0.2
> Kernel Version: 4.1.15-ti-r40
> Operating System: Debian GNU/Linux 8 (jessie)
> CPUs: 1
> Total Memory: 488.7 MiB
> Name: beaglebone
> ID: RXXL:IQPN:ONKC:NVDZ:MN7P:RG4V:4AN2:DYBI:INYP:5Q6G:BPHH:5GL3
>
> root@beaglebone:~# docker ps -a
> CONTAINER IDIMAGE   COMMAND CREATED   
>   STATUS  PORTS   NAMES
> 36a21eb81ecadebian:latest   "/bin/bash" 14 seconds ago 
>  determined_hypatia
>
> root@beaglebone:~# docker restart 36a21eb81eca
> Error response from daemon: Cannot restart container 36a21eb81eca: [8] 
> System error: exec format error
> FATA[0002] Error: failed to restart one or more containers
>
> root@beaglebone:~#
> "
> Still the same error.
>
>
> On Thursday, 14 January 2016 15:24:19 UTC-8, RobertCNelson wrote:
>>
>>
>>
>> On Thu, Jan 14, 2016 at 5:13 PM, Abhishek G  wrote:
>>
>>> The problem i faced with the link that you provided which is 
>>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots
>>>  
>>> 
>>> and the image bone-debian-8.2-lxqt-4gb-armhf-2016-01-10-4gb.img.xz
>>> is that when i try to "apt-get update" or "apt-get install" i was 
>>> getting an error like,
>>> "
>>> dpkg: error: corrupt info database format file 
>>> '/var/lib/dpkg/info/format' 
>>> E: Sub-process /usr/bin/dpkg returned an error code (2)
>>> "
>>>
>>
>> This sounds like your ran out of space, probally didn't run:
>>
>>
>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD
>>
>>
>>  
>>
>>>
>>>
>>> So I have been using http://beagleboard.org/latest-images
>>> Debian 8.2 (BeagleBone, BeagleBone Black, Seeed BeagleBone Green, Arrow 
>>> BeagleBone Black Industrial - 2GB SD) 2015-11-12 
>>> 
>>>
>>> and the docker info is as follows.
>>>
>>> root@beaglebone:/etc/apt# docker -v
>>> Docker version 1.6.2, build 7c8fca2
>>> root@beaglebone:/etc/apt# docker info
>>> Containers: 1
>>> Images: 2
>>> Storage Driver: devicemapper
>>>  Pool Name: docker-179:2-1659-pool
>>>  Pool Blocksize: 65.54 kB
>>>  Backing Filesystem: extfs
>>>  Data file: /dev/loop0
>>>  Metadata file: /dev/loop1
>>>  Data Space Used: 462.4 MB
>>>  Data Space Total: 107.4 GB
>>>  Data Space Available: 1.972 GB
>>>  Metadata Space Used: 897 kB
>>>  Metadata Space Total: 2.147 GB
>>>  Metadata Space Available: 1.972 GB
>>>  Udev Sync Supported: true
>>>  Data loop file: /var/lib/docker/devicemapper/devicemapper/data
>>>  Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
>>>  Library Version: 1.02.90 (2014-09-01)
>>> Execution Driver: native-0.2
>>> Kernel Version: 4.1.12-ti-r29
>>>
>>
>> That was before i enabled all the recommended docker.io kernel config 
>> options..
>>
>> sudo apt-get update
>> sudo apt-get install linux-image-4.1.15-ti-r40
>> sudo reboot
>>
>> should get you going..
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
>>
>

-- 
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: Ubuntu kernel source code for beaglebone black

2016-01-16 Thread Robert Nelson
On Sat, Jan 16, 2016 at 12:05 PM, Devendra Gupta
 wrote:
> Hi
>
>
> I am having exactly the same issue, i am looking for the source code for
> linux-headers-3.8.13-bone79, which is there in my beaglebone black. I

sudo apt-get install linux-headers-3.8.13-bone79


> searched a lot and did exactly what they have said. The problem is it is
> fetching around 2GB of code from github as shown below in red
>
>  Counting objects: 4533648, done.Receiving objects: 14% (646498/4533648),
> 261.2 Counting objects: 4533648, done.Receiving objects: 14%
> (653382/4533648), 265.5
> ^Cceiving objects: 34% (1579601/4533648), 589.96 MiB | 450 KiB/s

Yeah, that's kernel source repo..  The kernel headers aren't generated
our of thin air..

Regards,

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

-- 
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: Python OpenCV code runnig on BBB interacting with the PRUs

2016-01-16 Thread Tinashe Mudavanhu
Thanks Doog,

I will try that and get back to you with results i get.

Regards

On Sat, Jan 2, 2016 at 6:09 PM, doog  wrote:

> IIRC, the PRU's are memory mapped so you could "talk" to the PRU using
> that memory. If none of that makes sense to you then you have a learning
> curve ahead of you before you'll be even close to ready to write software
> for the PRU to control your servos.
>
> Might I suggest you write your software to control the servo(s) in Python
> first and see how well it reacts with your OpenCV program. If that's not
> _fast_ enough then port the servo software to C++ and if that is not fast
> enough you would then have enough understanding of your project, software
> development in C and the BBB to start porting your servo code to the PRU(s).
>
>
> On Saturday, January 2, 2016 at 5:04:22 AM UTC-8, Tinashe Mudavanhu wrote:
>>
>> Hi,
>>
>> I recently bought a BBB to run an eye tracking opencv code. I am a novice
>> in this area so please dont get frustrated if the question seems silly. How
>> do i make the opencv code interact with the PRUs on the BBB? The motive is
>> to use PRU controlled servo motors to move the camera (for faster realtime
>> operations), but since PRUs are just mere microcontrollers that cannot run
>> opencv (opencv running on the Debian OS on BBB), how do i link the code
>> running on the OS and the PRUs?
>>
>> I intend to use python for the opencv code. I'm open to further
>> clarification on my question just thought that this might be a starting
>> point.
>>
>> Kind Regards,
>>
>> Tinashe
>>
> --
> 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/pa7TSCgRbYA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.