Can VIM4 do HDMI raw packet passthrough with packet sniffering/inspection?

Which system do you use? Android, Ubuntu, OOWOW or others?

Whatever that can achieve that?

Which version of system do you use? Please provide the version of the system here:

Whatever that can achieve that?

Please describe your issue below:

Hi, I’m shopping for a board to do HDMI in-line packet analysis and want to see if that’s feasible with VIM4 board before i further invest my money and time into it.

I hope to passthrough packets from the HDMI input to the HDMI output as-is, while inspecting the packets in whatever fashion, especially avi info frames and vendor-specific ones.

I understand the raw HDMI data rate is very huge for potential data dump, and I’m thinking adding some customized codes to filter and identify the exact kind of packets that I want to analyze.

Can anyone (especially from Khadas and/or chip vendor) that can help with providing such info?

弱弱问下VIM4可以接通HDMI穿透的同时抓包HDMI吗?

Thanks!

Post a console log of your issue below:

N/A

What you are trying to do is more than likely illegal. You might have to use a FPGA and many hours of work.

Hmm, how is that possibly illegal though? I’m intrigued.

If HDCP is what you’re thinking, raw packet capture would be at lower level than that: captured packets are cipher-text rather than plaintext.

The VIM4 board can be used for HDMI in-line packet analysis, but it requires specialized knowledge and experience. You will need to be able to filter and identify specific packets, capture packets from the HDMI input and output, and analyze captured packets. For more information, research online or contact the Khadas community.

1 Like

@yax24 maybe check this out, it doesn’t seem very abstracted for capturing raw packets, but should be relevant

cheers

1 Like

Thanks a lot!

Those look like the exact things i need. Should be decently easy to add my own code to filter and print/dump those VSIF packets of my interest.

Thanks again!

2 Likes

About those Amlogic drivers, are there build instructions for VIM4?

@yax24 the simplest way to build and install it as a package is using fenix

Just follow the instructions:

$ source env/setenv.sh # configure the image to build VIM4 Ubuntu, similar to your current firmware
$ make kernel-deb

After this, you should have an instance of the common drivers repo in
build/linux/common_drivers

You can make local changes in the common drivers source code, and build a kernel update package with

$ make kernel deb

The packages should be in build/images/debs/<fenix version>/VIM4/ for you to copy to your board, and installable by

$ sudo dpkg -i *.deb

Cheers.