RIoTBoard and ENOTTY error

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

RIoTBoard and ENOTTY error

594 Views
fademike
Contributor I

Hello!

I have RIoTBoard (with i.mx6 solo), And I want to get a simple video stream with HSYNC, VSYNC, DATA[8], CLK...

In the default configuration, I can read the data from /dev/video0

But after update: u-boot, linux(5.4 with: imx_v6_v7_defconfig, imx6dl-riotboard.dts), ubuntu(18.04), and after reading the device /dev/video0, i get error: "Invalid argument".

strace xxd /dev/video0:
ioctl(3, TCGETS, 0xbeb8ba4c) = -1 ENOTTY (Inappropriate ioctl for device)
read(3, 0xe14170, 4096) = -1 EINVAL (Invalid argument)

Maybe I need to change the file imx6dl-riotboard.dts?
How do I get a video stream? Where to read about it?

Thanks in advance.

Labels (2)
0 Kudos
1 Reply

571 Views
jimmychan
NXP TechSupport
NXP TechSupport

Basically, you can try to porting this board (modify the dts file) base on the schematic if you have the schematic of this board.

 

For your information:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

There is a linux porting guide. You may read it for reference.

0 Kudos