请问有没有跟踪应用闪退,并且记录闪退前的日志并且将其输出到log文件的方法
ZM12138 发布的帖子
-
回复: T113-S3电阻触摸
@zm12138 已解决,ts.conf增加
module skip nhead=10 ntail=2注:需要menuconfig增加相应的插件
-
回复: T113-S3电阻触摸
@whycanservice # 和这些有关嘛
module pthres pmin=1module variance delta=30
module dejitter delta=100
module linear
-
T113-S3 tslib问题
使用sunxi.c调试触摸屏,使用ts_calibrate校准,使用ts_test测试没有问题,使用ts_uinput -d -v 实例化到event2,执行TSLIB_TSDEVICE=/dev/input/event2 ts_test,测试event2,坐标开始出错,出现负值,LVGL也不可以用了,按照论坛说法,注释#module pthres pmin=1
#module variance delta=30
#module dejitter delta=100
也出现event2坐标出错问题
是驱动问题还是ts_lib问题 -
rtp驱动
电阻触摸配置了boarddts,将rtp使能,kernel_menuconfig勾选sunxi 电阻触摸,上电后使用hexdump /dev/input/event0,报错Invalid argument,请问如何解决
-
T113-S3 eth0自动启动
关于eth0的网口自动启动,设置了/etc/network/interfaces
auto eth0
iface eth0 inet dhcpauto usb0
iface usb0 inet dhcp
实际不能将eth0自启动,请问是怎么回事啊 -
T113-S3TF卡启动稳定
如下日志信息,TF卡外设为SDC0,提示can't find node "mmc0",请问是哪里出的问题
Boot 2018.05 (Oct 25 2023 - 16:45:43 +0800) Allwinner Technology [00.491]CPU: Allwinner Family [00.494]Model: sun8iw20 [00.496]DRAM: 128 MiB [00.499]Relocation Offset is: 04ebc000 [00.525]secure enable bit: 0 [00.527]smc_tee_inform_fdt failed with: -65526[00.531]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.538]gic: sec monitor mode [00.540]flash init start [00.543]workmode = 0,storage type = 1 [00.546][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.551][mmc]: get sdc_type fail and use default host:tm1. [00.557][mmc]: can't find node "mmc0",will add new node [00.562][mmc]: fdt err returned <no error> [00.566][mmc]: Using default timing para [00.570][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.587][mmc]: card_caps:0x3000000a [00.590][mmc]: host_caps:0x3000003f [00.593]sunxi flash init ok [00.596]line:703 init_clocks [00.599]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [00.615]unable to map hdmi registers [00.618]drv_disp_init finish [00.651]Loading Environment from SUNXI_FLASH... OK [00.672]boot_gui_init:start [00.675]set disp.dev2_output_type fail. using defval=0 [00.681]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 4 ms (12.7 KiB/s) [00.698]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 7 ms (5.2 MiB/s) [00.725]Item0 (Map) magic is bad [00.728]the secure storage item0 copy0 magic is bad [00.744]Item0 (Map) magic is bad [00.747]the secure storage item0 copy1 magic is bad [00.752]Item0 (Map) magic is bad [00.755]out of usb burn from boot: not need burn key List file under ULI/factory ** Unrecognized filesystem type ** root_partition is rootfs set root to /dev/mmcblk0p5 [00.774]update part info [00.779]update bootcmd [00.786]change working_fdt 0x43e7be70 to 0x43e5be70 disable nand error: FDT_ERR_BADPATH [00.806]update dts Hit any key to stop autoboot: 1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.871]LCD open finish 0 [02.020]no vendor_boot partition is found Android's image name: t113-100ask_pro [02.032]Starting kernel ... [02.034][mmc]: MMC Device 2 not found [02.038][mmc]: mmc 2 not find, so not exit
-
F133音频开发报错
按照D1-H的音频开发指南配置内置音频接口,出现如下错误,是什么原因啊
root@TinaLinux:/home# aplay -Dhw:audiocodec text2audio.wav
Playing WAVE 'text2audio.wav' : [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
Signed 16 bit Little Endian, Rate 16000 Hz, Mono
aplay: pcm_write:1980: write error: Input/output error -
回复: F133挂载点错误
@whycan 这些我真的改了,现在搞不明白,目前mmc2和uart0不冲突,为什么mmc2 not
found ,另外内核启动介质是在sys_config.fex里面配的吗? -
回复: F133挂载点错误
@whycan
感谢,已解决,但是碰到到MMC2 not found的问题,我用的是芒果派,TF是sdc0Platform 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,ÿ U-Boot 2018.05 (Jan 31 2023 - 18:22:47 +0800) Allwinner Technology [00.445]DRAM: 64 MiB [00.447]Relocation Offset is: 01ed9000 [00.452]secure enable bit: 0 [00.454]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.460]flash init start [00.463]workmode = 0,storage type = 1 [00.466][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.471][mmc]: get sdc_type fail and use default host:tm1. [00.478][mmc]: can't find node "mmc0",will add new node [00.483][mmc]: fdt err returned <no error> [00.486][mmc]: Using default timing para [00.490][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.516][mmc]: card_caps:0x3000000a [00.519][mmc]: host_caps:0x3000003f [00.524]sunxi flash init ok [00.526]line:703 init_clocks [00.530]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [00.547]unable to map hdmi registers [00.550]drv_disp_init finish [00.564]Loading Environment from SUNXI_FLASH... OK [00.584]boot_gui_init:start [00.587]set disp.dev2_output_type fail. using defval=0 [00.594]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [00.607]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 3 ms (12.2 MiB/s) [00.620]out of usb burn from boot: not need burn key [00.627]Item0 (Map) magic is bad [00.630]the secure storage item0 copy0 magic is bad [00.637]Item0 (Map) magic is bad [00.640]the secure storage item0 copy1 magic is bad [00.645]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.659]update part info [00.662]update bootcmd [00.666]change working_fdt 0x42a98da0 to 0x42a78da0 disable nand error: FDT_ERR_BADPATH [00.675]The storage not support sample function No reserved memory region found in source FDT [00.700]update dts noncached_alloc(): addr = 0x42b02a40 noncached_alloc(): addr = 0x42b02a80 noncached_alloc(): addr = 0x42b02ac0 noncached_alloc(): addr = 0x42b03300 geth_sys_init:639: get node 'gmac0' error geth_sys_init fail! [00.720]Board Net Initialization Failed [00.724]No ethernet found. Hit any key to stop autoboot: 1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.784]LCD open finish 0 [01.972]no vendor_boot partition is found Android's image name: f133-evb1 Detect comp none [01.987] Starting kernel ... [01.989][mmc]: MMC Device 2 not found [01.993][mmc]: mmc 2 not find, so not exit
-
回复: F133挂载点错误
@whycan 感谢,以下是完整Logo日志,帮忙看一下
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,ÿ U-Boot 2018.05 (Jan 30 2023 - 17:43:21 +0800) Allwinner Technology [00.313]DRAM: 64 MiB [00.315]Relocation Offset is: 01ed9000 [00.320]secure enable bit: 0 [00.322]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.329]flash init start [00.331]workmode = 0,storage type = 1 [00.334][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.340][mmc]: get sdc_type fail and use default host:tm1. [00.346][mmc]: can't find node "mmc0",will add new node [00.351][mmc]: fdt err returned <no error> [00.355][mmc]: Using default timing para [00.358][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.385][mmc]: card_caps:0x3000000a [00.388][mmc]: host_caps:0x3000003f [00.392]sunxi flash init ok [00.395]line:703 init_clocks [00.398]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [00.416]unable to map hdmi registers [00.419]drv_disp_init finish [00.432]Loading Environment from SUNXI_FLASH... OK [00.452]boot_gui_init:start [00.455]set disp.dev2_output_type fail. using defval=0 [00.462]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [00.476]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 4 ms (9.2 MiB/s) [00.488]out of usb burn from boot: not need burn key [00.495]Item0 (Map) magic is bad [00.498]the secure storage item0 copy0 magic is bad [00.506]Item0 (Map) magic is bad [00.508]the secure storage item0 copy1 magic is bad [00.513]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.528]update part info [00.531]update bootcmd [00.534]change working_fdt 0x42a98da0 to 0x42a78da0 disable nand error: FDT_ERR_BADPATH [00.543]The storage not support sample function No reserved memory region found in source FDT [00.568]update dts noncached_alloc(): addr = 0x42b02a40 noncached_alloc(): addr = 0x42b02a80 noncached_alloc(): addr = 0x42b02ac0 noncached_alloc(): addr = 0x42b03300 geth_sys_init:639: get node 'gmac0' error geth_sys_init fail! [00.589]Board Net Initialization Failed [00.592]No ethernet found. Hit any key to stop autoboot: 1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.652]LCD open finish 0 [01.850]no vendor_boot partition is found Android's image name: f133-evb1 Detect comp none [01.866] Starting kernel ... [01.868][mmc]: MMC Device 2 not found [01.872][mmc]: mmc 2 not find, so not exit Linux version 5.4.61 (root@zm-virtual-machine) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #6 PREEMPT Mon Jan 30 08:49:51 UTC 2023 Zone ranges: DMA32 [mem 0x0000000040000000-0x0000000043ffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040000000-0x0000000043ffffff] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] On node 0 totalpages: 16384 DMA32 zone: 224 pages used for memmap DMA32 zone: 0 pages reserved DMA32 zone: 16384 pages, LIFO batch:3 elf_hwcap is 0x20112d pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 16160 Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(01/30/2023-17:43:21) mbr_offset=15 Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) Sorting __ex_table... mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 56828K/65536K available (3792K kernel code, 382K rwdata, 1130K rodata, 132K init, 224K bss, 8708K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 rcu: Preemptible hierarchical RCU implementation. Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 plic: mapped 200 interrupts with 1 handlers for 2 contexts. riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns riscv_timer_clockevent depends on broadcast, but no broadcast function available clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) ASID allocator initialised with 65536 entries rcu: Hierarchical SRCU implementation. devtmpfs: initialized random: get_random_u32 called from 0xffffffe00016a9ea with crng_init=0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: 0, 6144 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic allocations cpuidle: using governor menu rtc_ccu: sunxi ccu init OK clock: sunxi ccu init OK clock: sunxi ccu init OK iommu: Default domain type: Translated sunxi iommu: irq = 4 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Initialized. pwm module init! g2d 5410000.g2d: Adding to iommu group 0 G2D: rcq version initialized.major:252 clocksource: Switched to clocksource riscv_clocksource sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) TCP: Hash tables configured (established 512 bind 512) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) NET: Registered protocol family 1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator spi spi0: spi0 supply spi not found, using dummy regulator sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE sunxi_spi_resource_get()2154 - Failed to get sample mode sunxi_spi_resource_get()2159 - Failed to get sample delay sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921 sunxi_spi_clk_init()2205 - [spi0] mclk 100000000 sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=14 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher ntfs: driver 2.1.32 [Flags: R/W]. fuse: init (API version 7.31) Key type asymmetric registered Asymmetric key parser 'x509' registered io scheduler mq-deadline registered io scheduler kyber registered [DISP]disp_module_init disp 5000000.disp: Adding to iommu group 0 [DISP] parser_disp_init_para,line:1430: of_property_read fb0_width fail [DISP] disp_init,line:2386: smooth display screen:0 type:1 mode:4 display_fb_request,fb_id:0 Freeing logo buffer memory: 1500K disp_al_manager_apply ouput_type:1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [DISP]disp_module_init finish sunxi_sid_init()551 - insmod ok pwm-regulator: supplied by regulator-dummy uart uart0: uart0 supply uart not found, using dummy regulator uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n printk: console [ttyS0] enabled misc dump reg init sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 random: fast init done random: crng init done sunxi-spinand-phy: read id failed : -110 spi-nand: probe of spi0.0 failed with error -110 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver sunxi-ehci: EHCI SUNXI driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver sunxi-ohci: OHCI SUNXI driver sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! sunxi-rtc 7090000.rtc: registered as rtc0 sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate! sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:23 UTC (23) sunxi-rtc 7090000.rtc: sunxi rtc probed i2c /dev entries driver sunxi cedar version 1.1 sunxi-cedar 1c0e000.ve: Adding to iommu group 0 VE: install start!!! VE: cedar-ve the get irq is 6 VE: install end!!! VE: sunxi_cedar_probe sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrl sunxi-mmc 4020000.sdmmc: Error applying setting, reverse things back sunxi-mmc: probe of 4020000.sdmmc failed with error -22 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4021000.sdmmc: No vmmc regulator found sunxi-mmc 4021000.sdmmc: No vqmmc regulator found sunxi-mmc 4021000.sdmmc: No vdmmc regulator found sunxi-mmc 4021000.sdmmc: No vd33sw regulator found sunxi-mmc 4021000.sdmmc: No vd18sw regulator found sunxi-mmc 4021000.sdmmc: No vq33sw regulator found sunxi-mmc 4021000.sdmmc: No vq18sw regulator found sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: detmode:manually by software ashmem: initialized exFAT: Version 1.3.0 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [SNDCODEC][sunxi_card_init][583]:card init finished sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [SNDCODEC][sunxi_card_dev_probe][836]:register card finished NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch Loading compiled-in X.509 certificates sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-i2c sunxi-i2c2: probe success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrl mmc0: new high speed SDIO card at address 0001 sunxi-mmc 4020000.sdmmc: Error applying setting, reverse things back sunxi-mmc: probe of 4020000.sdmmc failed with error -22 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator get ehci0-controller wakeup-source is fail. sunxi ehci0-controller don't init wakeup source [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000579370, 0x:ffffffd0040e6000, irq_no:2e [sunxi-ehci0]: Not init ehci0 get ohci0-controller wakeup-source is fail. sunxi ohci0-controller don't init wakeup source [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000579738 [sunxi-ohci0]: Not init ohci0 get ehci1-controller wakeup-source is fail. sunxi ehci1-controller don't init wakeup source [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000579b00, 0x:ffffffd0040ef000, irq_no:31 sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected get ohci1-controller wakeup-source is fail. sunxi ohci1-controller don't init wakeup source [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000579ec8 sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected cfg80211: Loading compiled-in X.509 certificates for regulatory database cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 clk: Not disabling unused clocks ALSA device list: #0: audiocodec alloc_fd: slot 0 not NULL! cfg80211: failed to load regulatory.db /dev/root: Can't open blockdev VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #6 Call Trace: [<ffffffe000022cde>] 0xffffffe000022cde [<ffffffe000026c1e>] 0xffffffe000026c1e [<ffffffe000000d10>] 0xffffffe000000d10 [<ffffffe000000f36>] 0xffffffe000000f36 [<ffffffe0003d08c6>] 0xffffffe0003d08c6 [<ffffffe0003d08d4>] 0xffffffe0003d08d4 [<ffffffe0003d08c6>] 0xffffffe0003d08c6 [<ffffffe000021ce4>] 0xffffffe000021ce4 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
F133挂载点错误
小白,问一下挂载点错误,应该修改哪里啊 如下面log错误
alloc_fd: slot 0 not NULL! cfg80211: failed to load regulatory.db /dev/root: Can't open blockdev VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #6 Call Trace: [<ffffffe000022cde>] 0xffffffe000022cde [<ffffffe000026c1e>] 0xffffffe000026c1e [<ffffffe000000d10>] 0xffffffe000000d10 [<ffffffe000000f36>] 0xffffffe000000f36 [<ffffffe0003d08c6>] 0xffffffe0003d08c6 [<ffffffe0003d08d4>] 0xffffffe0003d08d4 [<ffffffe0003d08c6>] 0xffffffe0003d08c6 [<ffffffe000021ce4>] 0xffffffe000021ce4 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
回复: F133 启动失败问题求助
@whycan 改之前是从#ifndef CONFIG_MACH_SUN50IW11
return sdmmc_init_for_sprite(0, 2);,报错,显示没有找到CARD2,我用的是mq芒果派,SD卡是CARD0
#else
改之后是#ifndef CONFIG_MACH_SUN50IW11
return sdmmc_init_for_sprite(0, 0);,报错好像是DTS的错误,但是不知道改哪里 -
F133 启动失败问题求助
F133启动失败,改过uboot底下的sdmmc.c里面sunxi_sprite_mmc_probe,
#ifndef CONFIG_MACH_SUN50IW11 return sdmmc_init_for_sprite(0, 2); #else
无法启动进入内核
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-0_H2018.05 (Jan 28 2023 - 13:59:06 +0800) Allwinner Technology [00.289]DRAM: 64 MiB [00.291]Relocation Offset is: 01f1b000 [00.295]secure enable bit: 0 [00.298]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.304]sunxi flash type@1 not support fast burn key [00.308]flash init start [00.311]workmode = 17,storage type = 1 try card 0 set card number 0 get card number 0 [00.318][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.324][mmc]: get sdc_type fail and use default host:tm1. FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL [00.336][mmc]: get card0 default pin fail [00.340][mmc]: can't find node "mmc0",will add new node [00.345][mmc]: fdt err returned <no error> [00.349][mmc]: Using default timing para [00.352][mmc]: sunxi mmc pin set failed! [00.356]error card no error [00.358][mmc]: MMC Device -1 not found fail to find one useful mmc card2 try emmc fail [00.369]unrecognized JEDEC id bytes: ff, ff, ff try spinor fail initcall sequence 0000000043fa2de0 failed at call 000000004200ca86 (err=-1) ### ERROR ### Please RESET the board ###
如何才能排除错误