Jump to content

Recommended Posts

Posted

@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
 

Posted
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

 

 

 

Posted (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 by Nick A
Posted (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 by robertoj
Posted (edited)

Yes. I will try again when I get back home, along with re-including some armbian patches related to SPI

 

Own reference:

 

Edited by robertoj
Posted (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 by robertoj

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines