yogggoy

Members
  • Content Count

    11
  • Joined

  • Last visited

About yogggoy

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 1 - run script_edid.sh laptop found HDMI dev fswebcam timeout error 2- run script_init.sh
  2. Hi @petit_miner. Currently I do not know how to write the EDID correctly and init ADV. But I try to write data directly through i2cget / i2cset utisl, and my laptop now detects the HDMI device. First, the dmesg say: adv7611 2-004c: adv7611 found @ 0x98 (mv64xxx_i2c adapter) after i found AD recommendations "script" file: ADV7611-VER.3.0c.txt https://ez.analog.com/video/w/documents/789/adv7611-design-support-files and just convert it to .sh: script_init.sh script_edid.sh But the image is not available right now. fswebcam -r 640x480 --jpeg 85 -D 1 web-cam-shot.jpg I got a green img:
  3. petit_miner, thank you! You were right, after upgrading the kernel to 4.20 and up - the module sun6i_csi is loaded automatically and the /dev/video0 is available. (of course the csi must be status = "okay"; in DT) But I can't figure out how to use your instruction about building kernel, and how to apply the kernel to an existing image on SDcard. I tried to assemble an image by linux-sunxi "manual build howto", but it turned out to be too difficult for me I got the first result after applying armbian-config tools and option change kernel version to dev (4.20). After applying "armbian-add-overlay adv7611.dts" i got /dev/video0 device, but module adv7604 is missing. Then the img was assembled again through "buil.sh BRANCH=dev". adv7604 was selected in menuconfig Now i have img with video0 dev and adv7604 module. Thanks for help! But now the device is not working, i can't get picture from video0 - have error: pi@orangepizeroplus2:~$ sudo fswebcam -r 640x480 --jpeg 85 -D 1 shot.jpg --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Delaying 1 seconds. --- Capturing frame... Timed out waiting for frame! No frames captured. i think i have hardware problem, because notebook have not any reaction on HDMI connection to adv7611. i will read the registers adv7611, I will write if get any results.
  4. petit_miner, thank you! You were right
  5. @petit_miner, thank you very much! I will try to repeat your instructions, i will definitely write about the results. Do you mean get pure kernel (torvalds rep), without armbian path? I did not understand why I need an output from the chip and why use a transistor. We can directly connect HDMI 5v to HDMI hpd. But i am forget about other chip in family, adv7604 have 4 input HDMI port, and in this case hpd is really necessary.
  6. Hello. I'am try use adv7604 and csi in orangepi zero +2 H5, and i cant understand right way to apply changes in build-framework. After all settings in menuconfig are selected, i save cfg in .config_adv7604, and Exit from menuconfig. Build-fwk continued to buld my img ~1hour, and after that i cannot found the module adv7604.ko. OK I am rebuild img again, in the menuconfig i save settings in .config and again cannot find modules. Оn the third try it finally turned out. I saved the config several times in .config (maybe, rewrite old cfg file) and modules now is available in system. It is possible, add .config-files select mode in build-framework? Or maybe it is already available?
  7. @@lex, can you show the result (dt_full.dts) of the command: dtc -I fs -O dts -o dt_full.dts /sys/firmware/devicetree/base/ , please? I think this patch work only for nano_pi, and on my orangepi i have other DT description. (i am a newbie)
  8. I added a description of reset and hot-plug_dtct pins in DTS'overlay. (But don't understand how is work htp-detect) now dt-overlay looks like: Yep, my full dts in first msg realy decompiled from system: dtc -I fs -O dts -o dt_full_adv7611.dts /sys/firmware/devicetree/base/ from first msg: Board: OrangePi zero plus2 H5 Linux 4.19.21-sunxi64 #5.76 And yesterday, i'am rebuild img again with last kernel I see one problem. In menuconfig i'am select adv7604 and sun6i_csi moudles, but after apply armbian-add-overlay and reboot linux - in list lsmod i see only adv7604. sun6i_csi is missing. If i do: modprobe sun6i_csi, in lsmod i see this module. But in /dev has not appeared video-dev/ How can I see more info about HW in Linux? Expect dmesg and ls /dev/
  9. I am not a detective but I think @de24b27b0e - spamBot(copy-paste). By the way, I did not find a thread on the forum where I can report violations.
  10. Well, I found the HW problem on the board and after fix dmesg | grep adv7611 looks like this: [ 7.795241] media: Linux media interface: v0.10 [ 7.879137] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok [ 7.887178] videodev: Linux video capture interface: v2.00 [ 8.040638] adv7611 2-004c: adv7611 found @ 0x98 (mv64xxx_i2c adapter) [ 8.599735] Adding 61620k swap on /dev/zram1. Priority:5 extents:1 across:61620k SSFS [ 8.606285] zram2: detected capacity change from 0 to 63102976 [ 8.737312] thermal thermal_zone0: failed to read out thermal zone (-110) But, as I understand it, this kernel module only works with i2c, but not with CSI. I don't see any video devices in /dev, and v4l2-ctl -l says that it cannot find /dev /video0. I missed something in DT, but what? ps, my HW errors: bad schematic for ocsil_clk 28.636. GND instead VCC. XTAL_P must be 1v8 I forgot about reset pin, fastfix - just plug 3v3. The correct solution is to use reset-gpios and hpd-gpios
  11. Hello. I want to do HDMI-in to CSI with ADV7611. But have problems with DT overlay. I'm a newbie. I can build img with activated module adv7611 in menuconfig. And apply "armbian-add-overlay adv7611.dts". But /dev/video device did not appear. Can someone suggest in the H5 device tree? I found the AnalogDevice forum, where it says that need to use a bridge. As I understood this bridge is implemented as camera@1cb0000 ? https://ez.analog.com Thanks! Board: OrangePi zero plus2 H5 Linux 4.19.21-sunxi64 #5.76 armbianmonitor -u : http://ix.io/1ydH scheme: https://drive.google.com/file/d/1eT7e76SpUhAEcup6RZTLhV4o1UbJKGvd/view?usp=sharing dmesg | grep -C3 adv7611: [ 7.675676] OF: /thermal-zones/cpu-thermal: arguments longer than property [ 7.675690] thermal thermal_zone2: failed to read out thermal zone (-110) [ 7.718236] videodev: Linux video capture interface: v2.00 [ 7.871221] adv7611 1-004c: Error -6 reading IO Regmap [ 7.904420] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok [ 8.465050] Adding 61620k swap on /dev/zram1. Priority:5 extents:1 across:61620k SSFS [ 8.467709] zram2: detected capacity change from 0 to 63102976 my adv7611.dts overlay: full "dtc -I fs" log: