Jump to content

sasa

Members
  • Posts

    7
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

  1. This is internal development for our boards, unfortunately, there is no public repository for our kernel. The code is borrowed from reverse-engineered POCs h264 + * Based on https://github.com/jemk/cedrus + * Copyright (c) 2014-2015 Jens Kuske <jenskuske@gmail.com> jpeg + * Based on https://gitorious.org/recedro/jepoc + * Copyright (c) 2014 Manuel Braga <mul.braga@gmail.com>
  2. Hi, maybe someone will find this patch useful. It adds JPEG and H264 encoding to the main Cedrus driver. Both encoders use a stable stateful API, so they can be used with any multimedia software, such as gstreamer, ffmpeg, etc. gst-launch-1.0 videotestsrc pattern=smpte ! video/x-raw,width=1920,height=1080 ! v4l2h264enc ! h264parse ! matroskamux ! filesink location=test_h264.mkv gst-launch-1.0 videotestsrc ! v4l2jpegenc ! matroskamux ! filesink location=test_mjpeg.mkv I tested it on T113 (jpeg) and A40 (jpeg, h264) processors and I think it should work with H3 as well. It doesn't work with 64-bit processors like H616/T507 because their encoders have been updated, and as far as I know, they haven't been reverse-engineered yet. linux-6.12.28-cedrus-enc.patch
  3. Hello, to avoid this error, you can disable strict mode in the pin controller driver https://elixir.bootlin.com/linux/v6.7.12/source/drivers/pinctrl/sunxi/pinctrl-sun50i-h616.c But I'm not sure that the driver for this touchscreen can work on allwinner processors without changes, because their "gpio_in" and "irq" are different multiplexer states I think they cannot work simultaneously, so something similar is needed PS Of course you can use different pins for interrupts and gpio and then everything should work out of the box.
  4. Perhaps it will be interesting to someone - audio on hdmi and edid reading work on the t507 too, there was a problem in our DDC connection scheme.
  5. This device is used to control the Audio HUB сrossbar switch, for example it makes possible to use external i2s interfaces. https://github.com/elkoni/Opi_Zero_3_I2S3_5.4/blob/main/OpiZero3_I2S_3_mixer.JPG
  6. Thanks for confirming. In fact, my patch does not solve the problem and can only be considered as a temporary solution. I think we need a new driver for the audio multiplexer, for example, as is implemented for NXP processors. https://elixir.bootlin.com/linux/v6.6.30/source/sound/soc/fsl/imx-audmux.c For these processors, the audio multiplexer configuration is described via DT https://elixir.bootlin.com/linux/v6.6.30/source/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi#L176
  7. Hi, I think these messages are not related to analog audio, at least on my custom board with t507 processor, analog audio works with this error. You can simply disable them as it was in the linux kernel 6.1 The sound works for me if I turn it on in the mixer It’s strange, but I have another problem - the sound does not work through HDMI and there is also a problem with reading EDID through the DDC interface. I would be grateful if you could tell me whether automatic detection of monitor or TV resolution via HDMI works for you.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines