现尝试自编译的tina,在boot0和uboot阶段都有输出,内核没有。
采用awboot的方式引导主线内核的方式,在boot阶段也有输出,内核没有。
尝试使用芒果派的mq-r-t113-rtl8189fs-5113-dns-uart0.img,在boot0和uboot阶段也都有输出。
所以我判断是因为硬件问题导致内核无法启动。
VCC-PLL=1.8v
RESET=3.3v
LDOA-OUT=1.8v
LDOB-OUT boot0未启动时1.35v,启动时1.5v
vcc-pe=1.8v
VDD_SYS0=0.9v
VCC-DRAM0=1.5v
VDD18-DRAM=1.8v
VDD-SYS1=0.9v
LVDS18=1.8v
VCC-PD=3.3v
VCC-TVOUT=3.3v
VDD-SYS2=0.9v
VCC-IO=3.3v
AVCC=1.8v
HPVCC=1.8v
VCC-TVIN=1.8v
VDD-CORE1=0.9v
VCC-PG=3.3v
望大佬解惑
cjia3254 发布的最佳帖子
-
t113-s3因为硬件原因导致内核无法启动
-
t113 i2s 引脚调试
正常设置的设备树,但是引脚没有复用成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
-
t113-s tina如何使用uart1 PD21,PD22
自制的t113开发板,使用的是百问网的sdk,现在是boot0和uboot都有输出,但是在内核阶段没有输出,不知道是内核没有启动,还是使用的串口错误。
求大佬解惑,这个问题已经找了好几天了。sys_config.fex
;uart configuration ;uart_debug_port |Boot串口控制器编号 | ;uart_debug_tx |Boot串口发送的GPIO配置| ;uart_debug_rx |Boot串口接收的GPIO配置 | ;---------------------------------------------------------------------------------- [uart_para] uart_debug_port = 1 uart_debug_tx = port:PD21<4><1><default><default> uart_debug_rx = port:PD22<4><1><default><default>
board.dts
&uart0 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart0_pins_a>; pinctrl-1 = <&uart0_pins_b>; status = "disabled"; }; &uart1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart1_pins_a>; pinctrl-1 = <&uart1_pins_b>; status = "okay"; }; &uart2 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart2_pins_a>; pinctrl-1 = <&uart2_pins_b>; status = "disabled"; }; &uart3 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart3_pins_a>; pinctrl-1 = <&uart3_pins_b>; status = "disabled"; }; uart1_pins_a: uart1_pins@0 { /* For EVB1 board */ pins = "PD21", "PD22"; function = "uart1"; drive-strength = <10>; muxsel = <4>; bias-pull-up; }; uart1_pins_b: uart1_pins@1 { /* For EVB1 board */ pins = "PD21", "PD22"; function = "gpio_in"; };
env.cfg
earlyprintk=sunxi-uart,0x02500400 initcall_debug=1 console=ttyS1,115200
config-5.4
# CONFIG_DEBUG_USER is not set CONFIG_DEBUG_LL=y # CONFIG_DEBUG_SUNXI_UART0 is not set CONFIG_DEBUG_SUNXI_UART1=y # CONFIG_DEBUG_SUNXI_UART2 is not set # CONFIG_DEBUG_ICEDCC is not set # CONFIG_DEBUG_SEMIHOSTING is not set # CONFIG_DEBUG_LL_UART_8250 is not set # CONFIG_DEBUG_LL_UART_PL01X is not set CONFIG_DEBUG_LL_INCLUDE="debug/8250.S" CONFIG_DEBUG_UART_8250=y CONFIG_DEBUG_UART_PHYS=0x02500400 CONFIG_DEBUG_UART_VIRT=0xf2500400 CONFIG_DEBUG_UART_8250_SHIFT=2
日志输出
[20]HELLO! BOOT0 is starting! [22]BOOT0 commit : 88480af-dirty [25]set pll start [31]periph0 has been enabled [34]set pll end [36][pmu]: bus read error [38]board init ok [40]ZQ value = 0x30 [42]get_pmu_exist() = -1 [45]ddr_efuse_type: 0xa [47]trefi:7.8ms [49][AUTO DEBUG] single rank and full DQ! [53]ddr_efuse_type: 0xa [55]trefi:7.8ms [58][AUTO DEBUG] rank 0 row = 13 [61][AUTO DEBUG] rank 0 bank = 8 [64][AUTO DEBUG] rank 0 page size = 2 KB [68]DRAM BOOT DRIVE INFO: V0.33 [71]DRAM CLK = 936 MHz [73]DRAM Type = 3 (2:DDR2,3:DDR3) [76]DRAMC read ODT off. [79]DRAM ODT value: 0x42. [81]ddr_efuse_type: 0xa [84]DRAM SIZE =128 M [86]dram_tpr4:0x0 [88]PLL_DDR_CTRL_REG:0xf8004d00 [91]DRAM_CLK_REG:0xc0000000 [94][TIMING DEBUG] MR2= 0x20 [101]DRAM simple test OK. [104]rtc standby flag is 0x0, super standby flag is 0x0 [109]dram size =128 [111]card no is 0 [113]sdcard 0 line count 4 [116][mmc]: mmc driver ver 2021-05-21 14:47 [125][mmc]: Wrong media type 0x0 [128][mmc]: ***Try SD card 0*** [138][mmc]: HSSDR52/SDR25 4 bit [141][mmc]: 50000000 Hz [143][mmc]: 29664 MB [145][mmc]: ***SD/MMC 0 init OK!!!*** [217]Loading boot-pkg Succeed(index=0). [221]Entry_name = u-boot [227]Entry_name = optee [231]Entry_name = dtb [233]mmc not para [235]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Feb 28 2024 - 10:13:08 +0800) Allwinner Technology [00.288]CPU: Allwinner Family [00.291]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.313]DRAM: 128 MiB [00.316]Relocation Offset is: 04f01000 [00.335]secure enable bit: 0 [00.338]smc_tee_inform_fdt failed with: -65526[00.343]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.349]gic: sec monitor mode [00.352]flash init start [00.354]workmode = 0,storage type = 1 [00.357][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.363][mmc]: get sdc_type fail and use default host:tm1. [00.369][mmc]: can't find node "mmc0",will add new node [00.373][mmc]: fdt err returned <no error> [00.377][mmc]: Using default timing para [00.381][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.399][mmc]: card_caps:0x3000000a [00.402][mmc]: host_caps:0x3000003f [00.406]sunxi flash init ok [00.419]Loading Environment from SUNXI_FLASH... OK [00.450]Item0 (Map) magic is bad [00.453]the secure storage item0 copy0 magic is bad [00.469]Item0 (Map) magic is bad [00.472]the secure storage item0 copy1 magic is bad [00.476]Item0 (Map) magic is bad secure storage read widevine fail [00.482]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.490]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.497]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.504]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.512]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.519]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.527]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.534]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.542]secure storage read rsa_cert3 fail with:-1 [00.546]usb burn from boot delay time 0 weak:otg_phy_config [00.558]usb prepare ok [00.727]usb sof ok [00.729]usb probe ok [00.731]usb setup ok set address 0xc set address 0xc ok [03.736]do_burn_from_boot usb : have no handshake root_partition is rootfs set root to /dev/mmcblk0p5 [03.746]update part info [03.749]update bootcmd [03.753]change working_fdt 0x43ec0e70 to 0x43ea0e70 disable nand error: FDT_ERR_BADPATH [03.774]update dts Hit any key to stop autoboot: 0 [06.946]no vendor_boot partition is found Android's image name: t113-100ask [06.956]Starting kernel ... [06.959][mmc]: MMC Device 2 not found [06.962][mmc]: mmc 2 not find, so not exit
cjia3254 发布的最新帖子
-
回复: 看了半天,还是不知道v536 怎么配置 wm8978/es8388 这种i2s codec芯片,大佬过来帮我瞅瞅?
@ubuntu 请问哥的设备树是怎么写的,我现在在用t113外挂wm8960,在调试,i2s其他信号都有就i2s_dout没有。
-
t113 i2s 引脚调试
正常设置的设备树,但是引脚没有复用成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
-
回复: t113 tina 卡死在rc_mount_filesystem
@daizebin
不过有时候还是会卡在fsck.ext4,修复文件系统上e2fsck 1.46.4 (18-Aug-2021) ext2fs_open2: Bad magic number in super-block /usr/sbin/fsck.ext4: Superblock invalid, trying backup blocks... /dev/mmcblk0p8 was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes
-
t113 tina sdb push 内核崩溃
现状是小文件可以正常传输,测试的是7m的音频文件,没有问题
但是一旦文件大起来,就无法传输了,测试56m的wav文件就无法传输了,会卡在8%或14%。日志
[ 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) #17 SMP PREEMPT Thu Apr 18 01:06:14 [ 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@mmcblk0mcblk0p5: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.boo24-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: 108672K/131072K available (6144K kernel code, 241K rwdata, 1520K rodata, 1024K init, 1128K bss, 14208K 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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008016] Switching to timer-based delay loop, resolution 41ns [ 0.014175] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023879] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034252] pid_max: default: 32768 minimum: 301 [ 0.038999] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046332] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054642] CPU: Testing write buffer coherency: ok [ 0.059851] /cpus/cpu@0 missing clock-frequency property [ 0.065185] /cpus/cpu@1 missing clock-frequency property [ 0.070516] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076675] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083342] rcu: Hierarchical SRCU implementation. [ 0.088551] smp: Bringing up secondary CPUs ... [ 0.094180] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094297] smp: Brought up 1 node, 2 CPUs [ 0.104093] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110271] CPU: All CPU(s) started in SVC mode. [ 0.115349] devtmpfs: initialized [ 0.129762] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137902] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147773] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.154987] pinctrl core: initialized pinctrl subsystem [ 0.161138] NET: Registered protocol family 16 [ 0.167017] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.200732] rtc_ccu: sunxi ccu init OK [ 0.206740] ccu: sunxi ccu init OK [ 0.210544] r_ccu: sunxi ccu init OK [ 0.231450] sun6i-dma 3002000.dma-controller: sunxi dma probed [ 0.238885] iommu: Default domain type: Translated [ 0.243922] sunxi iommu: irq = 24 [ 0.248118] SCSI subsystem initialized [ 0.252067] usbcore: registered new interface driver usbfs [ 0.257594] usbcore: registered new interface driver hub [ 0.263015] usbcore: registered new device driver usb [ 0.268831] Advanced Linux Sound Architecture Driver Initialized. [ 0.275637] Bluetooth: Core ver 2.22 [ 0.279261] NET: Registered protocol family 31 [ 0.283724] Bluetooth: HCI device and connection manager initialized [ 0.290121] Bluetooth: HCI socket layer initialized [ 0.295004] Bluetooth: L2CAP socket layer initialized [ 0.300071] Bluetooth: SCO socket layer initialized [ 0.305203] pwm module init! [ 0.309233] g2d 5410000.g2d: Adding to iommu group 0 [ 0.314509] G2D: rcq version initialized.major:252 [ 0.320044] clocksource: Switched to clocksource arch_sys_counter [ 0.334460] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.343709] NET: Registered protocol family 2 [ 0.348611] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.357028] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.364710] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.371806] TCP: Hash tables configured (established 1024 bind 1024) [ 0.378264] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.384828] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.392001] NET: Registered protocol family 1 [ 0.397267] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.407630] spi spi1: spi1 supply spi not found, using dummy regulator [ 0.414370] sunxi_spi_resource_get()2438 - [spi1] SPI MASTER MODE [ 0.420535] sunxi_spi_resource_get()2476 - Failed to get sample mode [ 0.426889] sunxi_spi_resource_get()2481 - Failed to get sample delay [ 0.433336] sunxi_spi_resource_get()2485 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.441772] sunxi_spi_clk_init()2527 - [spi1] mclk 100000000 [ 0.448151] sunxi_spi_probe()2978 - [spi1]: driver probe succeed, base c881f000, irq 39 [ 0.457694] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.469029] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.475081] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.508267] io scheduler mq-deadline registered [ 0.512831] io scheduler kyber registered [ 0.518727] sunxi_sid_init()783 - insmod ok [ 0.524104] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.531282] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.539134] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n �[ 0.547123] printk: console [ttyS1] enabled [ 0.547123] printk: console [ttyS1] enabled [ 0.556050] printk: bootconsole [earlycon0] disabled [ 0.556050] printk: bootconsole [earlycon0] disabled [ 0.567342] misc dump reg init [ 0.571931] dma-buf: Running sanitycheck [ 0.576331] dma-buf: Running dma_fence [ 0.580554] sizeof(dma_fence)=48 [ 0.584265] dma-buf: Running dma_fence/sanitycheck [ 0.589649] dma-buf: Running dma_fence/test_signaling [ 0.595329] dma-buf: Running dma_fence/test_add_callback [ 0.601300] dma-buf: Running dma_fence/test_late_add_callback [ 0.607744] dma-buf: Running dma_fence/test_rm_callback [ 0.613612] dma-buf: Running dma_fence/test_late_rm_callback [ 0.619959] dma-buf: Running dma_fence/test_status [ 0.625343] dma-buf: Running dma_fence/test_error [ 0.630626] dma-buf: Running dma_fence/test_wait [ 0.635805] dma-buf: Running dma_fence/test_wait_timeout [ 0.680054] dma-buf: Running dma_fence/test_stub [ 0.685250] dma-buf: Running dma_fence/race_signal_callback [ 0.760071] thread_signal_callback[0] completed 36525 passes, 66 misses [ 0.767520] thread_signal_callback[1] completed 36531 passes, 73 misses [ 0.840054] thread_signal_callback[0] completed 42309 passes, 42308 misses [ 0.847789] thread_signal_callback[1] completed 42332 passes, 42332 misses [ 0.856273] libphy: Fixed MDIO Bus: probed [ 0.861999] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.873477] gmac-power0: NULL [ 0.876805] gmac-power1: NULL [ 0.880159] gmac-power2: NULL [ 0.884488] Failed to alloc md5 [ 0.888019] eth0: Use random mac address [ 0.892680] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.900003] sunxi-ehci: EHCI SUNXI driver [ 0.904816] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.911788] sunxi-ohci: OHCI SUNXI driver [ 0.916680] i2c /dev entries driver [ 0.920688] sunxi cedar version 1.1 [ 0.924741] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 0.931072] VE: sunxi_cedar_probe power-domain init!!! [ 0.936838] VE: install start!!! [ 0.936838] [ 0.942381] VE: cedar-ve the get irq is 40 [ 0.942381] [ 0.948808] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 0.948808] [ 0.958112] VE: install end!!! [ 0.958112] [ 0.963253] VE: sunxi_cedar_probe [ 0.967184] Bluetooth: HCI UART driver ver 2.3 [ 0.972194] Bluetooth: HCI UART protocol H4 registered [ 0.977955] Bluetooth: HCI UART protocol BCSP registered [ 0.984194] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 0.992899] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40) [ 1.002776] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.008969] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.015337] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.021794] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.028237] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.034789] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.041341] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.047881] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.055180] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.066373] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 1.086528] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.110777] sunxi-mmc 4020000.sdmmc: detmode:manually by software [ 1.117632] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.130090] exFAT: Version 1.3.0 [ 1.135684] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed [ 1.143856] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed [ 1.151231] sunxi-spdif: probe of 2036000.spdif failed with error -22 [ 1.152409] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.158962] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 1.181426] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.192840] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.193491] sunxi-daudio 2034000.daudio: regulator missing or invalid [ 1.212125] [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.212125] [ 1.213029] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.229320] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 1.252322] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished [ 1.261403] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 1.271240] [SNDCODEC][sunxi_card_init][583]:card init finished [ 1.278376] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 1.289327] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 1.301315] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 1.309713] NET: Registered protocol family 10 [ 1.315819] Segment Routing with IPv6 [ 1.319965] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.320068] NET: Registered protocol family 17 [ 1.333963] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 1.333969] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 1.340192] Bluetooth: RFCOMM TTY layer initialized [ 1.345602] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 1.352903] Bluetooth: RFCOMM socket layer initialized [ 1.375807] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 1.375823] Bluetooth: RFCOMM ver 1.11 [ 1.387585] mmc0: new high speed SDHC card at address 5048 [ 1.392267] Registering SWP/SWPB emulation handler [ 1.398816] mmcblk0: mmc0:5048 SD32G 29.7 GiB [ 1.413397] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 1.418705] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 1.428832] sunxi-i2c sunxi-i2c2: probe success [ 1.435185] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed [ 1.443335] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed [ 1.450679] sunxi-spdif: probe of 2036000.spdif failed with error -22 [ 1.458345] sun8iw20-pinctrl 2000000.pinctrl: pin PB3 already requested by 2034000.daudio; cannot claim for 2000000.pinctrl:35 [ 1.471159] sun8iw20-pinctrl 2000000.pinctrl: pin-35 (2000000.pinctrl:35) status -22 [ 1.479863] reg-fixed-voltage: probe of usb1-vbus failed with error -22 [ 1.487947] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present! [ 1.497012] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok [ 1.508172] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator [ 1.519575] sun8iw20-pinctrl 2000000.pinctrl: pin PB6 already requested by 2034000.daudio; cannot claim for 2000000.pinctrl:38 [ 1.532379] sun8iw20-pinctrl 2000000.pinctrl: pin-38 (2000000.pinctrl:38) status -22 [ 1.543759] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 1.550098] clk: Not disabling unused clocks [ 1.553476] cfg80211: failed to load regulatory.db [ 1.558212] ALSA device list: [ 1.566929] #0: audiocodec [ 1.570170] #1: snddmic [ 1.581453] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 1.592554] devtmpfs: mounted [ 1.597775] Freeing unused kernel memory: 1024K [ 1.630247] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 1.973849] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 1.990718] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal Didn't found ubi volume "env" Cannot open /dev/ubi0: No such file or directory Didn't found ubi volume "env-redund" Cannot open /dev/ubi0: No such file or directory can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy mount: mounting tmpfs on /run failed: No such file or directory hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- ------- ext4 --------- e2fsck 1.46.4 (18-Aug-2021) /dev/mmcblk0p8: recovering journal Setting free inodes count to 1909428 (was 1909429) Setting free blocks count to 7471695 (was 7471727) /dev/mmcblk0p8: clean, 12/1909440 files, 163933/7635628 blocks ------- /usr/sbin/fsck.ext4 -v -y /dev/mmcblk0p8 --------- [ 2.336855] random: fast init done [ 2.356488] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- ------run rc.final file----- Error relocating /usr/bin/amixer: snd_ctl_elem_info_is_writable@snd_ctl_card_info_get_id: symbol not found BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- Mon Feb 6 00:00:00 GMT 2023 nodev debugfs root@TinaLinux:/# [ 2.523080] file system registered [ 2.540667] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 3.640337] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 3.656313] read descriptors [ 3.659560] read strings [ 3.869386] android_work: sent uevent USB_STATE=CONNECTED [ 3.894803] configfs-gadget gadget: high-speed config #1: c [ 3.901127] android_work: sent uevent USB_STATE=CONFIGURED root@TinaLinux:/# root@TinaLinux:/# [ 318.002516] 8<--- cut here --- [ 318.005954] Unable to handle kernel paging request at virtual address fef8fe56 [ 318.014054] pgd = (ptrval) [ 318.017085] [fef8fe56] *pgd=00000000 [ 318.021096] Internal error: Oops: 5 [#1] PREEMPT SMP ARM [ 318.027051] Modules linked in: [ 318.030478] CPU: 0 PID: 190 Comm: adbd Not tainted 5.4.61 #17 [ 318.036919] Hardware name: Generic DT based system [ 318.042301] PC is at kmem_cache_alloc+0xfc/0x160 [ 318.047482] LR is at slab_pre_alloc_hook+0x18/0x2c [ 318.052852] pc : [<c01c70d0>] lr : [<c01c51c0>] psr: a0000013 [ 318.059882] sp : c6585c90 ip : 00000000 fp : c77dd920 [ 318.065738] r10: 00000392 r9 : c6585c90 r8 : c01fca88 [ 318.071596] r7 : 00408d40 r6 : c6584000 r5 : c7003e00 r4 : fef8fe56 [ 318.078919] r3 : 00000000 r2 : 06d7f000 r1 : 00000392 r0 : c7003e00 [ 318.086240] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 318.094242] Control: 10c5387d Table: 4659006a DAC: 00000051 [ 318.100684] Process adbd (pid: 190, stack limit = 0x(ptrval)) [ 318.107127] Stack: (0xc6585c90 to 0xc6586000) [ 318.112015] 5c80: 00000000 00000000 00000000 00408c40 [ 318.121191] 5ca0: ffffffff ffffffff 00001000 c01fca88 00000000 00000000 00000000 c01fcbf4 [ 318.130358] 5cc0: c77dd920 00000000 00000001 c77dd920 00000000 00000000 c77dd920 c6dc9d78 [ 318.139534] 5ce0: 00001000 c6585e04 00000154 c01fcc5c c77dd920 00000000 00000000 c01fcd74 [ 318.148710] 5d00: c77dd920 c01fe8ec c01aae60 a30fff65 c0937b48 c01970b8 00000000 a30fff65 [ 318.157886] 5d20: c02756f8 c6dd9000 c65dc000 00000000 00000c40 c024aae0 c0b48888 c6585e04 [ 318.167063] 5d40: 00000154 a30fff65 00000001 c77dd920 c6dc9d78 c6dc9e78 c6584000 00001000 [ 318.176239] 5d60: c6dd9000 c6585e04 00000154 c01fedd8 00001000 c024aae0 00000000 00000000 [ 318.185415] 5d80: c77dd920 c02502c4 00001000 c024aae0 c6dc9e78 c0250f58 00154000 00000000 [ 318.194592] 5da0: 00155000 00000000 00153000 00000154 00000000 a30fff65 017830a0 00001000 [ 318.203768] 5dc0: c6585ef8 c6dc9e78 00004000 00001000 c655dc00 c070f950 c02500c0 c018e2b4 [ 318.212944] 5de0: 00001000 00000000 c6585e04 c6585e08 00154000 00000000 c6584000 00000000 [ 318.222120] 5e00: 63e0443b c77dd900 00000000 a30fff65 00000000 c7076600 c6585f10 c6585ef8 [ 318.231297] 5e20: 00000000 c655dc00 c6585ef8 00000000 c6dc9e78 c0190740 c6dc9d78 00000004 [ 318.240473] 5e40: 0051417c c018db90 c6585e50 c6c45680 00010000 c6585f10 c6dc9d78 c6585ef8 [ 318.249649] 5e60: 00000000 c6585e9c c6dc9d78 00000004 0051417c c023ffdc 00000000 a30fff65 [ 318.258826] 5e80: c6585ef8 000000b0 c6584000 c64d6800 c6c45680 c6dc9df8 c6585f70 00000000 [ 318.268000] 5ea0: 00000000 00000004 00000000 00000000 c6585ef8 00000000 00000000 a30fff65 [ 318.277176] 5ec0: 00000000 c6584000 c6585f70 c655dc00 00010000 00000000 00010000 00000004 [ 318.286352] 5ee0: 0051417c c01cd2f0 00010000 c6585ef4 0177f0a0 00010000 00000005 00004000 [ 318.295519] 5f00: 0000c000 c6585ef0 00000001 00000000 c655dc00 00000000 00150000 00000000 [ 318.304694] 5f20: 00000000 c6585e9c 00000000 00000000 00000000 00000000 c6585f48 a30fff65 [ 318.313871] 5f40: c655dc00 00010000 00000000 0177f0a0 c6585f70 c01ce690 c655dc00 c6585f70 [ 318.323047] 5f60: c6584000 0177f0a0 c6585f7c c01ce824 00150000 00000000 00000010 c655dc00 [ 318.332223] 5f80: 00000003 a30fff65 b6fef120 00000000 00000000 0052002e 00000004 c0101228 [ 318.341399] 5fa0: c6584000 c0101000 00000000 00000000 00000010 0177f0a0 00010000 00000000 [ 318.350575] 5fc0: 00000000 00000000 0052002e 00000004 00527dac 00527dac 0177f0a0 0051417c [ 318.359752] 5fe0: b6f1c2b0 b6f1c29c b6fc745c b6fc6968 60000010 00000010 00000000 00000000 [ 318.368931] [<c01c70d0>] (kmem_cache_alloc) from [<c01fca88>] (alloc_buffer_head+0x14/0x9c) [ 318.378309] [<c01fca88>] (alloc_buffer_head) from [<c01fcbf4>] (alloc_page_buffers+0x4c/0xa0) [ 318.387877] [<c01fcbf4>] (alloc_page_buffers) from [<c01fcc5c>] (create_empty_buffers+0x14/0xf0) [ 318.397742] [<c01fcc5c>] (create_empty_buffers) from [<c01fcd74>] (create_page_buffers+0x3c/0x54) [ 318.407701] [<c01fcd74>] (create_page_buffers) from [<c01fe8ec>] (__block_write_begin_int+0x80/0x54c) [ 318.418053] [<c01fe8ec>] (__block_write_begin_int) from [<c01fedd8>] (__block_write_begin+0x20/0x28) [ 318.428306] [<c01fedd8>] (__block_write_begin) from [<c02502c4>] (ext4_da_write_begin+0x204/0x288) [ 318.438367] [<c02502c4>] (ext4_da_write_begin) from [<c018e2b4>] (generic_perform_write+0xb0/0x1b4) [ 318.448526] [<c018e2b4>] (generic_perform_write) from [<c0190740>] (__generic_file_write_iter+0x13c/0x160) [ 318.459368] [<c0190740>] (__generic_file_write_iter) from [<c023ffdc>] (ext4_file_write_iter+0x3d8/0x3e8) [ 318.470113] [<c023ffdc>] (ext4_file_write_iter) from [<c01cd2f0>] (__vfs_write+0xb0/0xe4) [ 318.479296] [<c01cd2f0>] (__vfs_write) from [<c01ce690>] (vfs_write+0x98/0xbc) [ 318.487403] [<c01ce690>] (vfs_write) from [<c01ce824>] (ksys_write+0x70/0xb8) [ 318.495416] [<c01ce824>] (ksys_write) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 318.504003] Exception stack(0xc6585fa8 to 0xc6585ff0) [ 318.509669] 5fa0: 00000000 00000000 00000010 0177f0a0 00010000 00000000 [ 318.518845] 5fc0: 00000000 00000000 0052002e 00000004 00527dac 00527dac 0177f0a0 0051417c [ 318.528008] 5fe0: b6f1c2b0 b6f1c29c b6fc745c b6fc6968 [ 318.533677] Code: eb11fd86 e1a00004 e8bd87f0 e5953014 (e7940003) [ 318.540511] ---[ end trace a5d558ca6731eb3a ]---
分区挂载情况
root@TinaLinux:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 36.3M 36.3M 0 100% /rom devtmpfs 53.1M 0 53.1M 0% /dev tmpfs 57.6M 0 57.6M 0% /tmp /dev/by-name/rootfs_data 458.3M 17.0K 454.3M 0% /overlay overlayfs:/overlay 458.3M 17.0K 454.3M 0% / /dev/mmcblk0p8 28.5G 1.4M 28.5G 0% /mnt/UDISK root@TinaLinux:/# mount /dev/root on /rom type squashfs (ro,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=54336k,nr_inodes=13584,mode=755) /proc on /proc type proc (rw,relatime) tmpfs on /tmp type tmpfs (rw,relatime) sys on /sys type sysfs (rw,relatime) /dev/by-name/rootfs_data on /overlay type ext4 (rw,sync,relatime,nodelalloc,data=journal) overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/workdir) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) /dev/mmcblk0p8 on /mnt/UDISK type ext4 (rw,relatime) none on /sys/kernel/config type configfs (rw,relatime) none on /sys/kernel/debug type debugfs (rw,relatime) adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
adb命令
E:\CloudMusic>adb -s 20080411 push ./voyager.wav /mnt/UDISK [ 7%] /mnt/UDISK/voyager.wav
-
回复: t113 tina 卡死在rc_mount_filesystem
------- ext4 --------- e2fsck 1.46.4 (18-Aug-2021) /dev/mmcblk0p8: recovering journal Setting free inodes count to 1909428 (was 1909429) Setting free blocks count to 7471695 (was 7471727) /dev/mmcblk0p8: clean, 12/1909440 files, 163933/7635628 blocks ------- /usr/sbin/fsck.ext4 -v -y /dev/mmcblk0p8 ---------
这个应该是正常的吧
按照你的要求改了[partition] name = rootfs_data size = 1024000 user_type = 0x8000 [partition] name = UDISK ; name = rootfs_data size = 10240 user_type = 0x8000
-
t113 tina 卡死在rc_mount_filesystem
自制t113开发板,启用e2fsprog与ext4,但是开机会卡死在修复ext4上
日志[ 2.567510] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 2.578435] devtmpfs: mounted [ 2.583670] Freeing unused kernel memory: 1024K [ 2.612824] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 2.742770] usb 1-1: new high-speed USB device number 2 using sunxi-ehci [ 2.926464] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 2.943837] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal [ 2.944392] hub 1-1:1.0: USB hub found [ 2.958140] hub 1-1:1.0: 4 ports detected Didn't found ubi volume "env" Cannot open /dev/ubi0: No such file or directory Didn't found ubi volume "env-redund" Cannot open /dev/ubi0: No such file or directory can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy mount: mounting tmpfs on /run failed: No such file or directory hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- ------- ext4 --------- e2fsck 1.46.4 (18-Aug-2021) ext2fs_open2: Bad magic number in super-block /usr/sbin/fsck.ext4: Superblock invalid, trying backup blocks... /dev/mmcblk0p8 was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes
经过排查发现卡死在rcS的rc_mount_filesystem中的/usr/sbin/fsck.ext4 -v -y "$fs_src"
echo "------- ext4 ---------" /usr/sbin/fsck.ext4 -v -y "$fs_src" echo "------- /usr/sbin/fsck.ext4 -v -y "$fs_src" ---------" mount -t ext4 "$fs_src" "$fs_mntpt" 2>/dev/null if [ "$?" -ne "0" ]; then mkfs.ext4 -m 0 "$fs_src" >/dev/null mount -t ext4 "$fs_src" "$fs_mntpt" 2>/dev/null fi
fsck.ext4的输出为
e2fsck 1.46.4 (18-Aug-2021) ext2fs_open2: Bad magic number in super-block /usr/sbin/fsck.ext4: Superblock invalid, trying backup blocks... /dev/mmcblk0p8 was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes
分区表为
;--------------------------------------------------------------------------------------------------- ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 ;--------------------------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------------------------- ; 固件下载参数配置 ;--------------------------------------------------------------------------------------------------- ;*************************************************************************************************** ; mbr的大小, 以Kbyte为单位 ;*************************************************************************************************** [mbr] size = 16384 ;*************************************************************************************************** ; 分区配置 ; ; ; partition 定义范例: ; [partition] ; //表示是一个分区 ; name = USERFS2 ; //分区名称 ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 ; user_type = ? ; //私有用法 ; verify = 1 ; //要求量产完成后校验是否正确 ; ; 注:1、name唯一, 不允许同名 ; 2、name最大12个字符 ; 3、size = 0, 将创建一个无大小的空分区 ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) ;*************************************************************************************************** [partition_start] [partition] name = boot-resource size = 504 downloadfile = "boot-resource.fex" user_type = 0x8000 [partition] name = env size = 504 downloadfile = "env.fex" user_type = 0x8000 [partition] name = env-redund size = 504 downloadfile = "env.fex" user_type = 0x8000 [partition] name = boot size = 15360 downloadfile = "boot.fex" user_type = 0x8000 [partition] name = rootfs size = 147600 downloadfile = "rootfs.fex" user_type = 0x8000 ;[partition] ; name = dsp0 ; size = 2048 ; downloadfile = "dsp0.fex" ; user_type = 0x8000 ;[partition] ; name = recovery ; size = 16128 ; ;downloadfile = "recovery.fex" ; user_type = 0x8000 [partition] name = private size = 10240 user_type = 0x8000 [partition] name = rootfs_data size = 1024000 user_type = 0x8000 [partition] name = UDISK name = rootfs_data size = 10240 user_type = 0x8000