RIoTBoard and ENOTTY error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RIoTBoard and ENOTTY error

1,122件の閲覧回数
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,099件の閲覧回数
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 件の賞賛
返信