@ttg2577
lichee\linux-5.4\drivers\video\fbdev\sunxi\disp2\disp\dev_fb.c:
#if defined(CONFIG_DISP2_SUNXI_BOOT_COLORBAR)
disp_draw_colorbar(screen_id, 0);
#endif
把这个注释掉就好了
@ttg2577
lichee\linux-5.4\drivers\video\fbdev\sunxi\disp2\disp\dev_fb.c:
#if defined(CONFIG_DISP2_SUNXI_BOOT_COLORBAR)
disp_draw_colorbar(screen_id, 0);
#endif
把这个注释掉就好了
@xiaowenge
arecord -D hw:audiocodec -f S32_LE -r 16000 -c 1 -d10 /tmp/test32.wav
你好,使用一个通道,录到的全是噪声,PC上也播放不了。
晕哥,你好,使用下面指令录制音频文件在电脑上可以播放,但是板子上播放不了,这是什么原因?
arecord -D hw:audiocodec -f S32_LE -r 16000 -c 3 -d10 /tmp/test32.wav
这是启动log:
[48]HELLO! BOOT0 is starting!
[51]BOOT0 commit : 7520e33c67
[57]dram size =64
OpenSBI auto-t113-linux-V0.8-1-g771d82e
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs : 1
Current Hart : 0
Firmware Base : 0x41fc0400
Firmware Size : 75 KB
Runtime SBI Version : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A)
PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
PMP3 : 0x0000000000020000-0x0000000000027fff (A,38]sunxi-spinand-phy: [SPINAND]: ecc error 0x2
[00.682]set disp.dev2_output_type fail. using defval=0
[00.713]out of usb burn from boot: not need burn key
[01.190]no vendor_boot partition is found
[01.204]
Starting kernel ...
** 1 printk messages dropped **
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] DMA32 zone: 224 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3
[ 0.000000] elf_hwcap is 0x20112d
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160
[ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:recovery@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07(01/10/2023-06:25:16) mbr_offset=1556480 disp_reserve=1536000,0x0000000042b65000 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 56380K/65536K available (4110K kernel code, 410K rwdata, 1228K rodata, 136K init, 221K bss, 9156K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000027] riscv_timer_clockevent depends on broadcast, but no broadcast function available
[ 0.000435] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.001175] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001198] pid_max: default: 32768 minimum: 301
[ 0.001380] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001399] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.003462] ASID allocator initialised with 65536 entries
[ 0.003659] rcu: Hierarchical SRCU implementation.
[ 0.004430] devtmpfs: initialized
[ 0.023697] random: get_random_u32 called from 0xffffffe000165072 with crng_init=0
[ 0.025030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.025066] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.025251] pinctrl core: initialized pinctrl subsystem
[ 0.027043] NET: Registered protocol family 16
[ 0.028081] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.033541] cpuidle: using governor menu
[ 0.127012] rtc_ccu: sunxi ccu init OK
[ 0.140262] clock: sunxi ccu init OK
[ 0.142481] clock: sunxi ccu init OK
[ 0.255314] sun6i-dma 3002000.dma-controller: sunxi dma probed
[ 0.261894] iommu: Default domain type: Translated
[ 0.262126] sunxi iommu: irq = 4
[ 0.264559] SCSI subsystem initialized
[ 0.265675] usbcore: registered new interface driver usbfs
[ 0.266130] usbcore: registered new interface driver hub
[ 0.267372] usbcore: registered new device driver usb
[ 0.271937] Advanced Linux Sound Architecture Driver Initialized.
[ 0.273374] pwm module init!
[ 0.276840] g2d 5410000.g2d: Adding to iommu group 0
[ 0.278355] G2D: rcq version initialized.major:252
[ 0.280150] clocksource: Switched to clocksource riscv_clocksource
[ 0.297181] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.305564] NET: Registered protocol family 2
[ 0.306749] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.306805] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.306827] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.306846] TCP: Hash tables configured (established 512 bind 512)
[ 0.307025] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.307074] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.307349] NET: Registered protocol family 1
[ 0.309051] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.309871] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.310740] sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE
[ 0.310822] sunxi_spi_resource_get()2485 - sample_mode:2 sample_delay:10
[ 0.310913] sunxi_spi_clk_init()2527 - [spi0] mclk 100000000
[ 0.312533] sunxi_spi_probe()2964 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
[ 0.317351] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.344234] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.344816] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.345497] fuse: init (API version 7.31)
[ 0.379448] io scheduler mq-deadline registered
[ 0.379466] io scheduler kyber registered
[ 0.381011] [DISP]disp_module_init
[ 0.382020] disp 5000000.disp: Adding to iommu group 0
[ 0.382766] [DISP] parser_disp_init_para,line:1407:
[ 0.382771] of_property_read fb0_width fail
[ 0.382794] [DISP] disp_init,line:2331:
[ 0.382799] smooth display screen:0 type:1 mode:4
[ 0.433280] display_fb_request,fb_id:0
[ 0.450669] Freeing logo buffer memory: 1500K
[ 0.451358] disp_al_manager_apply ouput_type:1
[ 0.451469] [DISP] lcd_clk_config,line:774:
[ 0.451484] disp 0, clk: pll(120000000),clk(120000000),dclk(20000000) dsi_rate(120000000)
[ 0.451484] clk real:pll(288000000),clk(288000000),dclk(24000000) dsi_rate(0)
[ 0.451848] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 0.453008] [DISP]disp_module_init finish
[ 0.454468] sunxi_sid_init()563 - insmod ok
[ 0.455333] pwm-regulator: supplied by regulator-dummy
[ 0.459392] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.459932] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.460698] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[ 0.460733] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
[ 1.183884] printk: console [ttyS0] enabled
[ 1.189713] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.201568] uart uart1: uart1 supply uart not found, using dummy regulator
[ 1.209870] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[ 1.220435] uart uart3: uart3 supply uart not found, using dummy regulator
[ 1.229115] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
[ 1.240407] misc dump reg init
[ 1.246750] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 1.255573] [ADDR_MGT] addr_mgt_probe: success.
[ 1.263115] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[ 1.271417] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 1.279264] sunxi-spinand-phy: not detect any munufacture from id table
[ 1.286818] sunxi-spinand-phy: get spi-nand Model from fdt fail
[ 1.293607] sunxi-spinand-phy: get phy info from fdt fail
[ 1.299620] sunxi-spinand-phy: not detect munufacture from fdt
[ 1.306361] sunxi-spinand-phy: detect munufacture from id table: FM
[ 1.313410] sunxi-spinand-phy: detect spinand id: 7f7fe4a1 ffffffff
[ 1.320419] sunxi-spinand-phy: ========== arch info ==========
[ 1.326929] sunxi-spinand-phy: Model: FM25S01A
[ 1.333256] sunxi-spinand-phy: Munufacture: FM
[ 1.338978] sunxi-spinand-phy: DieCntPerChip: 1
[ 1.344659] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 1.350593] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.356303] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.361942] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.367680] sunxi-spinand-phy: BadBlockFlag: 0x1
[ 1.373526] sunxi-spinand-phy: OperationOpt: 0xf
[ 1.379347] sunxi-spinand-phy: MaxEraseTimes: 65000
[ 1.385409] sunxi-spinand-phy: EccFlag: 0x0
[ 1.391258] sunxi-spinand-phy: EccType: 2
[ 1.396871] sunxi-spinand-phy: EccProtectedType: 1
[ 1.402513] sunxi-spinand-phy: ========================================
[ 1.409892] sunxi-spinand-phy:
[ 1.413412] sunxi-spinand-phy: ========== physical info ==========
[ 1.420319] sunxi-spinand-phy: TotalSize: 128 M
[ 1.425668] sunxi-spinand-phy: SectorSize: 512 B
[ 1.431029] sunxi-spinand-phy: PageSize: 2 K
[ 1.436167] sunxi-spinand-phy: BlockSize: 128 K
[ 1.441522] sunxi-spinand-phy: OOBSize: 64 B
[ 1.446775] sunxi-spinand-phy: ========================================
[ 1.454163] sunxi-spinand-phy:
[ 1.457655] sunxi-spinand-phy: ========== logical info ==========
[ 1.464463] sunxi-spinand-phy: TotalSize: 128 M
[ 1.469814] sunxi-spinand-phy: SectorSize: 512 B
[ 1.475174] sunxi-spinand-phy: PageSize: 4 K
[ 1.480332] sunxi-spinand-phy: BlockSize: 256 K
[ 1.485707] sunxi-spinand-phy: OOBSize: 128 B
[ 1.491073] sunxi-spinand-phy: ========================================
[ 1.498551] sunxi-spinand-phy: block lock register: 0x00
[ 1.504620] sunxi-spinand-phy: feature register: 0x10
[ 1.510324] sunxi-spinand-phy: sunxi physic nand init end
[ 1.516962] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.523188] 0x000000000000-0x000000100000 : "boot0"
[ 1.541751] 0x000000100000-0x000000400000 : "uboot"
[ 1.551804] random: fast init done
[ 1.571851] 0x000000400000-0x000000500000 : "secure_storage"
[ 1.591725] 0x000000500000-0x000008000000 : "sys"
[ 1.687721] sunxi-spinand-phy: ecc error 0x2
[ 1.692552] sunxi-spinand-phy: phy blk 291 is bad
[ 1.971868] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.979178] sunxi-ehci: EHCI SUNXI driver
[ 1.985145] get ehci1-controller wakeup-source is fail.
[ 1.991218] sunxi ehci1-controller don't init wakeup source
[ 1.997470] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0005e8dc8, 0x:ffffffd004074000, irq_no:31
[ 2.011664] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 2.024665] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 2.032162] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.042172] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[ 2.070213] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.079547] hub 1-0:1.0: USB hub found
[ 2.084158] hub 1-0:1.0: 1 port detected
[ 2.090250] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.097209] sunxi-ohci: OHCI SUNXI driver
[ 2.102939] get ohci1-controller wakeup-source is fail.
[ 2.108900] sunxi ohci1-controller don't init wakeup source
[ 2.115304] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0005e9190
[ 2.126302] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 2.139247] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.146739] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.156692] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[ 2.235700] hub 2-0:1.0: USB hub found
[ 2.240364] hub 2-0:1.0: 1 port detected
[ 2.247956] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 2.259612] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 2.271712] sunxi-rtc 7090000.rtc: registered as rtc0
[ 2.277435] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 2.288621] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:12:16 UTC (736)
[ 2.297911] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 2.304332] i2c /dev entries driver
[ 2.308767] sunxi cedar version 1.1
[ 2.313203] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 2.319491] VE: install start!!!
[ 2.319491]
[ 2.325539] VE: cedar-ve the get irq is 6
[ 2.325539]
[ 2.332269] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
[ 2.332269]
[ 2.343935] VE: install end!!!
[ 2.343935]
[ 2.348978] VE: sunxi_cedar_probe
[ 2.354670] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.368949] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 2.379173] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 2.385479] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 2.392033] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 2.398444] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 2.404952] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 2.411523] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 2.418029] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 2.424598] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 2.431690] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 2.437076] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 2.443954] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.455260] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.475499] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.500109] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.507524] ashmem: initialized
[ 2.511604] exFAT: Version 1.3.0
[ 2.524414] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:31, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 2.524414]
[ 2.542033] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 2.553520] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 2.565402] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished
[ 2.575558] sid_rd_ver_reg()265 - ver >= 4, soc ver:5
[ 2.581662] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 2.591523] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 2.601138] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 2.613470] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[ 2.626706] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[ 2.639276] NET: Registered protocol family 10
[ 2.644379] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[ 2.656448] Segment Routing with IPv6
[ 2.661173] NET: Registered protocol family 17
[ 2.691345] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[ 2.708190] sunxi-i2c sunxi-i2c2: probe success
[ 2.714775] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator
[ 2.732773] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.743820] sunxi-i2c sunxi-i2c3: Bus error
[ 2.743832] sunxi-i2c sunxi-i2c3: engine mode: I2C BUS error state is 0x0
[ 2.743920] sunxi-i2c sunxi-i2c3: engine-mode: bus state: 0x0, isn't idle
[ 2.743929] sunxi-i2c sunxi-i2c3: STOP failed!
[ 2.768872] sunxi-i2c sunxi-i2c3: engine-mode: xfer failed(dev addr:0x51)
[ 2.776570] rtc-pcf85063 3-0051: RTC chip is not present
[ 2.782690] rtc-pcf85063: probe of 3-0051 failed with error -22
[ 2.789352] sunxi-i2c sunxi-i2c3: probe success
[ 2.799197] ubi0: attaching mtd3
[ 3.098959] random: crng init done
[ 3.192773] ubi0: scanning is finished
[ 3.213827] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 3.219948] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 3.228056] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 3.235783] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.243741] ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0
[ 3.250508] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[ 3.258584] ubi0: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 0
[ 3.267951] ubi0: available PEBs: 10, total reserved PEBs: 481, PEBs reserved for bad PEB handling: 9
[ 3.278288] ubi0: background thread "ubi_bgt0d" started, PID 814
[ 3.287700] block ubiblock0_5: created from ubi0:5(rootfs)
[ 3.295183] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 3.309942] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.319830] clk: Not disabling unused clocks
[ 3.324998] ALSA device list:
[ 3.328305] #0: audiocodec
[ 3.331628] cfg80211: failed to load regulatory.db
[ 3.337077] alloc_fd: slot 0 not NULL!
[ 3.344722] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.355885] devtmpfs: mounted
[ 3.359422] Freeing unused kernel memory: 136K
[ 3.364519] This architecture does not have kernel memory protection.
[ 3.371764] Run /pseudo_init as init process
mount: mounting none on /dev failed: Device or resource busy
[ 4.026355] UBIFS (ubi0:7): Mounting in unauthenticated mode
[ 4.033431] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 849
[ 4.134974] UBIFS (ubi0:7): recovery needed
[ 4.445182] UBIFS (ubi0:7): recovery completed
[ 4.454343] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
[ 4.463133] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 4.474245] UBIFS (ubi0:7): FS size: 3096576 bytes (2 MiB, 12 LEBs), journal size 1806337 bytes (1 MiB, 5 LEBs)
[ 4.485537] UBIFS (ubi0:7): reserved for root: 146258 bytes (142 KiB)
[ 4.492794] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 8C4FBC2A-0BBF-4E64-ABCF-909E8D439229, small LPT model
[ 4.662570] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
can't run '/etc/preinit': No such file or directory
mount: mounting proc on /proc failed: Device or resource busy
mount: mounting tmpfs on /run failed: No such file or directory
hostname: can't open '/etc/hostname': No such file or directory
hwclock: can't open '/dev/rtc1': No such file or directory
------run rc.preboot file-----
[ 4.890741] UBIFS (ubi0:8): Mounting in unauthenticated mode
[ 4.897449] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 881
[ 5.064349] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK"
[ 5.072555] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 5.083667] UBIFS (ubi0:8): FS size: 41287680 bytes (39 MiB, 160 LEBs), journal size 2064385 bytes (1 MiB, 8 LEBs)
[ 5.095225] UBIFS (ubi0:8): reserved for root: 1950119 bytes (1904 KiB)
[ 5.102662] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID CEE6C3DA-0FEC-47AF-8964-1C3A75FD23D7, small LPT model
BusyBox v1.27.2 () built-in shell (ash)
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5C1C9C53)
----------------------------------------------
ifconfig: SIOCGIFFLAGS: No such device
nodev debugfs
root@TinaLinux:/# [ 5.852005] file system registered
[ 5.898063] configfs-gadget 4100000.udc-controller: failed to start g1: -19
sh: write error: No such device
[ 5.964929] read descriptors
[ 5.968156] read strings
[ 6.850182]
[ 6.850182] insmod_device_driver
[ 6.850182]
[ 6.857435] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 7.032864] sunxi_set_cur_vol_work()489 WARN: get power supply failed
[ 7.069543] android_work: sent uevent USB_STATE=CONNECTED
[ 7.080259] sunxi_set_cur_vol_work()489 WARN: get power supply failed
[ 7.140641] configfs-gadget gadget: high-speed config #1: c
[ 7.147152] android_work: sent uevent USB_STATE=CONFIGURED
看启动log,alsa这一块正常启动了,
这可能是什么原因造成的?