

going
Members-
Posts
782 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by going
-
This means that the missing pins should be written something like this: fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>, <&spi1_cs0_pin>, <&spi1_cs1_pin>;
-
Try adding this line compatible = "armbian,spi-dev"; /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; compatible = "armbian,spi-dev"; cs-gpios = <&pio 7 9 0>,<&pio 2 15 0>; // PH9=CS0 for lcd, PC15=CS1 for touch panel: panel@0 { compatible = "panel-mipi-dbi-spi"; reg = <0>; ................ P.S. I doubt that I am giving you the right advice.
-
Yes, please post it here. There may be several suggestions (explanations) as a short instruction for use.
-
@Marco Cettina When you apply the overlay, the PWM driver will loaded and export some files to /sys. I haven't figured out what to do with it next or how to use it yet. I hope you can clarify this for all of us. PR: pull/8086
-
https://github.com/The-going/PKG_test/tree/master/sunxi64-6.13 You can install these pre-assembled kernel packages and check their functionality. /boot/armbianEnv.txt ... overlay_prefix=sun50i-h616 overlays=pwm1-ph3 ...
-
As a rule, you also need to set the processor frequency to the maximum value and make it unchanged and configure the Linux kernel scheduler.
-
After you complete the configuration of the kernel, the build system will tell you where and under what name it has saved your configuration file. Next, you need to save it with a name config/kernel/linux-sunxi64-edge.config and commit it to the build system itself. or save it under the name userpatches/config/kernel/linux-sunxi64-edge.config Only after that, run ./compile.sh BOARD=bananapim4zero BRANCH=edge kernel
-
Indeed, I wrote it very briefly. There are problems with analog audio output/input in the linux kernel for h616-h618 processors. We are solving this problem, which exists in several drivers and their interaction with each other. Audio output via HDMI works today only because one of the Armbian users added this feature. This is an expansion board. Obviously, in order for it to work, we need overlays for everyone. sun50i-h616-audio-out.dtso /dts-v1/; /plugin/; / { fragment@0 { target = <&codec>; __overlay__ { allwinner,audio-routing = "Line Out", "LINEOUT"; status = "okay"; }; }; };
-
The driver in these kernels works well for "old" 1080p monitors. It has been verified that it does not work with SAMSUNG, LG 2k, 4k resolution models. This problem is in the drivers You can set in the file /boot/armbianEnv.txt verbosity=10. The output of this command in a working and non-working version may possibly suggest which of the driver modules is failing. dmesg | grep -E 'hdmi|drm|gpu|edid|cec'
-
orange pi zero2w allwinner h618 no gpu/sound support
going replied to mike19's topic in Allwinner sunxi
The possible problem is in the u-boot loader. In order to understand what the problem is, we need a boot log from the UART console. -
The pwm driver is present there. It is necessary to add the overlay correctly. Is your device an orange-pi-zero-3?
-
This is an outdated core and will no longer be supported after this pull request. Try switching to the EDGE core (6.13). I will add the ability to apply overlays for PWM to the EDGE core. And we will check it together.
-
variant-1 I didn't check it. Use it at your own risk. P.S. This will not work in the Armbian core at the moment. Further development is required in the sound/soc/sunxi/sun4i-i2s.c driver, with a cursory reading of the source text.
-
Okay, let's go. First, please describe what you have connected and how. What actions were taken. Any details you deem necessary.
-
uname -r command. Two types of PWM can be available. Software and hardware. The hardware for h616-h618 processors is only available for these pins: PG19 - pwm1 PH0 - pwm3 PH1 - pwm4 PH2 - pwm2 PH3 - pwm1 PI11 - pwm1 PI12 - pwm2 PI13 - pwm3 PI14 - pwm4 Which pin do you want to use PWM for?
-
Which pin requires an overlay? Which core are you using?
-
orange pi zero2w allwinner h618 no gpu/sound support
going replied to mike19's topic in Allwinner sunxi
The GPU issue has been resolved in kernel 6.12 and subsequent versions. -
Unfortunately, there's nothing I can do to help you with this core. I suspect that for other monitors the HDMI output will work. Just try to change the monitor, change the OS image to understand where the problem is. Пожалуйста попробуйте работу любого образа Armbian с этой страницы загрузки. https://www.armbian.com/orange-pi-4-lts/ If working on this image will have problems, please create a new theme with a name reflecting the essence of the problem.
-
Дмитрий, пожалуйста предоставьте дополнительную информацию. uname -r dmesg | grep -E 'hdmi|gpu|drm|codec' What brand of monitor and its resolution are used? My samsung 2k monitor cannot be detected by some linux kernels, for example. Although other users noted good performance at 1920x1080 resolution.
-
@robertoj Please check the kernel configuration on the working version. And which modules are present. Then compare with the non-working option.