导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    t113 i2s 引脚调试

    其它全志芯片讨论区
    2
    2
    1492
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      cjia3254 LV 5 最后由 编辑

      正常设置的设备树,但是引脚没有复用成i2s,而是变成了io_disabled
      设备树

      &daudio2 {
          mclk_div    = <0x01>;
          frametype   = <0x00>;
          tdm_config  = <0x01>;
          sign_extend     = <0x00>;
          msb_lsb_first   = <0x00>;
          pcm_lrck_period = <0x80>;
          slot_width_select = <0x20>;
          pinctrl-0       = <&daudio2_pins_a &daudio2_pins_b &daudio2_pins_c>;
          pinctrl-1       = <&daudio2_pins_d>;
          pinctrl-names   = "default", "sleep";
          pinctrl_used    = <0x1>;
          status = "okay";
      };
          daudio2_pins_a: adaudio2@0 {
              /* I2S_PIN: MCLK, BCLK, LRCK */
              pins = "PB7", "PB5", "PB6";
              function = "i2s2";
              drive-strength = <100>;
              bias-disable;
          };
          daudio2_pins_b: adaudio2@1 {
              /* I2S_PIN: DIN0 */
              pins = "PB3";
              function = "i2s2_din";
              drive-strength = <100>;
              bias-disable;
          };
          daudio2_pins_c: adaudio2@2 {
              /* I2S_PIN: DOUT0 */
              pins = "PB4";
              function = "i2s2_dout";
              drive-strength = <100>;
              bias-disable;
          };
          daudio2_pins_d: adaudio2_sleep@0 {
              pins = "PB7", "PB6", "PB5", "PB4", "PB3";
              function = "io_disabled";
              drive-strength = <100>;
              bias-disable;
          };
      

      cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins

      pin 35 (PB3): device 2034000.daudio function io_disabled group PB3
      pin 36 (PB4): device 2034000.daudio function io_disabled group PB4
      pin 37 (PB5): device 2034000.daudio function io_disabled group PB5
      pin 38 (PB6): device 2034000.daudio function io_disabled group PB6
      pin 39 (PB7): device 2034000.daudio function io_disabled group PB7
      

      cat /sys/kernel/debug/pinctrl/pinctrl-handles
      从这里可以看出2034000.daudio current state: sleep,状态是sleep。

      device: 2034000.daudio current state: sleep
        state: default
          type: MUX_GROUP controller 2000000.pinctrl group: PB7 (7) function: i2s2 (22)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB7 (7)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB5 (5) function: i2s2 (22)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB5 (5)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB6 (6) function: i2s2 (22)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB6 (6)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB3 (3) function: i2s2_din (14)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB3 (3)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB4 (4) function: i2s2_dout (13)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB4 (4)config 00002809
      config 00000001
        state: sleep
          type: MUX_GROUP controller 2000000.pinctrl group: PB7 (7) function: io_disabled (11)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB7 (7)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB6 (6) function: io_disabled (11)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB6 (6)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB5 (5) function: io_disabled (11)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB5 (5)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB4 (4) function: io_disabled (11)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB4 (4)config 00002809
      config 00000001
          type: MUX_GROUP controller 2000000.pinctrl group: PB3 (3) function: io_disabled (11)
          type: CONFIGS_GROUP controller 2000000.pinctrl group PB3 (3)config 00002809
      config 00000001
      

      但是在日志中未见明显的引脚冲突错误

      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (cjia@0652cdfa7734) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #47 SMP PREEMPT Sun Apr 21 12:05:33 UTC 2024
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt: Machine model: sun8iw20
      [    0.000000] printk: bootconsole [earlycon0] enabled
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] cma: Reserved 8 MiB at 0x47800000
      [    0.000000] On node 0 totalpages: 32768
      [    0.000000]   Normal zone: 256 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
      [    0.000000] psci: probing for conduit method from DT.
      [    0.000000] psci: PSCIv1.0 detected in firmware.
      [    0.000000] psci: Using standard PSCI v0.2 function IDs
      [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
      [    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1 
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500400 clk_ignore_unused initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.07-ge987def5-dirty(04/17/2024-10:02:06) androidboot.dramsize=128 
      [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 108668K/131072K available (6144K kernel code, 245K rwdata, 1548K rodata, 1024K init, 1128K bss, 14212K reserved, 8192K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000]  Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] random: get_random_bytes called from start_kernel+0x26c/0x3ec with crng_init=0
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.008007] Switching to timer-based delay loop, resolution 41ns
      [    0.014183] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023870] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.034235] pid_max: default: 32768 minimum: 301
      [    0.038977] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.046308] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.054621] CPU: Testing write buffer coherency: ok
      [    0.059825] /cpus/cpu@0 missing clock-frequency property
      [    0.065141] /cpus/cpu@1 missing clock-frequency property
      [    0.070490] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.076649] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.083317] rcu: Hierarchical SRCU implementation.
      [    0.088521] smp: Bringing up secondary CPUs ...
      [    0.094147] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.094264] smp: Brought up 1 node, 2 CPUs
      [    0.104059] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.110228] CPU: All CPU(s) started in SVC mode.
      [    0.115317] devtmpfs: initialized
      [    0.129793] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.137896] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.147757] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
      [    0.154992] pinctrl core: initialized pinctrl subsystem
      [    0.161158] NET: Registered protocol family 16
      [    0.167020] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.200794] rtc_ccu: sunxi ccu init OK
      [    0.206748] ccu: sunxi ccu init OK
      [    0.210545] r_ccu: sunxi ccu init OK
      [    0.231617] sun6i-dma 3002000.dma-controller: sunxi dma probed
      [    0.239229] iommu: Default domain type: Translated 
      [    0.244264] sunxi iommu: irq = 24
      [    0.248461] SCSI subsystem initialized
      [    0.252459] usbcore: registered new interface driver usbfs
      [    0.258019] usbcore: registered new interface driver hub
      [    0.263429] usbcore: registered new device driver usb
      [    0.269267] Advanced Linux Sound Architecture Driver Initialized.
      [    0.275906] Bluetooth: Core ver 2.22
      [    0.279549] NET: Registered protocol family 31
      [    0.283986] Bluetooth: HCI device and connection manager initialized
      [    0.290392] Bluetooth: HCI socket layer initialized
      [    0.295266] Bluetooth: L2CAP socket layer initialized
      [    0.300341] Bluetooth: SCO socket layer initialized
      [    0.305462] pwm module init!
      [    0.309497] g2d 5410000.g2d: Adding to iommu group 0
      [    0.314775] G2D: rcq version initialized.major:252
      [    0.320333] clocksource: Switched to clocksource arch_sys_counter
      [    0.334827] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.344056] NET: Registered protocol family 2
      [    0.348962] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.357401] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.365099] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.372161] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.378601] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.385182] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.392369] NET: Registered protocol family 1
      [    0.397642] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.408002] spi spi1: spi1 supply spi not found, using dummy regulator
      [    0.414733] sunxi_spi_resource_get()2438 - [spi1] SPI MASTER MODE
      [    0.420880] sunxi_spi_resource_get()2476 - Failed to get sample mode
      [    0.427233] sunxi_spi_resource_get()2481 - Failed to get sample delay
      [    0.433679] sunxi_spi_resource_get()2485 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.442091] sunxi_spi_clk_init()2527 - [spi1] mclk 100000000
      [    0.448444] sunxi_spi_probe()2978 - [spi1]: driver probe succeed, base c881f000, irq 39
      [    0.457969] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.469357] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.475398] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.508652] io scheduler mq-deadline registered
      [    0.513224] io scheduler kyber registered
      [    0.519065] sunxi_sid_init()783 - insmod ok
      [    0.524484] uart uart1: uart1 supply uart not found, using dummy regulator
      [    0.531682] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.539531] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
      [    0.547520] printk: console [ttyS1] enabled
      [    0.556466] printk: bootconsole [earlycon0] disabled
      [    0.567753] misc dump reg init
      [    0.572326] dma-buf: Running sanitycheck
      [    0.576727] dma-buf: Running dma_fence
      [    0.580949] sizeof(dma_fence)=48
      [    0.584663] dma-buf: Running dma_fence/sanitycheck
      [    0.590050] dma-buf: Running dma_fence/test_signaling
      [    0.595731] dma-buf: Running dma_fence/test_add_callback
      [    0.601703] dma-buf: Running dma_fence/test_late_add_callback
      [    0.608146] dma-buf: Running dma_fence/test_rm_callback
      [    0.614014] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.620374] dma-buf: Running dma_fence/test_status
      [    0.625746] dma-buf: Running dma_fence/test_error
      [    0.631029] dma-buf: Running dma_fence/test_wait
      [    0.636208] dma-buf: Running dma_fence/test_wait_timeout
      [    0.680343] dma-buf: Running dma_fence/test_stub
      [    0.685539] dma-buf: Running dma_fence/race_signal_callback
      [    0.760351] thread_signal_callback[0] completed 36788 passes, 28 misses
      [    0.767781] thread_signal_callback[1] completed 36797 passes, 37 misses
      [    0.840369] thread_signal_callback[0] completed 41827 passes, 41825 misses
      [    0.848090] thread_signal_callback[1] completed 41860 passes, 41860 misses
      [    0.856578] libphy: Fixed MDIO Bus: probed
      [    0.862342] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.873810] gmac-power0: NULL
      [    0.877139] gmac-power1: NULL
      [    0.880513] gmac-power2: NULL
      [    0.884824] Failed to alloc md5
      [    0.888357] eth0: Use random mac address
      [    0.893026] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    0.900371] sunxi-ehci: EHCI SUNXI driver
      [    0.905253] get ehci0-controller wakeup-source is fail.
      [    0.911237] sunxi ehci0-controller don't init wakeup source
      [    0.917493] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b4fe98, 0x:c8825000, irq_no:36
      [    0.929509] [sunxi-ehci0]: Not init ehci0
      [    0.934249] get ehci1-controller wakeup-source is fail.
      [    0.940182] sunxi ehci1-controller don't init wakeup source
      [    0.946461] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b503b8, 0x:c8829000, irq_no:38
      [    0.958689] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    0.970960] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    0.978214] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    0.988334] sunxi-ehci 4200000.ehci1-controller: irq 56, io mem 0x04200000
      [    1.020348] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.028166] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
      [    1.037607] hub 1-0:1.0: USB hub found
      [    1.041889] hub 1-0:1.0: 1 port detected
      [    1.046855] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.053854] sunxi-ohci: OHCI SUNXI driver
      [    1.058766] get ohci0-controller wakeup-source is fail.
      [    1.064761] sunxi ohci0-controller don't init wakeup source
      [    1.071036] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b50128
      [    1.080709] [sunxi-ohci0]: Not init ohci0
      [    1.085440] get ohci1-controller wakeup-source is fail.
      [    1.091411] sunxi ohci1-controller don't init wakeup source
      [    1.097665] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b50648
      [    1.107567] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    1.119819] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    1.127118] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    1.137019] sunxi-ohci 4200400.ohci1-controller: irq 57, io mem 0x04200400
      [    1.215168] hub 2-0:1.0: USB hub found
      [    1.219412] hub 2-0:1.0: 1 port detected
      [    1.224512] i2c /dev entries driver
      [    1.228501] sunxi cedar version 1.1
      [    1.232615] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    1.238940] VE: sunxi_cedar_probe power-domain init!!!
      [    1.244730] VE: install start!!!
      [    1.244730] 
      [    1.250240] VE: cedar-ve the get irq is 40
      [    1.250240] 
      [    1.256690] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    1.256690] 
      [    1.265999] VE: install end!!!
      [    1.265999] 
      [    1.271088] VE: sunxi_cedar_probe
      [    1.275026] Bluetooth: HCI UART driver ver 2.3
      [    1.280009] Bluetooth: HCI UART protocol H4 registered
      [    1.285789] Bluetooth: HCI UART protocol BCSP registered
      [    1.292061] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [    1.300801] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
      [    1.310701] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    1.316897] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    1.323268] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    1.329712] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    1.336183] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    1.342739] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    1.349280] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    1.355832] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    1.363125] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.374316] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    1.394477] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.410361] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
      [    1.418722] sunxi-mmc 4020000.sdmmc: detmode:manually by software
      [    1.425596] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.438022] exFAT: Version 1.3.0
      [    1.442973] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.443952] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed
      [    1.462740] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed
      [    1.470065] sunxi-spdif: probe of 2036000.spdif failed with error -22
      [    1.477325] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.477816] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    1.500239] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    1.501278] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.512222] sunxi-daudio 2034000.daudio: regulator missing or invalid
      [    1.530557] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    1.530557] 
      [    1.547758] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    1.559078] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished
      [    1.568244] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    1.578076] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    1.585233] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    1.596169] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    1.608114] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    1.615676] mmc0: host does not support reading read-only switch, assuming write-enable
      [    1.624723] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    1.624818] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      [    1.636264] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
      [    1.648974] NET: Registered protocol family 10
      [    1.660364] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      [    1.661445] Segment Routing with IPv6
      [    1.672251] mmc0: new high speed SDHC card at address 59b4
      [    1.676355] NET: Registered protocol family 17
      [    1.683345] mmcblk0: mmc0:59b4 NCard 14.9 GiB 
      [    1.687580] Bluetooth: RFCOMM TTY layer initialized
      [    1.697918] Bluetooth: RFCOMM socket layer initialized
      [    1.698117] hub 1-1:1.0: USB hub found
      [    1.703744] Bluetooth: RFCOMM ver 1.11
      [    1.712368] hub 1-1:1.0: 4 ports detected
      [    1.712824] Registering SWP/SWPB emulation handler
      [    1.723151]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
      [    1.737265] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    1.747599] pca953x 2-0039: 2-0039 supply vcc not found, using dummy regulator
      [    1.755935] pca953x 2-0039: using no AI
      [    1.763135] sunxi-i2c sunxi-i2c2: probe success
      [    1.769164] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed
      [    1.777322] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed
      [    1.784657] sunxi-spdif: probe of 2036000.spdif failed with error -22
      [    1.792820] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present!
      [    1.801894] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok
      [    1.812024] debugfs: Directory '2034000.daudio' with parent 'wlf,wm8960' already present!
      [    1.821904] sunxi-audio-card 20340a0.sounddaudio2: wm8960-hifi <-> 2034000.daudio mapping ok
      [    1.952737] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
      [    1.966586] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    1.976323] clk: Not disabling unused clocks
      [    1.976334] ALSA device list:
      [    1.981158] cfg80211: failed to load regulatory.db
      [    1.984485]   #0: audiocodec
      [    1.993073]   #1: snddmic
      [    1.996019]   #2: wlf,wm8960
      [    2.005941] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
      [    2.017190] devtmpfs: mounted
      [    2.022442] Freeing unused kernel memory: 1024K
      [    2.050488] Run /pseudo_init as init process
      [    2.060383] usb 1-1.2: new high-speed USB device number 3 using sunxi-ehci
      [    2.337780] random: fast init done
      [    2.427630] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
      [    2.448452] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal
      [    2.858833] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
      [    2.945224] SQUASHFS error: zlib decompression failed, data probably corrupt
      [    2.953249] SQUASHFS error: squashfs_read_data failed to read block 0x24104a7
      [    2.961277] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    2.968873] SQUASHFS error: Unable to read inode 0x89f117a
      [    2.993472] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.007146] SQUASHFS error: Unable to read inode 0x89f13af
      [    3.025426] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.042998] SQUASHFS error: Unable to read inode 0x89f13af
      [    3.045080] file system registered
      [    3.069565] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.074896] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      [    3.077318] SQUASHFS error: Unable to read inode 0x89f17de
      [    3.092658] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.093901] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.102445] SQUASHFS error: Unable to read inode 0x89f0b4c
      [    3.109391] SQUASHFS error: Unable to read inode 0x89f1b71
      [    3.125091] SQUASHFS error: Unable to read metadata cache entry [24104a7]
      [    3.132738] SQUASHFS error: Unable to read inode 0x89f1b71
      [    5.250616] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      [    5.266593] read descriptors
      [    5.269841] read strings
      [    5.480640] android_work: sent uevent USB_STATE=CONNECTED
      [    5.510482] configfs-gadget gadget: high-speed config #1: c
      [    5.516812] android_work: sent uevent USB_STATE=CONFIGURED
      
      1 条回复 最后回复 回复 引用 分享 1
      • F
        fanhuacloud LV 6 最后由 编辑

        @cjia3254 在 t113 i2s 引脚调试 中说:

        ), cr=10c5387d
        [ 0.000000] CPU: div instructions available: patching division code
        [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
        [ 0.000000] OF: fdt: Machine model: sun8iw20
        [ 0.000000] printk: bootconsole [earlycon0] enabled
        [ 0.000000] Memory policy: Data cache writealloc
        [ 0.000000] cma: Reserved 8 MiB at 0x47800000
        [ 0.000000] On node 0 totalpages: 32768
        [ 0.000000] Normal zone: 256 pages used for memmap
        [ 0.000000] Normal zone: 0 pages reserved
        [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
        [ 0.000000] psci: probing for conduit method from DT.
        [ 0.000000] psci: PSCIv1.0 detected in firmware.

        T113有I2S的文档,可以百度搜一下

        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策