@chegyy 前辈解决了吗?遇到同样的问题了
yubeer 发布的最佳帖子
-
t113-s3 RMII 网卡IP101GR不识别
问题现象:
PHY芯片用的IP101GR,kernel已经根据手册把phy 驱动icplus等都添加了。不知道是不是硬件有问题,量了PE10(ephy_25M)没有时钟信号。gmac_pins_a: gmac@0 { pins = "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9"; function = "gmac0"; drive-strength = <10>; }; gmac_pins_b: gmac@1 { pins = "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9"; function = "gpio_in"; }; &gmac0 { phy-mode = "rmii"; use_ephy25m = <1>; pinctrl-0 = <&gmac_pins_a>; pinctrl-1 = <&gmac_pins_b>; pinctrl-names = "default", "sleep"; phy-rst = <&pio PE 11 GPIO_ACTIVE_LOW>; /*tx-delay = <3>; /*2~4*/ /*rx-delay = <0>;*/ status = "okay"; };
打印输出和网卡相关的只有这些:
[ 0.858513] libphy: Fixed MDIO Bus: probed [ 0.863954] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.875201] sunxi gmac driver's version: 1.0.0 [ 0.880315] gmac-power0: NULL [ 0.883664] gmac-power1: NULL [ 0.886967] gmac-power2: NULL [ 0.891018] ehci_hcd: USB 2.0 'Enha
ifconfig -a是有 eth0的
ifconfig eth0 up
[ 34.543389] libphy: 4500000.eth: probed [ 34.547686] sunxi-gmac 4500000.eth eth0: No PHY found! [ 34.703390] libphy: 4500000.eth: probed [ 34.707685] sunxi-gmac 4500000.eth eth0: No PHY found! [ 34.716027] sunxi-gmac 4500000.eth eth0: phy init failed
原理图(与V853一致)
https://v853.docs.aw-ol.com/hard/hard_3boardsch/ -
回复: t113-s3 RMII 网卡IP101GR不识别
@radxiaohe sdk用的tina和 论坛“T113 Tina SDK、Longan SDK、开发资料下载”里面的都试过了
-
回复: t113-s3 RMII 网卡IP101GR不识别
这个是原理图,kernel phy驱动icplus已经配置了,/drivers/net/phy/icplus.c中有phy identify了,跟ip101gr手册上对了一致的
,该从哪个地方开始查呢
-
t113-s3 eMMc SDC2使能系统就挂(emmc硬件上加了上拉电阻,sdc2 bias-pull-up去掉了,用SD卡启动系统的)
[03.025]Starting kernel ... [03.027][mmc]: MMC Device 2 not found [03.031][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (xinhy@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #58 SMP PREEMPT Tue Jan 23 09:51:41 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 4 MiB at 0x47c00000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 288 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 s31116 r8192 d22132 u61440 [ 0.000000] pcpu-alloc: s31116 r8192 d22132 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500800 clk_ignore_unused initcall_debug=0 console=ttyS2,115200 rootdelay=1 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=4M 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.05-g2a1965a-dirty(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f06000 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: 103640K/131072K available (8192K kernel code, 484K rwdata, 2240K rodata, 1024K init, 201K bss, 23336K reserved, 4096K cma-reserved) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x258/0x3e4 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.008018] Switching to timer-based delay loop, resolution 41ns [ 0.014183] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023954] Console: colour dummy device 80x30 [ 0.028421] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.038791] pid_max: default: 32768 minimum: 301 [ 0.043477] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.050812] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.059425] CPU: Testing write buffer coherency: ok [ 0.064664] /cpus/cpu@0 missing clock-frequency property [ 0.069992] /cpus/cpu@1 missing clock-frequency property [ 0.075337] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.081719] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.088439] rcu: Hierarchical SRCU implementation. [ 0.093630] BOOTEVENT: 93.620790: ON [ 0.098036] smp: Bringing up secondary CPUs ... [ 0.103878] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.104040] smp: Brought up 1 node, 2 CPUs [ 0.113877] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.120058] CPU: All CPU(s) started in SVC mode. [ 0.125327] devtmpfs: initialized [ 0.222473] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.234547] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.244426] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.251583] pinctrl core: initialized pinctrl subsystem [ 0.267696] NET: Registered protocol family 16 [ 0.274333] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.512124] rtc_ccu: sunxi ccu init OK [ 0.548173] ccu: sunxi ccu init OK [ 0.557937] r_ccu: sunxi ccu init OK [ 1.045308] iommu: Default domain type: Translated [ 1.050426] sunxi iommu: irq = 24 [ 1.077743] SCSI subsystem initialized [ 1.090435] usbcore: registered new interface driver usbfs [ 1.096103] usbcore: registered new interface driver hub [ 1.101533] usbcore: registered new device driver usb [ 1.112160] mc: Linux media interface: v0.10 [ 1.116915] videodev: Linux video capture interface: v2.00 [ 1.143320] Advanced Linux Sound Architecture Driver Initialized. [ 1.159151] Bluetooth: Core ver 2.22 [ 1.162937] NET: Registered protocol family 31 [ 1.167397] Bluetooth: HCI device and connection manager initialized [ 1.173795] Bluetooth: HCI socket layer initialized [ 1.178673] Bluetooth: L2CAP socket layer initialized [ 1.183755] Bluetooth: SCO socket layer initialized [ 1.196058] g2d 5410000.g2d: Adding to iommu group 0 [ 1.203731] G2D: rcq version initialized.major:251 [ 1.216806] clocksource: Switched to clocksource arch_sys_counter [ 1.416119] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 1.735152] thermal_sys: Registered thermal governor 'step_wise' [ 1.735159] thermal_sys: Registered thermal governor 'user_space' [ 1.752810] NET: Registered protocol family 2 [ 1.775434] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.783859] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 1.791552] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 1.798628] TCP: Hash tables configured (established 1024 bind 1024) [ 1.805103] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.811684] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.819037] NET: Registered protocol family 1 [ 1.835231] RPC: Registered named UNIX socket transport module. [ 1.841233] RPC: Registered udp transport module. [ 1.845942] RPC: Registered tcp transport module. [ 1.850664] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.891248] Initialise system trusted keyrings [ 1.895949] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 1.911473] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.920902] NFS: Registering the id_resolver key type [ 1.928741] Key type id_resolver registered [ 1.932927] Key type id_legacy registered [ 1.937178] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.943873] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.954023] ntfs: driver 2.1.32 [Flags: R/W]. [ 1.964505] fuse: init (API version 7.31) [ 2.000713] NET: Registered protocol family 38 [ 2.005179] Key type asymmetric registered [ 2.009331] Asymmetric key parser 'x509' registered [ 2.014241] io scheduler mq-deadline registered [ 2.018808] io scheduler kyber registered [ 2.022943] atomic64_test: passed [ 2.041921] [DISP]disp_module_init [ 2.054676] [DISP]disp_module_init finish [ 2.065523] sunxi_sid_init()551 - insmod ok [ 2.087878] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 2.104733] uart uart2: uart2 supply uart not found, using dummy regulator [ 2.120623] uart2: ttyS2 at MMIO 0x2500800 (irq = 34, base_baud = 1500000) is a SUNXI [ 2.128491] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ⚌[ 2.136475] printk: console [ttyS2] enabled [ 2.136475] printk: console [ttyS2] enabled [ 2.145407] printk: bootconsole [earlycon0] disabled [ 2.145407] printk: bootconsole [earlycon0] disabled [ 2.168966] misc dump reg init [ 2.195248] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 2.205428] [ADDR_MGT] addr_mgt_probe: success. [ 2.241904] libphy: Fixed MDIO Bus: probed [ 2.246514] CAN device driver interface [ 2.257377] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator [ 2.266313] sunxi gmac driver's version: 1.0.0 [ 2.274288] gmac-power0: NULL [ 2.277673] gmac-power1: NULL [ 2.281002] gmac-power2: NULL [ 2.304591] Failed to alloc md5 [ 2.308228] eth0: Use random mac address [ 2.315924] PPP generic driver version 2.4.2 [ 2.330279] PPP BSD Compression module registered [ 2.335570] PPP Deflate Compression module registered [ 2.341278] PPP MPPE Compression module registered [ 2.346659] NET: Registered protocol family 24 [ 2.351711] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.359050] sunxi-ehci: EHCI SUNXI driver [ 2.363996] get ehci0-controller wakeup-source is fail. [ 2.370005] sunxi ehci0-controller don't init wakeup source [ 2.376267] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0d9ba70, 0x:c8825000, irq_no:33 [ 2.388289] [sunxi-ehci0]: Not init ehci0 [ 2.393117] get ehci1-controller wakeup-source is fail. [ 2.399117] sunxi ehci1-controller don't init wakeup source [ 2.405378] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0d9bf90, 0x:c8829000, irq_no:35 [ 2.418242] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 2.436751] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.452000] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.459335] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.469432] sunxi-ehci 4200000.ehci1-controller: irq 53, io mem 0x04200000 [ 2.516821] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.524642] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect [ 2.548786] hub 1-0:1.0: USB hub found [ 2.553155] hub 1-0:1.0: 1 port detected [ 2.567610] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.574579] sunxi-ohci: OHCI SUNXI driver [ 2.579563] get ohci0-controller wakeup-source is fail. [ 2.591558] sunxi ohci0-controller don't init wakeup source [ 2.597855] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0d9bd00 [ 2.607535] [sunxi-ohci0]: Not init ohci0 [ 2.612458] get ohci1-controller wakeup-source is fail. [ 2.618478] sunxi ohci1-controller don't init wakeup source [ 2.624738] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0d9c220 [ 2.634449] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 2.650196] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.662596] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.670019] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.685934] sunxi-ohci 4200400.ohci1-controller: irq 54, io mem 0x04200400 [ 2.774949] hub 2-0:1.0: USB hub found [ 2.779487] hub 2-0:1.0: 1 port detected [ 2.797540] usbcore: registered new interface driver uas [ 2.803669] usbcore: registered new interface driver usb-storage [ 2.810557] usbcore: registered new interface driver ums-alauda [ 2.817392] usbcore: registered new interface driver ums-cypress [ 2.824219] usbcore: registered new interface driver ums-datafab [ 2.831075] usbcore: registered new interface driver ums_eneub6250 [ 2.841183] usbcore: registered new interface driver ums-freecom [ 2.848084] usbcore: registered new interface driver ums-isd200 [ 2.854807] usbcore: registered new interface driver ums-jumpshot [ 2.864819] usbcore: registered new interface driver ums-karma [ 2.871522] usbcore: registered new interface driver ums-onetouch [ 2.878495] usbcore: registered new interface driver ums-realtek [ 2.885338] usbcore: registered new interface driver ums-sddr09 [ 2.892099] usbcore: registered new interface driver ums-sddr55 [ 2.905088] usbcore: registered new interface driver ums-usbat [ 2.918021] usbcore: registered new interface driver option [ 2.924364] usbserial: USB Serial support registered for GSM modem (1-port) [ 2.935954] sunxi_gpadc_init,2151, success [ 2.939286] usb 1-1: new high-speed USB device number 2 using sunxi-ehci [ 2.950835] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 2.978785] sunxi-rtc 7090000.rtc: registered as rtc0 [ 2.984605] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:07 UTC (7) [ 2.993552] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 2.999512] i2c /dev entries driver [ 3.003650] IR NEC protocol handler initialized [ 3.008782] IR RC5(x/sz) protocol handler initialized [ 3.015149] usbcore: registered new interface driver uvcvideo [ 3.021668] USB Video Class driver (1.1.1) [ 3.026270] gspca_main: v2.14.0 registered [ 3.030888] sunxi cedar version 1.1 [ 3.042423] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 3.056950] Bluetooth: HCI UART driver ver 2.3 [ 3.061945] Bluetooth: HCI UART protocol H4 registered [ 3.089983] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator [ 3.098964] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 3.109186] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308 [ 3.115597] sunxi-mmc 4022000.sdmmc: No vmmc regulator found [ 3.121990] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found [ 3.128492] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found [ 3.134950] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found [ 3.141523] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found [ 3.148109] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found [ 3.154656] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found [ 3.161295] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 3.190324] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.190382] hub 1-1:1.0: USB hub found [ 3.205879] hub 1-1:1.0: 4 ports detected [ 3.214168] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.239762] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable) [ 3.247037] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.271147] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.287297] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 3.288455] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.297311] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 3.314900] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.321698] sunxi-mmc 4022000.sdmmc: retry:start [ 3.326905] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 3.326913] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 3.333283] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000080 [ 3.339719] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 3.346758] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.353199] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 3.359931] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.366465] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 3.373222] sunxi-mmc 4022000.sdmmc: retry:start [ 3.379762] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 3.384950] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000282 [ 3.391482] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 3.398526] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.399343] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.418622] sunxi-mmc 4022000.sdmmc: retry:start [ 3.422311] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 3.423827] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000484 [ 3.429274] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 3.436088] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.442821] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.449254] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.460438] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 3.467132] sunxi-mmc 4022000.sdmmc: retry:start [ 3.479961] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000686 [ 3.486876] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.487034] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.505370] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.511710] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 3.512134] sunxi-mmc 4022000.sdmmc: retry:start [ 3.517843] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.522985] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000888 [ 3.539212] hidraw: raw HID events driver (C) Jiri Kosina [ 3.541645] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.554423] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.558257] usbcore: registered new interface driver usbhid [ 3.561224] sunxi-mmc 4022000.sdmmc: retry:start [ 3.570706] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.572627] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000a8a [ 3.584820] usbhid: USB HID core driver [ 3.591299] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.602394] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.609204] sunxi-mmc 4022000.sdmmc: retry:start [ 3.614420] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000c8c [ 3.621504] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.628310] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.630245] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.635076] sunxi-mmc 4022000.sdmmc: retry:start [ 3.651933] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00000e8e [ 3.659020] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.662178] [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 [ 3.662178] [ 3.665772] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.683378] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 3.689695] sunxi-mmc 4022000.sdmmc: retry:start [ 3.705876] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001090 [ 3.710418] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.712958] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.728563] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 3.731264] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.746242] sunxi-mmc 4022000.sdmmc: retry:start [ 3.751515] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001292 [ 3.758641] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.765395] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.771021] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 3.772172] sunxi-mmc 4022000.sdmmc: retry:start [ 3.782164] [SNDCODEC][sunxi_card_init][583]:card init finished [ 3.787147] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001494 [ 3.800849] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.804140] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 3.807629] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.807646] sunxi-mmc 4022000.sdmmc: retry:start [ 3.807680] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001696 [ 3.836617] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.843419] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.850221] sunxi-mmc 4022000.sdmmc: retry:start [ 3.853644] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 3.855456] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001898 [ 3.873930] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.878524] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 3.880723] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.894991] sunxi-mmc 4022000.sdmmc: retry:start [ 3.898833] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 3.900245] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001a9a [ 3.914594] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.919621] mmc1: host does not support reading read-only switch, assuming write-enable [ 3.921358] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.937090] sunxi-mmc 4022000.sdmmc: retry:start [ 3.941198] xt_time: kernel timezone is -0000 [ 3.942297] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001c9c [ 3.947261] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 3.954244] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.972494] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 3.979274] sunxi-mmc 4022000.sdmmc: retry:start [ 3.984494] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00001e9e [ 3.991568] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 3.998330] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.005087] sunxi-mmc 4022000.sdmmc: retry:start [ 4.008786] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 4.010316] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000020a0 [ 4.017705] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 10000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 4.024441] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.038438] NET: Registered protocol family 10 [ 4.042887] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.054615] sunxi-mmc 4022000.sdmmc: retry:start [ 4.059852] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000022a2 [ 4.066978] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.067595] Segment Routing with IPv6 [ 4.073749] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.077903] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 6000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 4.084587] sunxi-mmc 4022000.sdmmc: retry:start [ 4.096380] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.101401] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000024a4 [ 4.108128] mmc1: new high speed SDHC card at address aaaa [ 4.115060] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.127957] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.134717] sunxi-mmc 4022000.sdmmc: retry:start [ 4.139961] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000026a6 [ 4.147034] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.153782] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.157227] mmcblk1: mmc1:aaaa SD32G 29.7 GiB [ 4.160554] sunxi-mmc 4022000.sdmmc: retry:start [ 4.170742] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000028a8 [ 4.177820] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.184569] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.191377] sunxi-mmc 4022000.sdmmc: retry:start [ 4.196591] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00002aaa [ 4.203669] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.210452] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.211451] NET: Registered protocol family 17 [ 4.217232] sunxi-mmc 4022000.sdmmc: retry:start [ 4.217266] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00002cac [ 4.222490] NET: Registered protocol family 15 [ 4.227455] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.228276] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.234714] can: controller area network core (rev 20170425 abi 9) [ 4.239546] sunxi-mmc 4022000.sdmmc: retry:start [ 4.246339] NET: Registered protocol family 29 [ 4.253086] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00002eae [ 4.259988] can: raw protocol (rev 20170425) [ 4.265175] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.270143] can: broadcast manager protocol (rev 20170425 t) [ 4.277183] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.281955] can: netlink gateway (rev 20190810) max_hops=1 [ 4.288710] sunxi-mmc 4022000.sdmmc: retry:start [ 4.298636] Bluetooth: RFCOMM TTY layer initialized [ 4.301865] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000030b0 [ 4.308162] Bluetooth: RFCOMM socket layer initialized [ 4.313176] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.318750] Bluetooth: RFCOMM ver 1.11 [ 4.325669] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.334888] lib80211: common routines for IEEE802.11 drivers [ 4.338176] sunxi-mmc 4022000.sdmmc: retry:start [ 4.338213] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000032b2 [ 4.342433] lib80211_crypt: registered algorithm 'NULL' [ 4.349171] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.355517] lib80211_crypt: registered algorithm 'WEP' [ 4.360695] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.360708] sunxi-mmc 4022000.sdmmc: retry:start [ 4.367760] lib80211_crypt: registered algorithm 'CCMP' [ 4.373612] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000034b4 [ 4.380343] lib80211_crypt: registered algorithm 'TKIP' [ 4.386111] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.394066] Registering SWP/SWPB emulation handler [ 4.398029] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.398043] sunxi-mmc 4022000.sdmmc: retry:start [ 4.411504] Loading compiled-in X.509 certificates [ 4.416834] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000036b6 [ 4.453333] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.460113] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.466889] sunxi-mmc 4022000.sdmmc: retry:start [ 4.472105] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x000038b8 [ 4.479200] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.485949] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.492739] sunxi-mmc 4022000.sdmmc: retry:start [ 4.497987] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00003aba [ 4.505041] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.511824] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.518614] sunxi-mmc 4022000.sdmmc: retry:start [ 4.523818] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00003cbc [ 4.531002] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.537799] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.544570] sunxi-mmc 4022000.sdmmc: retry:start [ 4.549829] sunxi-mmc 4022000.sdmmc: RETRY: REG_SAMP_DL: 0x00003ebe [ 4.556913] sunxi-mmc 4022000.sdmmc: *****retry:re-send cmd***** [ 4.563662] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 4.570443] sunxi-mmc 4022000.sdmmc: retry:start [ 4.575653] sunxi-mmc 4022000.sdmmc: sunxi v4p5x/v4p6x retry give up! [ 4.582914] sunxi-mmc 4022000.sdmmc: retry:set phase failed or over retry times [ 4.591163] sunxi-mmc 4022000.sdmmc: retry:give up [ 4.597575] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 4.610974] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 [ 4.679935] usb 1-1.1: new high-speed USB device number 3 using sunxi-ehci [ 4.823815] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 4.836430] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator [ 4.863614] sunxi-i2c sunxi-i2c3: probe success [ 4.950122] get usb_detect_mode is fail, -22 [ 4.958049] get det_vbus is fail, -84 [ 4.962162] get id is fail, -84 [ 5.001167] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 5.013076] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 5.020697] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 5.027028] clk: Not disabling unused clocks [ 5.030396] cfg80211: failed to load regulatory.db [ 5.035152] ALSA device list: [ 5.043985] #0: audiocodec [ 5.047523] Waiting 1 sec before mounting root device... [ 6.006830] [ 6.006830] insmod_device_driver [ 6.006830] [ 6.014048] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 6.029810] device_chose finished 142! [ 6.087055] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 [ 6.095749] Please append a correct "root=" boot option; here are the available partitions: [ 6.105178] b300 31166976 mmcblk1 [ 6.105182] driver: mmcblk [ 6.112827] b301 252 mmcblk1p1 a0085546-4166-744a-a353-fca9272b8e45 [ 6.112830] [ 6.122909] b302 252 mmcblk1p2 a0085546-4166-744a-a353-fca9272b8e46 [ 6.122912] [ 6.132991] b303 252 mmcblk1p3 a0085546-4166-744a-a353-fca9272b8e47 [ 6.132994] [ 6.143071] b304 6400 mmcblk1p4 a0085546-4166-744a-a353-fca9272b8e48 [ 6.143073] [ 6.153184] b305 30720 mmcblk1p5 a0085546-4166-744a-a353-fca9272b8e49 [ 6.153186] [ 6.163273] b306 5120 mmcblk1p6 a0085546-4166-744a-a353-fca9272b8e4a [ 6.163276] [ 6.173368] b307 25200 mmcblk1p7 a0085546-4166-744a-a353-fca9272b8e4b [ 6.173371] [ 6.183450] 103:00000 31061899 mmcblk1p8 a0085546-4166-744a-a353-fca9272b8e4c [ 6.183452] [ 6.193541] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 6.202820] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #58 [ 6.209558] Hardware name: Generic DT based system [ 6.214956] [<c010e1d8>] (unwind_backtrace) from [<c010a7e0>] (show_stack+0x10/0x14) [ 6.223649] [<c010a7e0>] (show_stack) from [<c08ada00>] (dump_stack+0x7c/0x98) [ 6.231758] [<c08ada00>] (dump_stack) from [<c01198e0>] (panic+0x104/0x3d8) [ 6.239574] [<c01198e0>] (panic) from [<c0c012d4>] (mount_block_root+0x230/0x328) [ 6.247974] [<c0c012d4>] (mount_block_root) from [<c0c01584>] (prepare_namespace+0x138/0x178) [ 6.257541] [<c0c01584>] (prepare_namespace) from [<c08c2450>] (kernel_init+0x8/0x118) [ 6.266432] [<c08c2450>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 6.274922] Exception stack(0xc7419fb0 to 0xc7419ff8) [ 6.280589] 9fa0: 00000000 00000000 00000000 00000000 [ 6.289769] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 6.298944] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 6.306368] CPU0: stopping dts sdmmc@4022000 { compatible = "allwinner,sunxi-mmc-v4p6x"; device_type = "sdc2"; reg = <0x00000000 0x04022000 0x00000000 0x00001000>; interrupts = <0x00000000 0x0000002a 0x00000004>; clocks = <0x0000000d 0x00000002 0x00000005 0x00000002 0x0000003b 0x00000002 0x0000003e>; clock-names = "osc24m", "pll_periph", "mmc", "ahb"; resets = <0x00000002 0x00000011>; reset-names = "rst"; pinctrl-names = "default", "sleep"; pinctrl-0 = <0x00000020>; pinctrl-1 = <0x00000021>; bus-width = <0x00000004>; req-page-count = <0x00000002>; cap-mmc-highspeed; cap-cmd23; mmc-cache-ctrl; non-removable; max-frequency = <0x001e8480>; cap-erase; mmc-high-capacity-erase-size; no-sdio; no-sd; sdc_tm4_sm0_freq0 = <0x00000000>; sdc_tm4_sm0_freq1 = <0x00000000>; sdc_tm4_sm1_freq0 = <0x00000000>; sdc_tm4_sm1_freq1 = <0x00000000>; sdc_tm4_sm2_freq0 = <0x00000000>; sdc_tm4_sm2_freq1 = <0x00000000>; sdc_tm4_sm3_freq0 = <0x05000000>; sdc_tm4_sm3_freq1 = <0x00000005>; sdc_tm4_sm4_freq0 = <0x00050000>; sdc_tm4_sm4_freq1 = <0x00000004>; sdc_tm4_sm4_freq0_cmd = <0x00000000>; sdc_tm4_sm4_freq1_cmd = <0x00000000>; mmc-ddr-3_3v; mmc-hs200-3_3v; ctl-spec-caps = <0x00000308>; sunxi-power-save-mode; sunxi-dis-signal-vol-sw; mmc-bootpart-noacc; status = "okay"; }; => fdt list /soc/card2_boot_para card2_boot_para@3 { reg = <0x00000000 0x00000003 0x00000000 0x00000000>; device_type = "card2_boot_para"; card_ctrl = <0x00000002>; card_high_speed = <0x00000001>; card_line = <0x00000004>; pinctrl-0 = <0x00000020>; sdc_io_1v8 = <0x00000000>; sdc_tm4_hs200_max_freq = <0x00000002>; sdc_tm4_hs400_max_freq = <0x00000002>; sdc_ex_dly_used = <0x00000002>; }; sdc2@0 { allwinner,pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; allwinner,function = "sdc2"; allwinner,muxsel = <0x00000003>; allwinner,drive = <0x00000003>; allwinner,pull = <0x00000000>; pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; function = "sdc2"; drive-strength = <0x0000001e>; phandle = <0x00000020>; }; sdc2@1 { pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; function = "gpio_in"; phandle = <0x00000021>; };
yubeer 发布的最新帖子
-
回复: t113 recovery模式无法进入,no ATAGS support: can't continue
@yubeer 本地swupdate_cmd.sh执行upgrade_kernel后,重启日志,彻底挂了~
[217]Entry_name = u-boot [224]Entry_name = optee [228]Entry_name = dtb [231]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-g2a1965a-dirty (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology [00.284]CPU: Allwinner Family [00.287]Model: sun8iw20 [00.289]DRAM: 128 MiB [00.292]Relocation Offset is: 04ec1000 [00.317]secure enable bit: 0 [00.320]smc_tee_inform_fdt failed with: -65526[00.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.330]gic: sec monitor mode [00.333]flash init start [00.335]workmode = 0,storage type = 0 device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x0fb00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.512]ubi0: attaching mtd4 [00.713]ubi0: scanning is finished [00.720]ubi0: attached mtd4 (name "sys", size 251 MiB) [00.725]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.731]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.737]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.743]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0 [00.749]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128 [00.755]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.763]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40 [00.772]sunxi flash init ok [00.774]line:703 init_clocks [00.777]drv_disp_init fdt get node offset faill: hdmi [00.787]unable to map hdmi registers [00.790]drv_disp_init finish [00.895]Loading Environment from SUNXI_FLASH... OK [00.915]boot_gui_init:start [00.918]set disp.dev2_output_type fail. using defval=0 drv_lcd_open_callback lcd open flow is NULL! LCD enable fail! [00.929]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 0 ms [00.948]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 2 ms (18.3 MiB/s) [00.960]Item0 (Map) magic is bad [00.962]out of usb burn from boot: not need burn key List file under ULI/factory ** Unrecognized filesystem type ** [00.983]update bootcmd damaged volume, update marker is set[00.998]change working_fdt 0x44880e70 to 0x44860e70 [01.020]update dts Hit any key to stop autoboot: 0 damaged volume, update marker is set[02.041]no vendor_boot partition is found Wrong Image Format for bootm command ERROR: can't get kernel image!
-
t113 recovery模式无法进入,no ATAGS support: can't continue
之前都是用USB下载新固件(spinand),现在想用swupdate工具做本地和OTA升级。
1.更改了分区文件sys_partition.fex[partition] name = recovery size =26128 ;size = 10240 downloadfile = "recovery.fex" user_type = 0x8000
sw-subimgs.cfg
swota_file_list=( ${TINA_BUILD_TOP=}/target/allwinner/${TARGET_BOARD}/swupdate/sw-description-ubi:sw-description out/${TARGET_BOARD}/boot_initramfs_recovery.img:recovery #out/${TARGET_BOARD}/image/recovery.fex:recovery out/${TARGET_BOARD}/image/boot0_nand.fex:boot0 out/${TARGET_BOARD}/image/boot_package.fex:uboot out/${TARGET_BOARD}/image/rootfs.fex:rootfs out/${TARGET_BOARD}/image/boot.fex:kernel #out/${TARGET_BOARD}/usr.img:usr )
2.swupdate_make_recovery_img,(主系统和recovery,都设置了ubi-env-redund)
3.swupdate_pack_swu -ubi
4.pack,然后升级固件。
5.尝试进入recovery,失败~
root@t113:~# fw_setenv boot_partition recovery root@t113:~# reboot can't run '/etc/init.d/rcK': No such file or directory can't run '/sbin/swapoff': No such file or directory [ 148.645894] UBIFS (ubi0:9): un-mount UBI device 0 umount: can't remount adb read-only [ 148.654991] UBIFS (ubi0:9): background thread "ubifs_bgt0_9" stops umount: can't remount tmpfs read-only umount: /proc busy - remounted read-only umount: devtmpfs busy - remounted read-only The system is going down NOW! Sent SIG[ 148.742104] android_work: sent uevent USB_STATE=DISCONNECTED TERM to all processes netifd_ubus_reconnect_timer(336): failed to reconnect, trying again in 2 seconds [ 148.758620] android_work: did not send uevent (0 0 00000000) Sen[ 150.737586] [ohci1-controller]: ohci shutdown start [ 150.743047] [ohci1-controller]: ohci shutdown end [ 150.748390] [ehci1-controller]: ehci shutdown start [ 150.753993] [ehci1-controller]: ehci shutdown end [ 150.759855] reboot: Restarting system [29]HELLO! BOOT0 is starting! [31]BOOT0 commit : adaf1174cc [34]set pll start [40]periph0 has been enabled [43]set pll end [46][pmu]: bus read error [48]board init ok [50]ZQ value = 0x31 [52]get_pmu_exist() = -1 [54]DRAM BOOT DRIVE INFO: V0.33 [57]DRAM CLK = 936 MHz [59]DRAM Type = 3 (2:DDR2,3:DDR3) [63]DRAMC read ODT off. [65]DRAM ODT value: 0x42. [68]ddr_efuse_type: 0xa [71]DRAM SIZE =128 M [73]dram_tpr4:0x0 [74]PLL_DDR_CTRL_REG:0xf8004d00 [77]DRAM_CLK_REG:0xc0000000 [80][TIMING DEBUG] MR2= 0x20 [87]DRAM simple test OK. [89]rtc standby flag is 0x0, super standby flag is 0x0 [94]dram size =128 [97]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [102]block from 8 to 32 [206]Check is correct. [208]dma 0x29c9c int is not used yet [211]dma 0x29c9c int is free, you do not need to free it again [217]Entry_name = u-boot [224]Entry_name = optee [228]Entry_name = dtb [231]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-g2a1965a-dirty (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology [00.284]CPU: Allwinner Family [00.287]Model: sun8iw20 [00.289]DRAM: 128 MiB [00.292]Relocation Offset is: 04ec1000 [00.317]secure enable bit: 0 [00.320]smc_tee_inform_fdt failed with: -65526[00.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.330]gic: sec monitor mode [00.333]flash init start [00.335]workmode = 0,storage type = 0 device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x0fb00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.511]ubi0: attaching mtd4 [00.712]ubi0: scanning is finished [00.719]ubi0: attached mtd4 (name "sys", size 251 MiB) [00.724]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.730]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.736]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.742]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0 [00.748]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128 [00.755]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.762]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40 [00.771]sunxi flash init ok [00.774]line:703 init_clocks [00.777]drv_disp_init fdt get node offset faill: hdmi [00.786]unable to map hdmi registers [00.790]drv_disp_init finish [00.894]Loading Environment from SUNXI_FLASH... OK [00.914]boot_gui_init:start [00.917]set disp.dev2_output_type fail. using defval=0 drv_lcd_open_callback lcd open flow is NULL! LCD enable fail! [00.928]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 0 ms [00.947]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 3 ms (12.2 MiB/s) [00.958]Item0 (Map) magic is bad [00.961]out of usb burn from boot: not need burn key List file under ULI/factory ** Unrecognized filesystem type ** [00.982]update bootcmd [00.994]change working_fdt 0x44880e70 to 0x44860e70 [01.016]update dts Hit any key to stop autoboot: 0 [02.491]no vendor_boot partition is found Android's image name: t113-RtkDongle [02.508]Starting kernel ... no ATAGS support: can't continue
6.uboot更改 boot_partition为boot,启动后恢复正常~
7.尝试本地Upgrade_kernel,
[INFO ] : SWUPDATE running : Installing image kernel into volume /dev/ubi0_4(boot) [TRACE] : SWUPDATE running : [update_volume] : Updating UBI : kernel 4958208 [TRACE] : SWUPDATE running : [install_single_image] : Found installer for stream rootfs ubivol[ 125.837121] ubi0 error: get_exclusive: 2 users for volume 5 [ERROR] : SWUPDATE failed [0] ERROR handlers/ubivol_handler.c : update_volume : 205 : cannot start volume "/dev/ubi0_5" update [TRACE] : SWUPDATE running : [install_single_image] : Installer for ubivol not successful ! Software updated failed
全志OTA升级的过程实在是不熟悉,有没有大神普及下哇
-
t113-SpiNand SWUPDATE升级问题 Cannot get MTD information for /dev/by-name/env
fw_printenv Cannot get MTD information for /dev/by-name/env Cannot get MTD information for /dev/by-name/env-redund
swupdate Licensed under GPLv2. See source distribution for detailed copyright notices. Registered handlers: dummy awuboot awboot0 uboot bootloader raw rawfile rawcopy shellscript preinstall postinstall ubivol ubipartition ubiswap software set: stable mode: upgrade_recovery Connected to SWUpdate via /tmp/swupdateprog [ 452.952787] ubi1: attaching mtd0 [ 452.965748] ubi1: scanning is finished [ 452.969948] ubi1 error: ubi_read_volume_table: the layout volume was not found [ 452.992729] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd0, error -22 [ERROR][ 453.000834] ubi1: attaching mtd1 : SWUPDATE failed [0] ERROR : cannot attach mtd0 - maybe not a NAND or raw device [ 453.031724] ubi1: scanning is finished [ 453.035954] ubi1 error: ubi_read_volume_table: the layout volume was not found [ 453.052699] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd1, error -22 [ERROR][ 453.060766] ubi1: attaching mtd2 : SWUPDATE failed [0] ERROR : cannot attach mtd1 - maybe not a NAND or raw device [ 453.084966] ubi1: scanning is finished [ 453.112022] ubi1 error: ubi_eba_init: no enough physical eraseblocks (0, need 1) [ 453.132713] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd2, error -28 [ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd2 - maybe not a NAND or raw device Cannot get MTD information for /dev/by-name/env Cannot get MTD information for /dev/by-name/env-redund [ERROR] : SWUPDATE failed [0] ERROR : Error: environment not initialized, Not a tty [INFO ] : SWUPDATE running : Installing image recovery into volume /dev/ubi0_6(recovery) [ =========--------------------------------------------------- ] 2 o[ 457.145347] swupdate (636): drop_caches: 1 [ ============------------------------------------------------ ] 2 of 3 [ 457.174235] sunxi-spinand: uboot blk range [8-32) [ =============-----------------[ 457.182381] sunxi-spinand: download uboot to block 8 (10 blocks) len 1280K [ 457.703425] sunxi-spinand: download uboot to block 18 (10 blocks) len 1280Kuboot) [ ==========================================[ 458.208137] swupdate (636): drop_caches: 1 [ 458.243065] sunxi-spinand-phy: Failed to get sample mode [ 458.248994] sunxi-spinand-phy: Failed to get sample delay [ 458.262761] sunxi-spinand: download boot0 to block 0 len 48K [ 458.308482] sunxi-spinand: download boot0 to block 1 len 48K [ 458.356699] sunxi-spinand: download boot0 to block 2 len 48K [ 458.392232] sunxi-spinand: download boot0 to block 3 len 48K [ 458.432084] sunxi-spinand: download boot0 to block 4 len 48K [ 458.472135] sunxi-spinand: download boot0 to block 5 len 48K [ 458.518470] sunxi-spinand: download boot0 to block 6 len 48K [ 458.565733] sunxi-spinand: download boot0 to block 7 len 48K Cannot get MTD information for /dev/by-name/env Cannot get MTD information for /dev/by-name/env-redund Error: environment not initialized [ERROR] : SWUPDATE failed [0] ERROR : Bootloader-specific error -1 updating its environment Software updated failed [ ============================================================ ] 3 of 3 100% (boot0) FAILURE ! Cannot get MTD information for /dev/by-name/env Cannot get MTD information for /dev/by-name/env-redund [ERROR] : SWUPDATE failed [0] ERROR : Error: environment not initialized, Not a tty Connection closing.. Trying to connect to SWUpdate...
-
回复: Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
@yubeer 解决是,原因是Busybox-Makefile手动改过,编译时有问题,未生成init~
-
Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
用T113的TinaLinux之前SPINAND编译烧录,之前烧录+启动没有问题,整个工程clean后,重新编译烧录后,就报Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). 有没有遇到同样问题的,出出主意哇
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (Psk@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #164 SMP PREEMPT Mon Jan 6 07:05:23 UTC 2025 [ 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: WanZL T113-MultiRtkDongleTerminal [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 4 MiB at 0x47c00000 [ 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 s30412 r8192 d22836 u61440 [ 0.000000] pcpu-alloc: s30412 r8192 d22836 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: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500c00 clk_ignore_unused initcall_debug=0 console= ttyS3,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-re dund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:recovery@ubi0_6:private@ubi0_7:rootfs_data@ubi0_8:UDISK@ubi0_9: cma=4M snum= mac_addr= wifi_mac= bt_mac= s pecialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g2a1965a-dirty(07/10/2022-02:50 :57) disp_reserve=1536000,0x4491d000 aw-ubi-spinand.ubootblks=24 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: 104916K/131072K available (6144K kernel code, 337K rwdata, 1664K rodata, 1024K init, 1181K bss, 22060K reserved, 4096K cm a-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.008024] Switching to timer-based delay loop, resolution 41ns [ 0.014194] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023916] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034272] pid_max: default: 32768 minimum: 301 [ 0.039018] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046341] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054662] CPU: Testing write buffer coherency: ok [ 0.059875] /cpus/cpu@0 missing clock-frequency property [ 0.065200] /cpus/cpu@1 missing clock-frequency property [ 0.070548] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076710] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083357] rcu: Hierarchical SRCU implementation. [ 0.088543] smp: Bringing up secondary CPUs ... [ 0.094171] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094287] smp: Brought up 1 node, 2 CPUs [ 0.104106] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110300] CPU: All CPU(s) started in SVC mode. [ 0.115367] devtmpfs: initialized [ 0.129962] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.138098] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148183] pinctrl core: initialized pinctrl subsystem [ 0.154353] NET: Registered protocol family 16 [ 0.169678] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.194441] rtc_ccu: sunxi ccu init OK [ 0.200381] ccu: sunxi ccu init OK [ 0.204127] r_ccu: sunxi ccu init OK [ 0.236984] iommu: Default domain type: Translated [ 0.242077] sunxi iommu: irq = 24 [ 0.246124] SCSI subsystem initialized [ 0.250121] usbcore: registered new interface driver usbfs [ 0.255696] usbcore: registered new interface driver hub [ 0.261100] usbcore: registered new device driver usb [ 0.267356] pwm module init! [ 0.271399] G2D: rcq version initialized.major:252 [ 0.276890] clocksource: Switched to clocksource arch_sys_counter [ 0.291292] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.300367] NET: Registered protocol family 2 [ 0.305433] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.313859] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.321599] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.328689] TCP: Hash tables configured (established 1024 bind 1024) [ 0.335124] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.341706] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.348879] NET: Registered protocol family 1 [ 0.354197] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.364472] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.371194] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.377349] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.383693] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.390158] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.398566] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.404791] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 39 [ 0.414279] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.425615] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.431636] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.465115] io scheduler mq-deadline registered [ 0.469671] io scheduler kyber registered [ 0.474810] [DISP]disp_module_init [ 0.478622] [DISP]disp_module_init finish [ 0.483280] sunxi_sid_init()551 - insmod ok [ 0.488289] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.498462] uart uart2: get regulator failed [ 0.502747] uart uart2: uart2 supply uart not found, using dummy regulator [ 0.509877] uart2: ttyS2 at MMIO 0x2500800 (irq = 33, base_baud = 1500000) is a SUNXI [ 0.518267] sun8iw20-pinctrl 2000000.pinctrl: unknown pin P11 [ 0.524046] sun8iw20-pinctrl 2000000.pinctrl: unknown pin P11 [ 0.529968] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.540065] uart uart3: get regulator failed [ 0.544340] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.551494] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.559362] sw_console_setup()1829 - console setup baud 115200 parity n bits 8, flow n ▒[ 0.567355] printk: console [ttyS3] enabled [ 0.567355] printk: console [ttyS3] enabled [ 0.576260] printk: bootconsole [earlycon0] disabled [ 0.576260] printk: bootconsole [earlycon0] disabled [ 0.587600] uart uart4: get regulator failed [ 0.592375] uart uart4: uart4 supply uart not found, using dummy regulator [ 0.600347] uart4: ttyS4 at MMIO 0x2501000 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.609831] uart uart5: get regulator failed [ 0.614606] uart uart5: uart5 supply uart not found, using dummy regulator [ 0.622575] uart5: ttyS5 at MMIO 0x2501400 (irq = 36, base_baud = 1500000) is a SUNXI [ 0.632135] misc dump reg init [ 0.636369] dma-buf: Running sanitycheck [ 0.640778] dma-buf: Running dma_fence [ 0.644953] sizeof(dma_fence)=48 [ 0.648680] dma-buf: Running dma_fence/sanitycheck [ 0.654030] dma-buf: Running dma_fence/test_signaling [ 0.659679] dma-buf: Running dma_fence/test_add_callback [ 0.665624] dma-buf: Running dma_fence/test_late_add_callback [ 0.672067] dma-buf: Running dma_fence/test_rm_callback [ 0.677905] dma-buf: Running dma_fence/test_late_rm_callback [ 0.684239] dma-buf: Running dma_fence/test_status [ 0.689611] dma-buf: Running dma_fence/test_error [ 0.694874] dma-buf: Running dma_fence/test_wait [ 0.700067] dma-buf: Running dma_fence/test_wait_timeout [ 0.736901] dma-buf: Running dma_fence/test_stub [ 0.742086] dma-buf: Running dma_fence/race_signal_callback [ 0.816917] thread_signal_callback[0] completed 35455 passes, 1016 misses [ 0.824512] thread_signal_callback[1] completed 35454 passes, 1015 misses [ 0.896911] thread_signal_callback[0] completed 38395 passes, 38393 misses [ 0.904600] thread_signal_callback[1] completed 38390 passes, 38389 misses [ 0.912762] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 0.920033] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 0.927956] sunxi-spinand-phy: not detect any munufacture from id table [ 0.935363] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 0.942010] sunxi-spinand-phy: get phy info from fdt fail [ 0.948093] sunxi-spinand-phy: not detect munufacture from fdt [ 0.954740] sunxi-spinand-phy: detect munufacture from id table: GD [ 0.961753] sunxi-spinand-phy: detect spinand id: ffff92c8 ffffffff [ 0.968750] sunxi-spinand-phy: ========== arch info ========== [ 0.975250] sunxi-spinand-phy: Model: GD5F2GM7UEYJG [ 0.982052] sunxi-spinand-phy: Munufacture: GD [ 0.987809] sunxi-spinand-phy: DieCntPerChip: 1 [ 0.993437] sunxi-spinand-phy: BlkCntPerDie: 2048 [ 0.999366] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.005113] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.010756] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.016503] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.022336] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.028168] sunxi-spinand-phy: MaxEraseTimes: 50000 [ 1.034206] sunxi-spinand-phy: EccFlag: 0x1 [ 1.040039] sunxi-spinand-phy: EccType: 7 [ 1.045688] sunxi-spinand-phy: EccProtectedType: 2 [ 1.051325] sunxi-spinand-phy: ======================================== [ 1.058706] sunxi-spinand-phy: [ 1.062202] sunxi-spinand-phy: ========== physical info ========== [ 1.069126] sunxi-spinand-phy: TotalSize: 256 M [ 1.074483] sunxi-spinand-phy: SectorSize: 512 B [ 1.079850] sunxi-spinand-phy: PageSize: 2 K [ 1.084994] sunxi-spinand-phy: BlockSize: 128 K [ 1.090344] sunxi-spinand-phy: OOBSize: 64 B [ 1.095584] sunxi-spinand-phy: ======================================== [ 1.103000] sunxi-spinand-phy: [ 1.106496] sunxi-spinand-phy: ========== logical info ========== [ 1.113335] sunxi-spinand-phy: TotalSize: 256 M [ 1.118703] sunxi-spinand-phy: SectorSize: 512 B [ 1.124039] sunxi-spinand-phy: PageSize: 4 K [ 1.129193] sunxi-spinand-phy: BlockSize: 256 K [ 1.134551] sunxi-spinand-phy: OOBSize: 128 B [ 1.139916] sunxi-spinand-phy: ======================================== [ 1.147379] sunxi-spinand-phy: block lock register: 0x00 [ 1.153458] sunxi-spinand-phy: feature register: 0x11 [ 1.159137] sunxi-spinand-phy: sunxi physic nand init end [ 1.165585] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.171731] 0x000000000000-0x000000100000 : "boot0" [ 1.187748] 0x000000100000-0x000000400000 : "uboot" [ 1.207749] 0x000000400000-0x000000500000 : "secure_storage" [ 1.214358] sunxi-spinand-phy: phy blk 32 is bad [ 1.219749] random: fast init done [ 1.237724] 0x000000500000-0x000010000000 : "sys" [ 1.553010] random: crng init done [ 1.588178] libphy: Fixed MDIO Bus: probed [ 1.592801] usbcore: registered new interface driver asix [ 1.598937] usbcore: registered new interface driver ax88179_178a [ 1.605762] usbcore: registered new interface driver cdc_ether [ 1.612338] usbcore: registered new interface driver cdc_eem [ 1.618725] usbcore: registered new interface driver rndis_host [ 1.625379] usbcore: registered new interface driver cdc_subset [ 1.632055] usbcore: registered new interface driver kalmia [ 1.638338] usbcore: registered new interface driver ipheth [ 1.644585] usbcore: registered new interface driver sierra_net [ 1.651266] usbcore: registered new interface driver cdc_ncm [ 1.657641] usbcore: registered new interface driver huawei_cdc_ncm [ 1.664683] usbcore: registered new interface driver qmi_wwan [ 1.671164] usbcore: registered new interface driver cdc_mbim [ 1.677639] usbcore: registered new interface driver ch9200 [ 1.683874] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.691192] ehci-platform: EHCI generic platform driver [ 1.697233] sunxi-ehci: EHCI SUNXI driver [ 1.701883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.708815] sunxi-ohci: OHCI SUNXI driver [ 1.713529] usbcore: registered new interface driver cdc_acm [ 1.719883] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.728864] usbcore: registered new interface driver cdc_wdm [ 1.735414] usbcore: registered new interface driver uas [ 1.741446] usbcore: registered new interface driver usb-storage [ 1.748213] usbcore: registered new interface driver ums-alauda [ 1.754863] usbcore: registered new interface driver ums-cypress [ 1.761627] usbcore: registered new interface driver ums-datafab [ 1.768390] usbcore: registered new interface driver ums_eneub6250 [ 1.775332] usbcore: registered new interface driver ums-freecom [ 1.782096] usbcore: registered new interface driver ums-isd200 [ 1.788771] usbcore: registered new interface driver ums-jumpshot [ 1.795616] usbcore: registered new interface driver ums-karma [ 1.802185] usbcore: registered new interface driver ums-onetouch [ 1.809059] usbcore: registered new interface driver ums-realtek [ 1.815807] usbcore: registered new interface driver ums-sddr09 [ 1.822447] usbcore: registered new interface driver ums-sddr55 [ 1.829088] usbcore: registered new interface driver ums-usbat [ 1.835696] usbcore: registered new interface driver option [ 1.842001] usbserial: USB Serial support registered for GSM modem (1-port) [ 1.850307] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 1.856985] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1 [ 1.865106] vhci_hcd: created sysfs vhci_hcd.0 [ 1.870872] hub 1-0:1.0: USB hub found [ 1.875089] hub 1-0:1.0: 8 ports detected [ 1.880625] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 1.887287] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2 [ 1.895421] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.905152] hub 2-0:1.0: USB hub found [ 1.909416] hub 2-0:1.0: 8 ports detected [ 1.915157] usbcore: registered new device driver usbip-host [ 1.922002] i2c /dev entries driver [ 1.925986] sunxi cedar version 1.1 [ 1.930108] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.936374] VE: sunxi_cedar_probe power-domain init!!! [ 1.942144] VE: install start!!! [ 1.942144] [ 1.947639] VE: cedar-ve the get irq is 40 [ 1.947639] [ 1.954038] VE: ve_debug_proc_info:fcd91e76, data:9a9af3f9, lock:8f929a80 [ 1.954038] [ 1.963335] VE: install end!!! [ 1.963335] [ 1.968398] VE: sunxi_cedar_probe [ 1.972982] exFAT: Version 1.3.0 [ 1.978355] xt_time: kernel timezone is -0000 [ 1.983445] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.990148] gre: GRE over IPv4 demultiplexor driver [ 1.995610] ip_gre: GRE over IPv4 tunneling driver [ 2.002748] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 2.010444] NET: Registered protocol family 10 [ 2.016813] Segment Routing with IPv6 [ 2.021328] NET: Registered protocol family 17 [ 2.026339] NET: Registered protocol family 15 [ 2.031823] Registering SWP/SWPB emulation handler [ 2.051656] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 2.063469] get ehci1-controller wakeup-source is fail. [ 2.069448] sunxi ehci1-controller don't init wakeup source [ 2.075691] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b70740, 0x:c882d000, irq_no:2d [ 2.087923] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.101294] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.108535] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 3 [ 2.118464] sunxi-ehci 4200000.ehci1-controller: irq 45, io mem 0x04200000 [ 2.146921] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.154724] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect [ 2.163720] hub 3-0:1.0: USB hub found [ 2.167979] hub 3-0:1.0: 1 port detected [ 2.173081] get ohci1-controller wakeup-source is fail. [ 2.179080] sunxi ohci1-controller don't init wakeup source [ 2.185298] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b709d0 [ 2.195163] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.207422] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.214660] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 4 [ 2.224562] sunxi-ohci 4200400.ohci1-controller: irq 46, io mem 0x04200400 [ 2.301663] hub 4-0:1.0: USB hub found [ 2.305881] hub 4-0:1.0: 1 port detected [ 2.311149] ubi0: attaching mtd3 [ 2.536918] usb 3-1: new high-speed USB device number 2 using sunxi-ehci [ 2.758702] cdc_ncm 3-1:1.0: MAC-Address: 00:1e:10:1f:00:00 [ 2.764948] cdc_ncm 3-1:1.0: setting rx_max = 16384 [ 2.771740] cdc_ncm 3-1:1.0 wwan0: register 'cdc_ncm' at usb-sunxi-ehci-1, Mobile Broadband Network Device, 00:1e:10:1f:00:00 [ 2.785013] option 3-1:1.1: GSM modem (1-port) converter detected [ 2.792236] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0 [ 2.800659] option 3-1:1.2: GSM modem (1-port) converter detected [ 2.807869] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 2.816252] option 3-1:1.3: GSM modem (1-port) converter detected [ 2.823482] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2 [ 2.831902] option 3-1:1.4: GSM modem (1-port) converter detected [ 2.839121] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 2.861417] ubi0: scanning is finished [ 2.875638] ubi0: attached mtd3 (name "sys", size 251 MiB) [ 2.881828] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 2.889507] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 2.897089] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.904850] ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0 [ 2.911669] ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128 [ 2.919862] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 2.929221] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40 [ 2.939627] ubi0: background thread "ubi_bgt0d" started, PID 71 [ 2.947407] block ubiblock0_5: created from ubi0:5(rootfs) [ 2.956032] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.965751] cfg80211: failed to load regulatory.db [ 2.965764] clk: Not disabling unused clocks [ 2.979351] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.989029] devtmpfs: mounted [ 2.994234] Freeing unused kernel memory: 1024K [ 3.037033] Run /pseudo_init as init process [ 3.066348] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). [ 3.075201] CPU1: stopping [ 3.078233] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #164 [ 3.085050] Hardware name: Generic DT based system [ 3.090413] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14) [ 3.099054] [<c010a678>] (show_stack) from [<c0692d70>] (dump_stack+0x88/0xa4) [ 3.107113] [<c0692d70>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180) [ 3.115268] [<c010c2b4>] (handle_IPI) from [<c033fc14>] (gic_handle_irq+0x70/0x78) [ 3.123747] [<c033fc14>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.132088] Exception stack(0xc745df80 to 0xc745dfc8) [ 3.137723] df80: 000104c0 c7ac8374 00000000 c0114800 00000002 c745c000 c0a05224 c0a05260 [ 3.146844] dfa0: 4000406a 410fc075 00000000 00000000 00000000 c745dfd0 c0107fb0 c0107fa0 [ 3.155961] dfc0: 60000013 ffffffff [ 3.159854] [<c01021cc>] (__irq_svc) from [<c0107fa0>] (arch_cpu_idle+0x1c/0x38) [ 3.168106] [<c0107fa0>] (arch_cpu_idle) from [<c013d564>] (do_idle+0xd4/0x128) [ 3.176260] [<c013d564>] (do_idle) from [<c013d848>] (cpu_startup_entry+0x18/0x20) [ 3.184702] [<c013d848>] (cpu_startup_entry) from [<40102bac>] (0x40102bac) [ 3.192480] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). ]---
-
回复: 系统突然起不来了
@whycan 晕哥我也遇到类似的问题了,检查了root.squash里面有/ pesduo_init文件。之前编译都是没问题的,存储用的GD SPINAND,编译OTA包总是出问题,make distclean后,再编译就有这个问题了。怎么查找问题,解决呀~
2.947099] ubi0: scanning is finished [ 2.961308] ubi0: attached mtd3 (name "sys", size 251 MiB) [ 2.967483] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 2.975148] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 2.982759] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.990532] ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0 [ 2.997338] ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128 [ 3.005488] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 3.014812] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40 [ 3.025216] ubi0: background thread "ubi_bgt0d" started, PID 71 [ 3.032999] block ubiblock0_5: created from ubi0:5(rootfs) [ 3.041649] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.051330] cfg80211: failed to load regulatory.db [ 3.051344] clk: Not disabling unused clocks [ 3.064495] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 3.074573] devtmpfs: mounted [ 3.079868] Freeing unused kernel memory: 1024K [ 3.106684] Run /pseudo_init as init process [ 3.138822] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). [ 3.147709] CPU1: stopping [ 3.150729] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #188 [ 3.157546] Hardware name: Generic DT based system [ 3.162909] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14) [ 3.171551] [<c010a678>] (show_stack) from [<c0694810>] (dump_stack+0x88/0xa4) [ 3.179641] [<c0694810>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180) [ 3.187828] [<c010c2b4>] (handle_IPI) from [<c0341b18>] (gic_handle_irq+0x70/0x78) [ 3.196274] [<c0341b18>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.204648] Exception stack(0xc745df80 to 0xc745dfc8) [ 3.210283] df80: 00013a20 c7ac8374 00000000 c0114800 00000002
-
回复: tina-d1-sdk从头编译D1s nezha 无法启动进入shell ,提示pseudo_init failed (error -2).
@steveliu 怎么处理的?我整个工程clean,重新编译还是一样的问题哇
[ 3.106684] Run /pseudo_init as init process [ 3.138822] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). [ 3.147709] CPU1: stopping [ 3.150729] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #188 [ 3.157546] Hardware name: Generic DT based system [ 3.162909] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14) [ 3.171551] [<c010a678>] (show_stack) from [<c0694810>] (dump_stack+0x88/0xa4) [ 3.179641] [<c0694810>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180) [ 3.187828] [<c010c2b4>] (handle_IPI) from [<c0341b18>] (gic_handle_irq+0x70/0x78) [ 3.196274] [<c0341b18>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.204648] Exception stack(0xc745df80 to 0xc745dfc8) [ 3.210283] df80: 00013a20 c7ac8374 00000000 c0114800 00000002 c745c000 c0a05224 c0a05260 [ 3.219404] dfa0: 4000406a 410fc075 00000000 00000000 00000000 c745dfd0 c0107fb0 c0107fa0 [ 3.228521] dfc0: 60000013 ffffffff [ 3.232414] [<c01021cc>] (__irq_svc) from [<c0107fa0>] (arch_cpu_idle+0x1c/0x38) [ 3.240667] [<c0107fa0>] (arch_cpu_idle) from [<c013d564>] (do_idle+0xd4/0x128) [ 3.248852] [<c013d564>] (do_idle) from [<c013d848>] (cpu_startup_entry+0x18/0x20) [ 3.257295] [<c013d848>] (cpu_startup_entry) from [<40102bac>] (0x40102bac) [ 3.265066] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). ]---