Package: src:linux Version: 6.1.38-2+sr1 Severity: normal Tags: patch X-Debbugs-Cc: josua.maye...@gmail.com
Dear Maintainer, Please enable the "adin" driver for analog devices ADIN1300 ethernet phy. SolidRun i.MX6 SoMs revision 1.9 and later replaced the original Atheros ethernet PHY with ADIN1300. This combination is fully supported in Linux 6.1. Therefore please enable the kernel module for armhf target. Sincerely Josua Mayer -- Package-specific info: ** Version: Linux version 6.1.0-10-armmp (debian-ker...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Debian 6.1.38-2+sr1 (2023-08-03) ** Command line: console=ttymxc0,115200 deferred_probe_timeout=10 ahci_imx.hotplug=1 cma=128M log_level=7 net.ifnames=0 ** Tainted: C (1024) * staging driver was loaded ** Kernel log: [ 18.664358] Registered IR keymap rc-empty [ 18.716304] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0 [ 18.759979] imx-ipuv3 2400000.ipu: IPUv3H probed [ 18.774524] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 18.800230] imx-ipuv3 2800000.ipu: IPUv3H probed [ 18.815890] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input0 [ 18.848755] mc: Linux media interface: v0.10 [ 18.947000] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv]) [ 18.953152] videodev: Linux video capture interface: v2.00 [ 19.011893] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY) [ 19.040476] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv]) [ 19.078395] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 19.096468] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops [etnaviv]) [ 19.103221] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108 [ 19.136549] imx6_media: module is from the staging directory, the quality is unknown, you have been warned. [ 19.167734] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007 [ 19.211360] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215 [ 19.217588] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0 [ 19.242861] CAN device driver interface [ 19.311072] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0 [ 19.330363] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2) [ 19.337504] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware [ 19.352112] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2) [ 19.359277] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin failed with error -2 [ 19.382870] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW [ 19.419980] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops imx_drm_exit [imxdrm]) [ 19.429343] coda 2040000.vpu: firmware: direct-loading firmware vpu/vpu_fw_imx6q.bin [ 19.454390] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops imx_drm_exit [imxdrm]) [ 19.461379] coda 2040000.vpu: Using fallback firmware vpu/vpu_fw_imx6q.bin [ 19.511767] coda 2040000.vpu: Firmware code revision: 46076 [ 19.517435] coda 2040000.vpu: Initialized CODA960. [ 19.522318] coda 2040000.vpu: Firmware version: 3.1.1 [ 19.538475] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops imx_drm_exit [imxdrm]) [ 19.582536] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops imx_drm_exit [imxdrm]) [ 19.614946] coda 2040000.vpu: coda-jpeg-encoder registered as video0 [ 19.626811] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops [dw_hdmi_imx]) [ 19.678814] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1 [ 19.688579] coda 2040000.vpu: coda-jpeg-decoder registered as video1 [ 19.705350] imx_thermal 20c8000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C [ 19.726904] coda 2040000.vpu: coda-video-encoder registered as video2 [ 19.746329] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 19.768188] coda 2040000.vpu: coda-video-decoder registered as video3 [ 19.823963] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 19.888081] caam 2100000.crypto: Entropy delay = 3200 [ 19.953984] caam 2100000.crypto: Instantiated RNG4 SH0 [ 20.014746] caam 2100000.crypto: Instantiated RNG4 SH1 [ 20.051209] caam 2100000.crypto: device ID = 0x0a16010000000000 (Era 4) [ 20.057950] caam 2100000.crypto: job rings = 2, qi = 0 [ 20.258432] sgtl5000 0-000a: sgtl5000 revision 0x11 [ 20.320280] sgtl5000 0-000a: Using internal LDO instead of VDDD: check ER1 erratum [ 20.553197] debugfs: File 'Headphone Jack' in directory 'dapm' already present! [ 20.687846] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 20.694504] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 20.698829] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 20.710278] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 20.790395] Registered IR keymap rc-cec [ 20.794771] rc rc1: dw_hdmi as /devices/platform/soc/120000.hdmi/rc/rc1 [ 20.816378] input: dw_hdmi as /devices/platform/soc/120000.hdmi/rc/rc1/input1 [ 20.826356] imx-ipuv3-csi imx-ipuv3-csi.0: Registered ipu1_csi0 capture as /dev/video4 [ 20.893490] imx-ipuv3 2400000.ipu: Registered ipu1_ic_prpenc capture as /dev/video5 [ 20.940559] imx-ipuv3 2400000.ipu: Registered ipu1_ic_prpvf capture as /dev/video6 [ 20.998419] video-mux 20e0000.iomuxc-gpr:ipu1_csi0_mux: Consider updating driver video-mux to match on endpoints [ 21.102726] imx-ipuv3-csi imx-ipuv3-csi.1: Registered ipu1_csi1 capture as /dev/video7 [ 21.194887] imx-ipuv3-csi imx-ipuv3-csi.4: Registered ipu2_csi0 capture as /dev/video8 [ 21.267012] imx-ipuv3 2800000.ipu: Registered ipu2_ic_prpenc capture as /dev/video9 [ 21.333790] imx-ipuv3 2800000.ipu: Registered ipu2_ic_prpvf capture as /dev/video10 [ 21.385029] imx-ipuv3-csi imx-ipuv3-csi.5: Registered ipu2_csi1 capture as /dev/video11 [ 21.466550] video-mux 20e0000.iomuxc-gpr:ipu2_csi1_mux: Consider updating driver video-mux to match on endpoints [ 21.551650] imx-media: Registered ipu_ic_pp csc/scaler as /dev/video12 [ 21.614283] ADIN1300 2188000.ethernet-1:01: attached PHY driver (mii_bus:phy_addr=2188000.ethernet-1:01, irq=POLL) [ 21.878314] alg: No test for authenc(hmac(sha224),ecb(cipher_null)) (authenc-hmac-sha224-ecb-cipher_null-caam) [ 21.914258] alg: No test for authenc(hmac(sha256),ecb(cipher_null)) (authenc-hmac-sha256-ecb-cipher_null-caam) [ 21.930504] alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-caam) [ 21.949862] alg: No test for echainiv(authenc(hmac(md5),cbc(aes))) (echainiv-authenc-hmac-md5-cbc-aes-caam) [ 22.025517] alg: No test for echainiv(authenc(hmac(sha1),cbc(aes))) (echainiv-authenc-hmac-sha1-cbc-aes-caam) [ 22.044756] alg: No test for authenc(hmac(sha224),cbc(aes)) (authenc-hmac-sha224-cbc-aes-caam) [ 22.057243] alg: No test for echainiv(authenc(hmac(sha224),cbc(aes))) (echainiv-authenc-hmac-sha224-cbc-aes-caam) [ 22.098753] alg: No test for echainiv(authenc(hmac(sha256),cbc(aes))) (echainiv-authenc-hmac-sha256-cbc-aes-caam) [ 22.112413] alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-des3_ede-caam) [ 22.121816] alg: No test for echainiv(authenc(hmac(md5),cbc(des3_ede))) (echainiv-authenc-hmac-md5-cbc-des3_ede-caam) [ 22.151464] alg: No test for echainiv(authenc(hmac(sha1),cbc(des3_ede))) (echainiv-authenc-hmac-sha1-cbc-des3_ede-caam) [ 22.167047] alg: No test for echainiv(authenc(hmac(sha224),cbc(des3_ede))) (echainiv-authenc-hmac-sha224-cbc-des3_ede-caam) [ 22.182952] alg: No test for echainiv(authenc(hmac(sha256),cbc(des3_ede))) (echainiv-authenc-hmac-sha256-cbc-des3_ede-caam) [ 22.194830] alg: No test for authenc(hmac(md5),cbc(des)) (authenc-hmac-md5-cbc-des-caam) [ 22.203213] alg: No test for echainiv(authenc(hmac(md5),cbc(des))) (echainiv-authenc-hmac-md5-cbc-des-caam) [ 22.218118] alg: No test for echainiv(authenc(hmac(sha1),cbc(des))) (echainiv-authenc-hmac-sha1-cbc-des-caam) [ 22.242306] alg: No test for echainiv(authenc(hmac(sha224),cbc(des))) (echainiv-authenc-hmac-sha224-cbc-des-caam) [ 22.270288] alg: No test for echainiv(authenc(hmac(sha256),cbc(des))) (echainiv-authenc-hmac-sha256-cbc-des-caam) [ 22.290231] alg: No test for authenc(hmac(md5),rfc3686(ctr(aes))) (authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 22.307845] alg: No test for seqiv(authenc(hmac(md5),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 22.319294] alg: No test for seqiv(authenc(hmac(sha1),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha1-rfc3686-ctr-aes-caam) [ 22.341782] alg: No test for authenc(hmac(sha224),rfc3686(ctr(aes))) (authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 22.357673] alg: No test for seqiv(authenc(hmac(sha224),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 22.371309] alg: No test for seqiv(authenc(hmac(sha256),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha256-rfc3686-ctr-aes-caam) [ 22.382821] caam algorithms registered in /proc/crypto [ 22.808916] caam 2100000.crypto: registering rng-caam [ 22.816383] alg: No test for stdrng (prng-caam) [ 22.821050] caam 2100000.crypto: rng crypto API alg registered prng-caam [ 24.766776] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 24.774402] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready ** Model information Hardware : Freescale i.MX6 Quad/DualLite (Device Tree) Revision : 0000 Device Tree model: SolidRun HummingBoard Dual/Quad ** Loaded modules: caam_jr caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes imx6_media_csi(C) evdev dw_hdmi_cec dw_hdmi_ahb_audio v4l2_fwnode snd_soc_imx_spdif snd_soc_simple_card snd_soc_simple_card_utils snd_soc_imx_audmux snd_soc_sgtl5000 caam error video_mux imx_thermal imx2_wdt snd_soc_fsl_spdif snd_soc_fsl_ssi snd_soc_fsl_utils imx_pcm_fiq imx_pcm_dma snd_soc_core flexcan can_dev snd_pcm_dmaengine imx6_media(C) coda_vpu snd_pcm v4l2_jpeg snd_timer imx_vdoa videobuf2_vmalloc snd imx_media_common(C) soundcore v4l2_mem2mem videobuf2_dma_contig v4l2_async videobuf2_memops dw_hdmi_imx videobuf2_v4l2 dw_hdmi videobuf2_common videodev drm_display_helper etnaviv imxdrm mc gpu_sched drm_dma_helper cec imx_ipu_v3 drm_kms_helper gpio_ir_recv rc_core imx6q_cpufreq binfmt_misc loop fuse drm dm_mod configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic adin ci_hdrc_imx fec selftests ci_hdrc ulpi of_mdio fixed_phy fwnode_mdio ahci_imx roles ehci_hcd libahci_platform libphy libahci udc_core ptp phy_generic sdhci_esdhc_imx nvmem_imx_ocotp libata sdhci_pltfm cqhci usbcore i2c_imx usbmisc_imx pps_core sdhci mux_mmio mux_core scsi_mod scsi_common phy_mxs_usb anatop_regulator gpio_mxc pwm_imx27 ** Network interface configuration: *** /etc/network/interfaces: source /etc/network/interfaces.d/* *** /etc/network/interfaces.d/eth0: allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto ** Network status: *** IP interfaces and addresses: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether d2:63:b4:f8:26:d7 brd ff:ff:ff:ff:ff:ff altname end0 inet 192.168.15.182/24 brd 192.168.15.255 scope global dynamic eth0 valid_lft 85643sec preferred_lft 85643sec inet6 fd5e:fdfe:7cdb:0:d063:b4ff:fef8:26d7/64 scope global dynamic mngtmpaddr valid_lft forever preferred_lft forever inet6 fe80::d063:b4ff:fef8:26d7/64 scope link valid_lft forever preferred_lft forever 3: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10 link/can *** Device statistics: Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 eth0: 10001718 8128 0 0 0 0 0 0 383880 3876 0 0 0 0 0 0 can0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ** PCI devices: 00:00.0 PCI bridge [0604]: Synopsys, Inc. DWC_usb3 / PCIe bridge [16c3:abcd] (rev 01) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 271 Region 0: Memory at 01000000 (32-bit, non-prefetchable) [size=1M] Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: [disabled] [32-bit] Prefetchable memory behind bridge: [disabled] [32-bit] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- Expansion ROM at 01100000 [virtual] [disabled] [size=64K] BridgeCtl: Parity+ SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport ** USB devices: Bus 002 Device 002: ID 04b4:6570 Cypress Semiconductor Corp. Unprogrammed CY7C65632/34 hub HX2VL Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- System Information: Debian Release: 12.1 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 6.1.0-10-armmp (SMP w/2 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages linux-image-6.1.0-10-armmp depends on: ii initramfs-tools [linux-initramfs-tool] 0.142 ii kmod 30+20221128-1 ii linux-base 4.9 Versions of packages linux-image-6.1.0-10-armmp recommends: pn apparmor <none> pn firmware-linux-free <none> Versions of packages linux-image-6.1.0-10-armmp suggests: pn debian-kernel-handbook <none> pn linux-doc-6.1 <none> Versions of packages linux-image-6.1.0-10-armmp is related to: pn firmware-amd-graphics <none> pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux-nonfree <none> ii firmware-misc-nonfree 20230210-5 pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-realtek <none> pn firmware-samsung <none> pn firmware-siano <none> ii firmware-ti-connectivity 20230210-5 pn xen-hypervisor <none> -- no debconf information
>From a574619aaa61b2c9a88e30ab79e20459410dd080 Mon Sep 17 00:00:00 2001 From: Josua Mayer <jo...@solid-run.com> Date: Thu, 3 Aug 2023 15:18:57 +0300 Subject: [PATCH] enable driver for adin1300 ethernet phy Signed-off-by: Josua Mayer <jo...@solid-run.com> --- debian/config/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/config b/debian/config/config index 521caee707..0f19c952c6 100644 --- a/debian/config/config +++ b/debian/config/config @@ -3769,6 +3769,7 @@ CONFIG_LED_TRIGGER_PHY=y # CONFIG_FIXED_PHY is not set CONFIG_SFP=m CONFIG_AMD_PHY=m +CONFIG_ADIN_PHY=m CONFIG_AQUANTIA_PHY=m # CONFIG_AX88796B_PHY is not set CONFIG_BROADCOM_PHY=m -- 2.35.3
>From a574619aaa61b2c9a88e30ab79e20459410dd080 Mon Sep 17 00:00:00 2001 From: Josua Mayer <jo...@solid-run.com> Date: Thu, 3 Aug 2023 15:18:57 +0300 Subject: [PATCH] enable driver for adin1300 ethernet phy Signed-off-by: Josua Mayer <jo...@solid-run.com> --- debian/config/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/config b/debian/config/config index 521caee707..0f19c952c6 100644 --- a/debian/config/config +++ b/debian/config/config @@ -3769,6 +3769,7 @@ CONFIG_LED_TRIGGER_PHY=y # CONFIG_FIXED_PHY is not set CONFIG_SFP=m CONFIG_AMD_PHY=m +CONFIG_ADIN_PHY=m CONFIG_AQUANTIA_PHY=m # CONFIG_AX88796B_PHY is not set CONFIG_BROADCOM_PHY=m -- 2.35.3