Stephen Graf Posted March 24 Posted March 24 @going I have a few questions about the kernel sound configuration: why is the SUN50IW9_CODEC configured in two places? do we need CONFIG_SND_SUN8I_CODEC=y and CONFIG_SND_SUN8I_CODEC_ANALOG=y? # # Allwinner SoC Audio support # CONFIG_SND_SUN4I_CODEC=y CONFIG_SND_SUN50IW9_CODEC=m CONFIG_SND_SUN8I_CODEC=y CONFIG_SND_SUN8I_CODEC_ANALOG=y CONFIG_SND_SUN50I_CODEC_ANALOG=y CONFIG_SND_SUN4I_I2S=m CONFIG_SND_SUN4I_SPDIF=m CONFIG_SND_SUN50I_DMIC=m CONFIG_SND_SUN9I_HDMI_AUDIO=m CONFIG_SND_SUN8I_ADDA_PR_REGMAP=y # end of Allwinner SoC Audio support CONFIG_SND_SOC_SUNXI_MACH=m CONFIG_SND_SOC_SUNXI_AHUB_DAM=m CONFIG_SND_SOC_SUNXI_INTERNALCODEC=m CONFIG_SND_SOC_SUNXI_SUN50IW9_CODEC=m # # Allwinner SoC Audio support V2 # CONFIG_SND_SOC_SUNXI_AAUDIO=m CONFIG_SND_SOC_SUNXI_AHUB=m # end of Allwinner SoC Audio support V2 0 Quote
going Posted March 24 Posted March 24 3 минуты назад, Stephen Graf сказал: I have a few questions about the kernel sound configuration: why is the SUN50IW9_CODEC configured in two places? do we need CONFIG_SND_SUN8I_CODEC=y and CONFIG_SND_SUN8I_CODEC_ANALOG=y? Do we need this one? 4 минуты назад, Stephen Graf сказал: CONFIG_SND_SUN4I_CODEC=y 0 Quote
Nick A Posted March 24 Posted March 24 (edited) I was adding my Transpeed TV Box patches to official Armbian using kernel 6.12.16. I got this error compiling my dts at this line. &ahub_dam_mach { status = "okay"; }; I found this was missing in the sun50i-h616.dtsi. ahub_dam_mach:ahub_dam_mach { compatible = "allwinner,sunxi-snd-mach"; soundcard-mach,name = "ahubdam"; status = "disabled"; soundcard-mach,cpu { sound-dai = <&ahub_dam_plat>; }; soundcard-mach,codec { }; }; Edited March 24 by Nick A 0 Quote
Nick A Posted March 24 Posted March 24 (edited) I found the answer why it was taken out here.. Someone might need it. Edited March 24 by Nick A 0 Quote
robertoj Posted Monday at 05:11 AM Posted Monday at 05:11 AM (edited) Is anybody having success with ilitek LCD display, or SPI in general? I am trying 6.12 with my orange pi zero 3, but the LCD just remains white. When I switch back to my microSD with Linux 6.11, it works with no problem (ili9488+ads7846) Edited Monday at 04:49 PM by robertoj 0 Quote
going Posted Monday at 05:11 PM Posted Monday at 05:11 PM @robertoj Please check the kernel configuration on the working version. And which modules are present. Then compare with the non-working option. 0 Quote
robertoj Posted Monday at 06:32 PM Posted Monday at 06:32 PM (edited) Yes. I will try again when I get back home, along with re-including some armbian patches related to SPI Own reference: Spoiler Kernel config instructions: https://docs.armbian.com/Developer-Guide_User-Configurations/ https://forum.armbian.com/topic/15355-user-provided-kernel-config/ Inclusion of armbian patches: https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/page/17/#findComment-205773 https://github.com/robertojguerra/orangepi-zero-full-setup/blob/main/README2.md Edited Monday at 06:35 PM by robertoj 0 Quote
robertoj Posted yesterday at 07:56 AM Posted yesterday at 07:56 AM (edited) Process of using a kernel config from a file Copy the config file from /boot folder to build/userpatches Then rename: $ mv config-6.11.9-edge-sunxi64 linux-sunxi64-edge.config cd .. ./compile.sh I get this compilation error: Spoiler [🐳|🔨] CC [M] drivers/net/wireless/rtl8811cu/platform/platform_ops.o [🐳|🔨] LD [M] drivers/net/wireless/rtl8811cu/8821cu.o [🐳|🔨] AR drivers/net/built-in.a [🐳|🔨] AR drivers/built-in.a [🐳|🔨] AR built-in.a [🐳|🔨] AR vmlinux.a [🐳|🔨] error: the following would cause module name conflict: [🐳|🔨] drivers/mfd/ac200.ko [🐳|🔨] drivers/net/phy/ac200.ko [🐳|🔨] make[2]: *** [Makefile:1875: modules_check] Error 1 [🐳|🔨] make[2]: *** Waiting for unfinished jobs.... [🐳|🔨] make[1]: *** [/armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/Makefile:347: __build_one_by_one] Error 2 [🐳|🔨] make: *** [Makefile:224: __sub-make] Error 2 [🐳|💥] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-e236f45c-7165-44f5-8304-f47c168b3ca3.log.ans ] It seems that a wifi driver is in 2 folders... I will see which kernel driver I should remove ...first trying removing mfd/ac200 I don't know if has improved anythig... but I see these new build errors: Spoiler 🐳|🌱] Using kernel config provided by user [ userpatches/linux-sunxi64-edge.config ] [🐳|🔨] '/armbian/userpatches/linux-sunxi64-edge.config' -> '/armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/.config' [🐳|🌱] Considering available RAM for BTF build [ 8709 MiB ] [🐳|🌱] Enabling eBPF and BTF info [ for fully BTF & CO-RE enabled kernel ] [🐳|🔨] # [🐳|🔨] # configuration written to .config [🐳|🔨] # [🐳|🌱] Kernel configuration [ linux-sunxi64-edge ] configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. [🐳|🌱] Exporting new kernel defconfig [ /armbian/output/config/linux-sunxi64-edge.config ] [🐳|🔨] 'defconfig' -> '/armbian/output/config/linux-sunxi64-edge.config' [🐳|🌱] Exporting new kernel config - git commit pending [ /armbian/userpatches/linux-sunxi64-edge.config ] [🐳|🔨] 'defconfig' -> '/armbian/userpatches/linux-sunxi64-edge.config' [🐳|🔨] /armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/.config /armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/.config.armbian.previous differ: byte 105893, line 4195 [🐳|🌱] Kernel configuration changed from previous build [ optimizing for correctness ] [🐳|🌱] Compiling edge kernel [ 6.12.11 ] [🐳|🌱] Building kernel [ sunxi64 linux-sunxi64-edge all Image install install modules_install headers_install dtbs_install ] [🐳|🔨] Statistics zeroed [🐳|🔨] Makefile:219: target 'install' given more than once in the same rule [🐳|🔨] /armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/Makefile:343: target 'install' given more than once in the same rule [🐳|🔨] SYNC include/config/auto.conf.cmd [🐳|🔨] mkdir -p /armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/tools/bpf/resolve_btfids && make O=/armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64 subdir=tools/bpf/resolve_btfids --no-print-directory -C bpf/resolve_btfids [🐳|🔨] FIXUP IMAGE arch/arm64/boot/dts/allwinner/overlay/sun50i-a64-fixup.scr [🐳|🔨] FIXUP IMAGE arch/arm64/boot/dts/allwinner/overlay/sun50i-h5-fixup.scr [🐳|🔨] FIXUP IMAGE arch/arm64/boot/dts/allwinner/overlay/sun50i-h6-fixup.scr [🐳|🔨] Image Name: [🐳|🔨] Created: Thu Jan 23 16:23:05 2025 [🐳|🔨] Image Type: AArch64 Linux Script (uncompressed) [🐳|🔨] Data Size: 4127 Bytes = 4.03 KiB = 0.00 MiB [🐳|🔨] Load Address: 00000000 [🐳|🔨] Entry Point: 00000000 [🐳|🔨] Contents: [🐳|🔨] Image 0: 4119 Bytes = 4.02 KiB = 0.00 MiB [🐳|🔨] Image Name: [🐳|🔨] Created: Thu Jan 23 16:23:05 2025 [🐳|🔨] Image Type: AArch64 Linux Script (uncompressed) [🐳|🔨] Data Size: 4127 Bytes = 4.03 KiB = 0.00 MiB [🐳|🔨] Load Address: 00000000 [🐳|🔨] Entry Point: 00000000 [🐳|🔨] Contents: [🐳|🔨] Image 0: 4119 Bytes = 4.02 KiB = 0.00 MiB [🐳|🔨] Image Name: [🐳|🔨] Created: Thu Jan 23 16:23:05 2025 [🐳|🔨] Image Type: AArch64 Linux Script (uncompressed) [🐳|🔨] Data Size: 3757 Bytes = 3.67 KiB = 0.00 MiB [🐳|🔨] Load Address: 00000000 [🐳|🔨] Entry Point: 00000000 [🐳|🔨] Contents: [🐳|🔨] Image 0: 3749 Bytes = 3.66 KiB = 0.00 MiB [🐳|🔨] INSTALL libsubcmd_headers [🐳|🔨] CALL scripts/checksyscalls.sh [🐳|🔨] UPD kernel/config_data [🐳|🔨] CHK kernel/kheaders_data.tar.xz [🐳|🔨] GZIP kernel/config_data.gz [🐳|🔨] CC kernel/configs.o [🐳|🔨] AR kernel/built-in.a [🐳|🔨] AR built-in.a [🐳|🔨] AR vmlinux.a [🐳|🔨] LD vmlinux.o [🐳|🔨] OBJCOPY modules.builtin.modinfo [🐳|🔨] GEN modules.builtin [🐳|🔨] MODPOST Module.symvers [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_audio_disable" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_set_audio_interface" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_set_channel_status" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_set_channel_count" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_set_channel_allocation" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_set_audio_infoframe" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] ERROR: modpost: "dw_hdmi_qp_audio_enable" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp-i2s-audio.ko] undefined! [🐳|🔨] make[3]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1 [🐳|🔨] make[2]: *** [Makefile:1889: modpost] Error 2 [🐳|🔨] make[1]: *** [/armbian/cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64/Makefile:347: __build_one_by_one] Error 2 [🐳|🔨] make: *** [Makefile:224: __sub-make] Error 2 [🐳|💥] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-14a8896d-b0c4-484a-9bbd-d5bff44e0b27.log.ans ] [🐳|🌱] Share log manually: [ use one of the commands below (or add SHARE_LOG=yes next time!) ] [🐳|🌿] Share log manually: [ curl --data-binary @output/logs/log-build-14a8896d-b0c4-484a-9bbd-d5bff44e0b27.log.ans https://paste.armbian.com/log ] [🐳|🌿] Share log manually: [ curl --data-binary @output/logs/log-build-14a8896d-b0c4-484a-9bbd-d5bff44e0b27.log.ans https://paste.armbian.de/log ] [🐳|🌿] Share log manually: [ curl --data-binary @output/logs/log-build-14a8896d-b0c4-484a-9bbd-d5bff44e0b27.log.ans https://paste.next.armbian.com/log ] [🐳|🌿] Share log manually: [ curl --data-binary @output/logs/log-build-14a8896d-b0c4-484a-9bbd-d5bff44e0b27.log.ans https://paste.armbian.eu/log ] Edited yesterday at 08:56 AM by robertoj 0 Quote
robertoj Posted yesterday at 09:23 AM Posted yesterday at 09:23 AM Going, I see that you worked on some SPI patches previously ... have you tested SPI in opiz3, under Linux 6.12? I found that the raspberry pi people are using panel-mipi-dbi-spi successfully under 6.12 https://forums.raspberrypi.com/viewtopic.php?p=2290196&hilit=panel+mipi+dbi+spi+6.12#p2290196 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.