根据开发板新设计的电路,内核无法完全启动,找不到sound-wm8960
大家好!我自己根据飞凌imx8mq开发板修改的电路板,去掉了WM8960语音芯片、wifi模块、4G模块和时钟芯片。然后用自带的内核启动到一般无法启动。错误如下:[ 3.337822] imx-wm8960 sound-wm8960: failed to find codec platform device
[ 3.346515] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found , using dummy regulator
[ 3.346898] imx6q-pcie 33c00000.pcie: 33c00000.pcie supply epdev_on not found , using dummy regulator
[ 3.347640] imx-wm8960 sound-wm8960: failed to find codec platform device
这块要怎么解决,内核中需要修改设备树和驱动,具体那两个文件,怎么修改?
设备树路径:imx8mq/OK8MQ-linux-sdk/OK8MQ-linux-kernel/arch/arm64/boot/dts/freescale/ok8mq-evk.dts
在设备树中将wm8960的节点注释掉,
djh谢谢您回复
按照你这种方式做了现在语音芯片的问题不见了,最后还是停在了这里
[ 2.573595] mcp25xxfd spi0.0: CRC read error: computed: ec03 received: 0000 - data: be 00 04 00 00 00 00
[ 2.583094] mcp25xxfd spi0.0: CRC read of clock register resulted in a bad CRC mismatch - hw not found
[ 2.592415] mcp25xxfd spi0.0: Probe failed, err=84
[ 2.597232] mcp25xxfd: probe of spi0.0 failed with error -84
[ 2.602932] spi_imx 30820000.spi: probed
[ 2.610704] spi_imx 30830000.spi: probed
[ 2.617840] pps pps0: new PPS source ptp0
[ 2.628753] fec 30be0000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.635568] fec 30be0000.ethernet: Using random MAC address: 2e:fe:ba:bd:23:84
[ 2.644142] libphy: fec_enet_mii_bus: probed
[ 2.650575] mdio_bus 30be0000.ethernet-1: MDIO device at address 1 is missing.
[ 2.658634] fec 30be0000.ethernet eth0: registered PHC device 0
[ 2.667302] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.672833] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.680621] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000001010010
[ 2.690099] xhci-hcd xhci-hcd.0.auto: irq 53, io mem 0x38200000
[ 2.697401] hub 1-0:1.0: USB hub found
[ 2.701192] hub 1-0:1.0: 1 port detected
[ 2.705440] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.710957] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.718635] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 2.725228] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.734358] hub 2-0:1.0: USB hub found
[ 2.738150] hub 2-0:1.0: 1 port detected
[ 2.742697] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 2 supported-hw 0x4 0x4
[ 2.781127] mmc0: SDHCI controller on 30b40000.mmc using ADMA
[ 2.789336] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[ 2.825585] mmc1: SDHCI controller on 30b50000.mmc using ADMA
[ 2.842445] galcore: clk_get 2d core clock failed, disable 2d/vg!
[ 2.848920] Galcore version 6.4.0.234062
[ 2.910995] mmc0: new HS400 MMC card at address 0001
[ 2.930342] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[ 2.935082] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
[ 2.953135] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
[ 2.959776] mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB, chardev (237:0)
[ 3.021858]mmcblk0: p1 p2
[ 3.035294] hantrodec: module inserted. Major = 235
[ 3.043067] debugfs: Directory '30050000.sai' with parent 'imx-audio-hdmi' already present!
[ 3.051511] imx-cdnhdmi sound-hdmi: i2s-hifi <-> 30050000.sai mapping ok
[ 3.058236] imx-cdnhdmi sound-hdmi: ASoC: no DMI vendor name!
[ 3.064033] debugfs: File 'Capture' in directory 'dapm' already present!
[ 3.075614] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[ 3.076020] imx6q-pcie 33c00000.pcie: 33c00000.pcie supply epdev_on not found, using dummy regulator
[ 3.079540] input: gpio-keys as /devices/platform/gpio-keys/inpu
这个问题需要注释掉那部分,内核裁剪我不太会,麻烦您了,核心板用的是飞凌的,地板只是去掉了WM8960语音芯片、wifi模块、4G模块和时钟芯片 zhengdaaimama 发表于 2021-4-25 11:05
这个问题需要注释掉那部分,内核裁剪我不太会,麻烦您了,核心板用的是飞凌的,地板只是去掉了WM8960语音芯 ...
您在设备树中将对rtc、wifi、4G的节点注释掉,用 / 查找所在位置,进行注释,设备树中的节点与硬件是一一对应的,不能直接用我们的镜像, 明白,谢谢您回答,知道怎么处理了
页:
[1]