Re: [beagleboard] Beaglebone AI Device Tree Overlay syntax

2021-06-09 Thread Jason Kridner
thought i already switched to google group to read-only. i will do so. 

> On Jun 9, 2021, at 6:05 PM, Robert Nelson  wrote:
> 
> On Wed, Jun 9, 2021 at 4:03 PM John Allwine  wrote:
>> 
>> Are we still posting here or should be be posting on the Discourse forum?
>> 
>> https://forum.beagleboard.org/t/beaglebone-ai-device-tree-overlay-syntax/30044
> 
> The discourse forum should be the place.
> 
> @Jason Kridner is our 2-3 weeks migration up? ;)
> 
> -- 
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/48F88825-EBF0-4AC0-84AA-9A22CAD37B33%40gmail.com.


Re: [beagleboard] Beaglebone AI Device Tree Overlay syntax

2021-06-09 Thread Robert Nelson
On Wed, Jun 9, 2021 at 4:03 PM John Allwine  wrote:
>
> Are we still posting here or should be be posting on the Discourse forum?
>
> https://forum.beagleboard.org/t/beaglebone-ai-device-tree-overlay-syntax/30044

The discourse forum should be the place.

@Jason Kridner is our 2-3 weeks migration up? ;)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjRey-UevKjOXF%3DW4PM8QXp1jhn_QQDJJThxQBFztY46w%40mail.gmail.com.


[beagleboard] eglinfo error: egl error 'EGL_BAD_ALLOC' (0x3003)

2021-06-09 Thread eb
Hi, I am trying to get the NewHaven Parallel cape display 

 
working on the BeagleBone Black Wireless. I am using the Stretch ImgTec 
image.

The strange thing is that I got ANOTHER parallel cape display, from 4D 
System, AND another regular HDMI screen, working. eglinfo runs properly, 
and my Qt application using EGLFS works without a hitch. But on THIS 
display, I'm getting this error:

Creating Window surface..
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid 
argument [0, ]
Unable to create surface
egl error 'EGL_BAD_ALLOC' (0x3003)

What could it be about this particular display that's different from the 
others? I'm not sure if it helps, but I attached the output of eglinfo and 
"strace elginfo". Another interesting piece of info is that the kmscube 
application is running properly. So this is something specific to EGL.

Any help would be greatly 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/06db4efe-0a0d-46db-b69c-6f61feb42269n%40googlegroups.com.

eglGetConfigs():
==

**
EGL config number: 0
EGL vendor string: Imagination Technologies
EGL version string: 1.4 build 1.14@3699939 (MAIN)
EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base 
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image 
EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image 
EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process 
EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync 
EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
EGL client APIs are: OpenGL_ES 

EGL config Attributes:
 EGL_CONFIG_ID = 0x1 
 EGL_BUFFER_SIZE = 0x10 
 EGL_RED_SIZE = 0x5 
 EGL_GREEN_SIZE = 0x6 
 EGL_BLUE_SIZE = 0x5 
 EGL_LUMINANCE_SIZE = 0x0 
 EGL_ALPHA_SIZE = 0x0 
 EGL_ALPHA_MASK_SIZE = 0x0 
 EGL_BIND_TO_TEXTURE_RGB = 0x1 
 EGL_BIND_TO_TEXTURE_RGBA = 0x0 
 EGL_COLOR_BUFFER_TYPE = 0x308e 
 EGL_CONFIG_CAVEAT = 0x3038 
 EGL_CONFORMANT = 0x1 
 EGL_DEPTH_SIZE = 0x18 
 EGL_LEVEL = 0x0 
 EGL_MAX_PBUFFER_WIDTH = 0x800 
 EGL_MAX_PBUFFER_HEIGHT = 0x800 
 EGL_MAX_PBUFFER_PIXELS = 0x40 
 EGL_MAX_SWAP_INTERVAL = 0xa 
 EGL_MIN_SWAP_INTERVAL = 0x1 
 EGL_NATIVE_RENDERABLE = 0x0 
 EGL_NATIVE_VISUAL_ID = 0x0 
 EGL_NATIVE_VISUAL_TYPE = 0x0 
 EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
 EGL_SAMPLE_BUFFERS = 0x0 
 EGL_SAMPLES = 0x0 
 EGL_STENCIL_SIZE = 0x8 
 EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
 EGL_TRANSPARENT_TYPE = 0x3038 
 EGL_TRANSPARENT_RED_VALUE = 0x0 
 EGL_TRANSPARENT_GREEN_VALUE = 0x0 
 EGL_TRANSPARENT_BLUE_VALUE = 0x0 

Creating Window surface..
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid argument 
[0, ]
Unable to create surface
egl error 'EGL_BAD_ALLOC' (0x3003)
execve("/usr/bin/eglinfo", ["eglinfo"], [/* 19 vars */]) = 0
brk(NULL)   = 0x22d1000
uname({sysname="Linux", nodename="beaglebone", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb6f7
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=46200, ...}) = 0
mmap2(NULL, 46200, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f64000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0002\0\0004\0\0\0"..., 
512) = 512
lseek(3, 41688, SEEK_SET)   = 41688
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1040) = 1040
lseek(3, 41348, SEEK_SET)   = 41348
read(3, "A0\0\0\0aeabi\0\1&\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 49) = 49
fstat64(3, {st_mode=S_IFREG|0644, st_size=42728, ...}) = 0
mmap2(NULL, 108192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb6f3
mprotect(0xb6f3a000, 61440, PROT_NONE)  = 0
mmap2(0xb6f49000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0xb6f49000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/usr/lib/libgbm.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\244\r\0\0004\0\0\0"..., 

[beagleboard] Beaglebone AI Device Tree Overlay syntax

2021-06-09 Thread John Allwine
Are we still posting here or should be be posting on the Discourse forum?

https://forum.beagleboard.org/t/beaglebone-ai-device-tree-overlay-syntax/30044

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/40e63947-c27b-4b2e-9b4a-a0f0e3c9baf3n%40googlegroups.com.


Re: [beagleboard] Video device not found error.

2021-06-09 Thread jonnymo
Things that would help to understand the issue are:

1. The output of the version.sh script:
  Ex:
sudo  /opt/scripts/tools/version.sh

2. Provide the Make/Model of USB camera used

3. What application is used when seeing the error?

4. Does the camera show in the 'dmesg' output and/or /var/log/syslog?

5. What troubleshooting steps have you taken thus far?


I think this would be a start in helping to understand your issue.

Cheers,

Jon

On Wed, Jun 9, 2021 at 10:43 AM evilwulfie  wrote:

> I love the beaglebone, dont get me wrong
> but the r-pi has a nice video input and it just works.
>
> On 6/9/2021 9:12 AM, Ujjval Rathod wrote:
>
> I am trying to capture the images from the USB camera. I get an error that
> no device has been found on the /dev/video0 on beaglebone black running
> debian.
>
> Does anyone has an idea? How to deal with this kind of error?
>
> Regards,
> Ujjval
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/961dfac4-3482-44a2-b12e-6ad524cb564en%40googlegroups.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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/8de7257a-229b-9972-113f-41c1080d7c17%40gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkou00c_vmh52aKgHo%2BtTbr2%2BNmYFL7X82Ug192JLk_aRQ%40mail.gmail.com.


Re: [beagleboard] Video device not found error.

2021-06-09 Thread evilwulfie

I love the beaglebone, dont get me wrong
but the r-pi has a nice video input and it just works.

On 6/9/2021 9:12 AM, Ujjval Rathod wrote:
I am trying to capture the images from the USB camera. I get an error 
that no device has been found on the /dev/video0 on beaglebone black 
running debian.


Does anyone has an idea? How to deal with this kind of error?

Regards,
Ujjval
--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/961dfac4-3482-44a2-b12e-6ad524cb564en%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8de7257a-229b-9972-113f-41c1080d7c17%40gmail.com.


[beagleboard] Video device not found error.

2021-06-09 Thread Ujjval Rathod
I am trying to capture the images from the USB camera. I get an error that 
no device has been found on the /dev/video0 on beaglebone black running 
debian.

Does anyone has an idea? How to deal with this kind of error?

Regards,
Ujjval

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/961dfac4-3482-44a2-b12e-6ad524cb564en%40googlegroups.com.