RIoTBoard and ENOTTY error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RIoTBoard and ENOTTY error

1,483 次查看
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.

标签 (2)
0 项奖励
回复
1 回复

1,460 次查看
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 项奖励
回复