您尚未登录。

楼主 # 2022-06-13 22:21:24

yywork
会员
注册时间: 2022-05-28
已发帖子: 4
积分: 24

求助f1c200s配置调试i2s问题

接触内核不久,比较菜,f1c200s参照博主
https://whycan.com/t_6547.html 配置了设备树,
驱动倒也挂上了:
360截图20220613221330365.jpg


I2S就是没信号,请问各位大佬,还需要修改哪里?或者配置哪里???
使用主线liunx: https://github.com/mangopi-sbc/buildroot-mangopi-r
感激不尽~~~~~~~~~~~~

buildroot的设备树及配置文件:配置文件(设备树-启动日志).zip

最近编辑记录 yywork (2022-06-13 22:25:19)

离线

楼主 #1 2022-06-19 23:09:28

yywork
会员
注册时间: 2022-05-28
已发帖子: 4
积分: 24

Re: 求助f1c200s配置调试i2s问题

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.99 (root@yywork-virtual-machine) (gcc version 8.4.0 (Buildroot 2020.02.7)) #1 Sun Jun 19 19:30:56 CST 2022
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Widora MangoPi R3
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x83000000
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait init=/preinit root=/dev/mmcblk0p3 net.ifnames=0 vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 38752K/65536K available (6144K kernel code, 248K rwdata, 1744K rodata, 1024K init, 225K bss, 10400K reserved, 16384K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x444 with crng_init=0
[    0.000051] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000143] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000737] Console: colour dummy device 80x30
[    0.000837] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070261] pid_max: default: 32768 minimum: 301
[    0.070783] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070830] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072761] CPU: Testing write buffer coherency: ok
[    0.074904] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076214] devtmpfs: initialized
[    0.085499] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.085564] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089719] pinctrl core: initialized pinctrl subsystem
[    0.092544] NET: Registered protocol family 16
[    0.096240] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.098376] cpuidle: using governor menu
[    0.139155] SCSI subsystem initialized
[    0.139554] usbcore: registered new interface driver usbfs
[    0.139752] usbcore: registered new interface driver hub
[    0.139914] usbcore: registered new device driver usb
[    0.140512] mc: Linux media interface: v0.10
[    0.140660] videodev: Linux video capture interface: v2.00
[    0.140763] pps_core: LinuxPPS API ver. 1 registered
[    0.140780] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.140838] PTP clock support registered
[    0.141916] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.142876] Advanced Linux Sound Architecture Driver Initialized.
[    0.145230] clocksource: Switched to clocksource timer
[    0.176822] thermal_sys: Registered thermal governor 'step_wise'
[    0.177536] NET: Registered protocol family 2
[    0.179112] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.179197] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.179255] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.179303] TCP: Hash tables configured (established 1024 bind 1024)
[    0.179620] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.179700] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.180265] NET: Registered protocol family 1
[    0.182902] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.184732] Initialise system trusted keyrings
[    0.185492] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.207743] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.208329] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.324525] Key type asymmetric registered
[    0.324565] Asymmetric key parser 'x509' registered
[    0.324745] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.324770] io scheduler mq-deadline registered
[    0.324787] io scheduler kyber registered
[    0.340472] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.363888] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.370153] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.371496] printk: console [ttyS0] disabled
[    0.391819] 1c25400.serial: ttyS0 at MMIO 0x1c25400 (irq = 26, base_baud = 6250000) is a 16550A
[    0.822897] printk: console [ttyS0] enabled
[    0.837588] SCSI Media Changer driver v0.25
[    0.843458] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.856606] spi-nand spi0.0: GigaDevice SPI NAND was found.
[    0.862209] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.872000] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.878481] Creating 5 MTD partitions on "spi0.0":
[    0.883322] 0x000000000000-0x000000100000 : "u-boot"
[    0.896297] 0x000000100000-0x000000600000 : "kernel"
[    0.903392] random: fast init done
[    0.928266] 0x000000600000-0x000003000000 : "rom"
[    1.100207] 0x000003000000-0x000004000000 : "vendor"
[    1.171498] 0x000004000000-0x000007000000 : "overlay"
[    1.367634] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.374172] ehci-platform: EHCI generic platform driver
[    1.379895] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.386216] ohci-platform: OHCI generic platform driver
[    1.391945] usbcore: registered new interface driver usb-storage
[    1.399101] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.411206] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.417203] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.427641] hub 1-0:1.0: USB hub found
[    1.431584] hub 1-0:1.0: 1 port detected
[    1.438158] i2c /dev entries driver
[    1.442297] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    1.456401] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.466452] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.504803] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.514328] usbcore: registered new interface driver usbhid
[    1.520026] usbhid: USB HID core driver
[    1.529083] debugfs: Directory '1c23c00.codec' with parent 'F1C100s Audio Codec' already present!
[    1.544338] sun4i-codec 1c23c00.codec: Codec <-> 1c23c00.codec mapping ok
[    1.562001] NET: Registered protocol family 17
[    1.566720] Key type dns_resolver registered
[    1.572157] Loading compiled-in X.509 certificates
[    1.592868] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.612323] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.619187] ALSA device list:
[    1.622173]   #0: F1C100s Audio Codec
[    1.626418] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.635030] cfg80211: failed to load regulatory.db
[    1.640764] Waiting for root device /dev/mmcblk0p3...
[    1.654004] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.665118] mmc0: new high speed SDHC card at address aaaa
[    1.672399] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    1.681652]  mmcblk0: p1 p2 p3
[    1.717370] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[    1.724681] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[    1.872931] random: crng init done
[    1.876666] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    1.887554] EXT4-fs (mmcblk0p3): recovery complete
[    2.079125] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    2.087434] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    2.096698] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.104609] devtmpfs: mounted
[    2.112206] Freeing unused kernel memory: 1024K
[    2.117427] scsi host0: usb-storage 1-1:1.0
[    2.124991] Run /preinit as init process
[    2.696068] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[    3.126614] scsi 0:0:0:0: Direct-Access     BCN      201303           5.00 PQ: 0 ANSI: 2
[    3.138821] sd 0:0:0:0: [sda] 8351744 512-byte logical blocks: (4.28 GB/3.98 GiB)
[    3.149039] sd 0:0:0:0: [sda] Write Protect is off
Populating /dev using udev: [    3.161637] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.170407] sd 0:0:0:0: [sda] No Caching mode page found
[    3.175939] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    3.192069]  sda: sda1
[    3.204004] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.300438] udevd[91]: starting version 3.2.9
[    3.428051] udevd[92]: starting eudev-3.2.9
[    4.283990] asoc-simple-card sound_i2s: pcm5102a-hifi <-> 1c22000.i2s mapping ok
done
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK
Starting uMTPrd: [    6.525727] file system registered
OK

捣鼓到这个地步了

离线

#3 2023-09-08 23:17:46

chensdhm
会员
注册时间: 2023-09-02
已发帖子: 5
积分: 5

Re: 求助f1c200s配置调试i2s问题

楼主有试过5.7.1的系统吗

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn