用本贴另一朋友提供的配置OK了。
zhangheyang 发布的帖子
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
Android's image name: t113-mq [04.332]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (easyboard@V3S) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #56 SMP PREEMPT Wed Apr 20 14:13:16 UTC 2022 [ 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 16 MiB at 0x47000000 [ 0.000000] On node 0 totalpages: 32512 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32512 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 s30796 r8192 d22452 u61440 [ 0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32256 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:UDISK@ubi0_6: cma=16M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05(04/02/2022-06:28:13) mbr_offset=1032192 disp_reserve=1536000,0x46ae8000 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: 97764K/130048K available (7168K kernel code, 347K rwdata, 1876K rodata, 1024K init, 174K bss, 15900K reserved, 16384K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x254/0x3d8 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.014192] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023963] Console: colour dummy device 80x30 [ 0.028452] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.038825] pid_max: default: 32768 minimum: 301 [ 0.043565] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.050903] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.059280] CPU: Testing write buffer coherency: ok [ 0.064538] /cpus/cpu@0 missing clock-frequency property [ 0.069868] /cpus/cpu@1 missing clock-frequency property [ 0.075214] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.081472] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.088165] rcu: Hierarchical SRCU implementation. [ 0.093440] smp: Bringing up secondary CPUs ... [ 0.099214] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.099372] smp: Brought up 1 node, 2 CPUs [ 0.109184] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.115381] CPU: All CPU(s) started in SVC mode. [ 0.120545] devtmpfs: initialized [ 0.136651] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.144844] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.154717] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.162305] pinctrl core: initialized pinctrl subsystem [ 0.168973] NET: Registered protocol family 16 [ 0.175231] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.223763] rtc_ccu: sunxi ccu init OK [ 0.229765] ccu: sunxi ccu init OK [ 0.233730] r_ccu: sunxi ccu init OK [ 0.292935] iommu: Default domain type: Translated [ 0.298754] sunxi iommu: irq = 24 [ 0.303268] SCSI subsystem initialized [ 0.307373] usbcore: registered new interface driver usbfs [ 0.313639] usbcore: registered new interface driver hub [ 0.319109] usbcore: registered new device driver usb [ 0.324356] mc: Linux media interface: v0.10 [ 0.328733] videodev: Linux video capture interface: v2.00 [ 0.335943] sunxi-msgbox-amp 3003000.msgbox: invalid resource [ 0.342826] Advanced Linux Sound Architecture Driver Initialized. [ 0.349736] Bluetooth: Core ver 2.22 [ 0.353386] NET: Registered protocol family 31 [ 0.357826] Bluetooth: HCI device and connection manager initialized [ 0.364459] Bluetooth: HCI socket layer initialized [ 0.369350] Bluetooth: L2CAP socket layer initialized [ 0.374537] Bluetooth: SCO socket layer initialized [ 0.379776] pwm module init! [ 0.384087] ths test int keyboard for ONE_CHANNEL [ 0.389143] input: sunxi-keyboard as /devices/virtual/input/input0 [ 0.396865] clocksource: Switched to clocksource arch_sys_counter [ 0.412595] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 0.432830] thermal_sys: Registered thermal governor 'user_space' [ 0.432837] thermal_sys: Registered thermal governor 'power_allocator' [ 0.439567] NET: Registered protocol family 2 [ 0.451074] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.459476] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.467176] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.474237] TCP: Hash tables configured (established 1024 bind 1024) [ 0.480709] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.487289] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.494444] NET: Registered protocol family 1 [ 0.500245] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator [ 0.508554] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.515295] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.521510] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.527911] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.534362] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.542780] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.549293] spi spi0: chipselect 0 already in use [ 0.554004] spi_master spi0: spi_device register error /soc@3000000/spi@4025000/spi_board@0 [ 0.562399] spi_master spi0: Failed to create SPI device for /soc@3000000/spi@4025000/spi_board@0 [ 0.571374] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8827000, irq 41 [ 0.581448] Initialise system trusted keyrings [ 0.586120] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.601130] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.636507] Key type asymmetric registered [ 0.640662] Asymmetric key parser 'x509' registered [ 0.645568] io scheduler mq-deadline registered [ 0.650260] io scheduler kyber registered [ 0.654396] atomic64_test: passed [ 0.659511] [DISP]disp_module_init [ 0.663557] disp 5000000.disp: Adding to iommu group 0 [ 0.669553] [DISP] disp_init,line:2329: [ 0.669560] smooth display screen:0 type:1 mode:4 [ 0.694681] display_fb_request,fb_id:0 [ 0.703826] Freeing logo buffer memory: 1500K [ 0.708816] disp_al_manager_apply ouput_type:1 [ 0.713547] [DISP] lcd_clk_config,line:731: [ 0.713558] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000) [ 0.713558] clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0) [ 0.717475] [DISP]disp_module_init finish [ 0.718182] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 0.735335] sunxi_sid_init()551 - insmod ok [ 0.750523] pwm-regulator: supplied by regulator-dummy [ 0.758091] uart uart0: get regulator failed [ 0.762379] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.769638] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.777549] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n [ 0.785531] printk: console [ttyS0] enabled [ 0.785531] printk: console [ttyS0] enabled [ 0.794405] printk: bootconsole [earlycon0] disabled [ 0.794405] printk: bootconsole [earlycon0] disabled [ 0.805707] uart uart2: get regulator failed [ 0.810575] uart uart2: uart2 supply uart not found, using dummy regulator [ 0.818644] uart2: ttyS2 at MMIO 0x2500800 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.828098] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator [ 0.837149] uart uart3: get regulator failed [ 0.841951] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.849950] uart3: ttyS3 at MMIO 0x2500c00 (irq = 36, base_baud = 1500000) is a SUNXI [ 0.859820] misc dump reg init [ 0.865042] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.872299] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.879631] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.887029] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.893542] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.900462] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 0.908167] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 0.915975] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 0.924067] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 0.931752] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 0.938505] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 0.946017] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 0.955303] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 0.962560] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 0.970475] sunxi-spinand-phy: not detect any munufacture from id table [ 0.977888] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 0.984486] sunxi-spinand-phy: get phy info from fdt fail [ 0.990567] sunxi-spinand-phy: not detect munufacture from fdt [ 0.997274] sunxi-spinand-phy: detect munufacture from id table: Mxic [ 1.004467] sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff [ 1.011468] sunxi-spinand-phy: ========== arch info ========== [ 1.017987] sunxi-spinand-phy: Model: MX35LF1GE4AB [ 1.024681] sunxi-spinand-phy: Munufacture: Mxic [ 1.030615] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.036242] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.042176] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.047910] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.053544] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.059278] sunxi-spinand-phy: BadBlockFlag: 0x1 [ 1.065099] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.070942] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.076968] sunxi-spinand-phy: EccFlag: 0x2 [ 1.082796] sunxi-spinand-phy: EccType: 4 [ 1.088433] sunxi-spinand-phy: EccProtectedType: 3 [ 1.094067] sunxi-spinand-phy: ======================================== [ 1.101446] sunxi-spinand-phy: [ 1.104942] sunxi-spinand-phy: ========== physical info ========== [ 1.111845] sunxi-spinand-phy: TotalSize: 128 M [ 1.117196] sunxi-spinand-phy: SectorSize: 512 B [ 1.122540] sunxi-spinand-phy: PageSize: 2 K [ 1.127701] sunxi-spinand-phy: BlockSize: 128 K [ 1.133067] sunxi-spinand-phy: OOBSize: 64 B [ 1.138320] sunxi-spinand-phy: ======================================== [ 1.145689] sunxi-spinand-phy: [ 1.149202] sunxi-spinand-phy: ========== logical info ========== [ 1.155991] sunxi-spinand-phy: TotalSize: 128 M [ 1.161345] sunxi-spinand-phy: SectorSize: 512 B [ 1.166681] sunxi-spinand-phy: PageSize: 4 K [ 1.171840] sunxi-spinand-phy: BlockSize: 256 K [ 1.177195] sunxi-spinand-phy: OOBSize: 128 B [ 1.182531] sunxi-spinand-phy: ======================================== [ 1.190066] sunxi-spinand-phy: block lock register: 0x00 [ 1.196111] sunxi-spinand-phy: feature register: 0x11 [ 1.201784] sunxi-spinand-phy: sunxi physic nand init end [ 1.208295] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.214438] 0x000000000000-0x000000100000 : "boot0" [ 1.228007] 0x000000100000-0x000000400000 : "uboot" [ 1.236121] random: fast init done [ 1.242482] sunxi-spinand-phy: phy blk 20 is bad [ 1.257988] 0x000000400000-0x000000500000 : "secure_storage" [ 1.277995] 0x000000500000-0x000008000000 : "sys" [ 1.394674] sunxi-spinand-phy: phy blk 327 is bad [ 1.626848] random: crng init done [ 1.670583] libphy: Fixed MDIO Bus: probed [ 1.675948] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.683280] sunxi-ehci: EHCI SUNXI driver [ 1.688224] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.695141] sunxi-ohci: OHCI SUNXI driver [ 1.700306] usbcore: registered new interface driver uas [ 1.706314] usbcore: registered new interface driver usb-storage [ 1.713136] usbcore: registered new interface driver ums-alauda [ 1.719830] usbcore: registered new interface driver ums-cypress [ 1.726618] usbcore: registered new interface driver ums-datafab [ 1.733394] usbcore: registered new interface driver ums_eneub6250 [ 1.740378] usbcore: registered new interface driver ums-freecom [ 1.747151] usbcore: registered new interface driver ums-isd200 [ 1.753821] usbcore: registered new interface driver ums-jumpshot [ 1.760690] usbcore: registered new interface driver ums-karma [ 1.767283] usbcore: registered new interface driver ums-onetouch [ 1.774145] usbcore: registered new interface driver ums-realtek [ 1.780944] usbcore: registered new interface driver ums-sddr09 [ 1.787624] usbcore: registered new interface driver ums-sddr55 [ 1.794306] usbcore: registered new interface driver ums-usbat [ 1.800892] usbcore: registered new interface driver idmouse [ 1.808067] sunxi_gpadc_init,2113, success [ 1.812961] sunxi_gpadc_setup: get channel scan data failed [ 1.819529] input: sunxi-gpadc0 as /devices/virtual/input/input1 [ 1.828691] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.834486] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:36:05 UTC (2165) [ 1.843677] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.849611] i2c /dev entries driver [ 1.853631] IR NEC protocol handler initialized [ 1.859163] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 1.868145] sunxi_ir_startup: get ir protocol failed [ 1.868164] (NULL device *): deviceless supply not found, using dummy regulator [ 1.882079] Registered IR keymap rc_map_sunxi [ 1.887133] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0 [ 1.895814] rc rc0: lirc_dev: driver sunxi-rc-recv registered at minor = 0, raw IR receiver, no transmitter [ 1.906955] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx [ 1.917309] sunxi cedar version 1.1 [ 1.921397] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.927715] VE: sunxi_cedar_probe power-domain init!!! [ 1.933450] VE: install start!!! [ 1.933450] [ 1.939042] VE: cedar-ve the get irq is 42 [ 1.939042] [ 1.945475] VE: ve_debug_proc_info:ba1192bf, data:ff169ed6, lock:ab012c41 [ 1.945475] [ 1.954738] VE: install end!!! [ 1.954738] [ 1.959803] VE: sunxi_cedar_probe [ 1.965091] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.974260] Bluetooth: HCI UART driver ver 2.3 [ 1.979297] Bluetooth: HCI UART protocol H4 registered [ 1.985025] Bluetooth: HCI UART protocol BCSP registered [ 1.990960] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.998187] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.004537] Bluetooth: get gpio bt_hostwake failed [ 2.009938] sunxi-btlpm: probe of soc@3000000:btlpm@0 failed with error -22 [ 2.019802] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.20 2021-05-12 11:02) [ 2.029733] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.035929] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.042256] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.048684] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.055090] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.061610] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.068124] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.074633] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.081174] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.090742] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.101893] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.122011] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.146208] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.153868] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !! [ 2.161542] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !! [ 2.161691] usbcore: registered new interface driver usbhid [ 2.168439] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.174666] usbhid: USB HID core driver [ 2.189380] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.190494] exFAT: Version 1.3.0 [ 2.204209] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !! [ 2.207905] usbcore: registered new interface driver snd-usb-audio [ 2.213403] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !! [ 2.221100] [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 [ 2.221100] [ 2.227199] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !! [ 2.243035] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.250491] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !! [ 2.261040] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.267333] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.276468] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.296269] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.303427] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.314503] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input3 [ 2.326584] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.334891] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: register device finished! [ 2.343418] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.346887] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: [rpaf_dsp0] probe finished! [ 2.359691] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.1.257: id:sunxi,dsp-msgbox new channel: 0x1 -> 0x101! [ 2.370871] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.1.257: rpmsg hifi[0] client driver is probed [ 2.382857] NET: Registered protocol family 10 [ 2.388986] Segment Routing with IPv6 [ 2.393192] NET: Registered protocol family 17 [ 2.398387] Bluetooth: RFCOMM TTY layer initialized [ 2.403836] Bluetooth: RFCOMM socket layer initialized [ 2.409673] Bluetooth: RFCOMM ver 1.11 [ 2.413883] 8021q: 802.1Q VLAN Support v1.8 [ 2.419417] Registering SWP/SWPB emulation handler [ 2.425143] Loading compiled-in X.509 certificates [ 2.430887] fs-verity: Initialized fs-verity [ 2.455603] twi twi3: twi3 supply twi not found, using dummy regulator [ 2.463877] sunxi_i2c_probe()2266 - [i2c3] probe success [ 2.508221] get ehci0-controller wakeup-source is fail. [ 2.514139] sunxi ehci0-controller don't init wakeup source [ 2.520469] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c775b0, 0x:c9437000, irq_no:3b [ 2.532406] [sunxi-ehci0]: Not init ehci0 [ 2.537296] get ohci0-controller wakeup-source is fail. [ 2.543210] sunxi ohci0-controller don't init wakeup source [ 2.549460] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c77840 [ 2.559052] [sunxi-ohci0]: Not init ohci0 [ 2.563897] get ehci1-controller wakeup-source is fail. [ 2.569828] sunxi ehci1-controller don't init wakeup source [ 2.576047] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c77ad0, 0x:c9441000, irq_no:3d [ 2.588227] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.601592] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.608811] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.618689] sunxi-ehci 4200000.ehci1-controller: irq 61, io mem 0x04200000 [ 2.646888] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.655537] hub 1-0:1.0: USB hub found [ 2.659771] hub 1-0:1.0: 1 port detected [ 2.665037] get ohci1-controller wakeup-source is fail. [ 2.670993] sunxi ohci1-controller don't init wakeup source [ 2.677211] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c77d60 [ 2.687068] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.699317] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.706533] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.716389] sunxi-ohci 4200400.ohci1-controller: irq 62, io mem 0x04200400 [ 2.791758] hub 2-0:1.0: USB hub found [ 2.795972] hub 2-0:1.0: 1 port detected [ 2.802328] ubi0: attaching mtd3 [ 3.110128] ubi0: scanning is finished [ 3.124941] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 3.131068] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.138722] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.146271] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.154020] ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0 [ 3.160701] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 3.168734] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 3.178028] ubi0: available PEBs: 0, total reserved PEBs: 491, PEBs reserved for bad PEB handling: 19 [ 3.188297] ubi0: background thread "ubi_bgt0d" started, PID 1090 [ 3.196335] block ubiblock0_5: created from ubi0:5(rootfs) [ 3.203022] sun8iw20-pinctrl pio: pin PB6 already requested by 2502c00.twi; cannot claim for pio:38 [ 3.213122] sun8iw20-pinctrl pio: pin-38 (pio:38) status -22 [ 3.219428] ERR: id gpio_request failed [ 3.225974] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.237180] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.244464] clk: Not disabling unused clocks [ 3.249354] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.256903] ALSA device list: [ 3.258991] cfg80211: failed to load regulatory.db [ 3.262216] #0: audiocodec [ 3.270779] alloc_fd: slot 0 not NULL! [ 3.278794] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 3.288980] devtmpfs: mounted [ 3.293971] Freeing unused kernel memory: 1024K [ 3.357022] Run /sbin/init as init process [ 3.641317] init: Console is alive [ 3.645360] init: - watchdog - [ 3.648929] init: - preinit - formating /dev/by-name/UDISK to ubifs [ 4.383840] mount_root: mounting /dev/root [ 4.390819] mount_root: loading kmods from internal overlay [ 4.549523] block: attempting to load /etc/config/fstab [ 4.576707] UBIFS (ubi0:6): Mounting in unauthenticated mode [ 4.583179] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 1138 [ 4.757621] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "UDISK" [ 4.765762] UBIFS (ubi0:6): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 4.776833] UBIFS (ubi0:6): FS size: 5677056 bytes (5 MiB, 22 LEBs), journal size 2322433 bytes (2 MiB, 8 LEBs) [ 4.788062] UBIFS (ubi0:6): reserved for root: 0 bytes (0 KiB) [ 4.794547] UBIFS (ubi0:6): media format: w4/r0 (latest is w5/r0), UUID 6321B968-F554-4428-85F7-D97329C4D0DF, small LPT model [ 4.814242] mount_root: switched to extroot [ 4.824725] procd: - early - [ 4.828126] procd: - watchdog - [ 4.994428] procd: - watchdog - [ 4.998260] procd: - ubus - [ 5.001916] procd (1): /proc/1280/oom_adj is deprecated, please use /proc/1280/oom_score_adj instead. [ 5.157847] procd: - init - Please press Enter to activate this console. [ 5.434589] fuse: init (API version 7.31) [ 6.215511] file system registered [ 6.306083] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 6.583572] read descriptors [ 6.586898] read strings [ 6.618361] RTW: module init start [ 6.622153] RTW: rtl8723ds v5.10.1-33-g2b795d825.20210322_beta [ 6.628883] RTW: build time: Apr 18 2022 15:04:14 [ 6.634112] RTW: rtl8723ds BT-Coex version = COEX20200103-3535 [ 6.650798] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 6.807915] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 6.814118] RTW: ----- platform_wifi_power_on sdc_id: 1 [ 6.826940] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.838062] RTW: rtw_inetaddr_notifier_register [ 6.843448] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 6.851098] RTW: module init ret=0 [ 6.868215] xt_time: kernel timezone is -0000 [ 6.873112] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B kmodloader done [ 6.911722] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.935321] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.963473] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 6.996973] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.027059] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.047160] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 7.078015] mmc0: new high speed SDIO card at address 0001 Trying to connect to SWUpdate...
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@wxgd2017
仅改文件系统可能不行。。。
target\allwinner
device\config
能否压缩分享一下。。。 -
回复: T113 tina 使用spi nand flash启动报Kernel panic
@wxgd2017
make menuconfig改成squashfs,同时禁用ext4,
用哥柯的env配置报Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -62.254331] /dev/root: Can't open blockdev [ 2.259034] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -6 [ 2.267980] Please append a correct "root=" boot option; here are the available partitions: [ 2.277364] 1f00 131072 mtdblock0 [ 2.277367] (driver?) [ 2.284704] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.293968] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #7 [ 2.300598] Hardware name: Generic DT based system [ 2.305986] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 2.314672] [<c010a870>] (show_stack) from [<c0739040>] (dump_stack+0x7c/0x98) [ 2.322772] [<c0739040>] (dump_stack) from [<c011956c>] (panic+0x104/0x3d8) [ 2.330580] [<c011956c>] (panic) from [<c0b01270>] (mount_block_root+0x254/0x2fc) [ 2.338970] [<c0b01270>] (mount_block_root) from [<c0b014d0>] (prepare_namespace+0x138/0x178) [ 2.348528] [<c0b014d0>] (prepare_namespace) from [<c074d540>] (kernel_init+0x8/0x10c) [ 2.357405] [<c074d540>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 2.365885] Exception stack(0xc7825fb0 to 0xc7825ff8) [ 2.371545] 5fa0: 00000000 00000000 00000000 00000000 [ 2.380711] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 2.389876] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 2.397296] CPU0: stopping [ 2.400330] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.61 #7 [ 2.406960] Hardware name: Generic DT based system [ 2.412334] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 2.421015] [<c010a870>] (show_stack) from [<c0739040>] (dump_stack+0x7c/0x98) [ 2.429112] [<c0739040>] (dump_stack) from [<c010c648>] (handle_IPI+0xcc/0x168) [ 2.437307] [<c010c648>] (handle_IPI) from [<c02faefc>] (gic_handle_irq+0x70/0x78) [ 2.445793] [<c02faefc>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 2.454176] Exception stack(0xc0c01f40 to 0xc0c01f88) [ 2.459838] 1f40: 00000eb8 c7ebd4f4 00000000 c0114b40 00000001 c0c00000 c0c04e28 c0c04e64 [ 2.469005] 1f60: c0c58000 c7ffc580 c0b2d0c0 00000000 c0c627d0 c0c01f90 c0107f94 c0107f84 [ 2.478168] 1f80: 60000013 ffffffff [ 2.482078] [<c01021cc>] (__irq_svc) from [<c0107f84>] (arch_cpu_idle+0x1c/0x38) [ 2.490371] [<c0107f84>] (arch_cpu_idle) from [<c013de94>] (do_idle+0xd0/0x120) [ 2.498565] [<c013de94>] (do_idle) from [<c013e180>] (cpu_startup_entry+0x18/0x20) [ 2.507051] [<c013e180>] (cpu_startup_entry) from [<c0b00c64>] (start_kernel+0x348/0x3d8) [ 2.516218] [<c0b00c64>] (start_kernel) from [<00000000>] (0x0) [ 2.522863] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
直接用哥哥固件,一直卡在Trying to connect to SWUpdate...
这可能是另一个问题。[ 6.595399] RTW: rtl8723ds v5.10.1-33-g2b795d825.20210322_beta [ 6.608510] read descriptors [ 6.610150] RTW: build time: Apr 18 2022 15:04:14 [ 6.611772] read strings [ 6.626566] RTW: rtl8723ds BT-Coex version = COEX20200103-3535 [ 6.651471] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 6.785367] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 6.792178] RTW: ----- platform_wifi_power_on sdc_id: 1 [ 6.798153] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.809293] RTW: rtw_inetaddr_notifier_register [ 6.815290] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 6.822907] RTW: module init ret=0 [ 6.840863] xt_time: kernel timezone is -0000 [ 6.845755] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B kmodloader done [ 6.885300] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.913103] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.927418] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 6.959002] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 6.971833] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 6.983700] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 6.997286] mmc0: new high speed SDIO card at address 0001 Trying to connect to SWUpdate...
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@yuzukitsuru
好像不是,我不记得改了哪些,原来也到了与楼主一样的哪一步。
后来又不记得改了哪些,回不去了。
重新下载,只改文件系统,不行,烧不进去的。 -
回复: T113 tina 使用spi nand flash启动报Kernel panic
还改了哪些配置呢?对着TINA手册上的哪些不行。
要取消UBI吗?有些选项与手册上对不上。 -
回复: T113 TINA使用Nor Flash报错
pri显示的结果为:
baudrate=115200
bootcmd=run distro_bootcmd
bootdelay=2
fdtcontroladdr=46b19e70
force_normal_boot=1
partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6Environment size: 230/131068 bytes
=>
baudrate=115200
bootcmd=run distro_bootcmd
bootdelay=2
fdtcontroladdr=46b19e70
force_normal_boot=1
partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6Environment size: 230/131068 bytes
=> -
T113 TINA使用Nor Flash报错
T113使用TINA,想切换成Nor Flash。
修改 BoardConfig.mk
LICHEE_BRANDY_DEFCONF:=sun8iw20p1_nor_defconfig
按手册上进行修改,能烧进去系统。
启动时uboot报错,屏幕上已显示启动画面。
T113的配置只有SD卡的,求一个Spi NorFlash的配置U-Boot 2018.05 (Apr 02 2022 - 06:28:13 +0000) Allwinner Technology ....... 54 bytes read in 0 ms [00.289]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 7 ms (5.2 MiB/s) [00.308]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment *** Warning - no device, using default environment Failed (-5) [00.344]update part info [00.347]update bootcmd [00.349]change working_fdt 0x46b19e70 to 0x46af9e70 disable nand error: FDT_ERR_NOTFOUND [00.372]update dts Hit any key to stop autoboot: 2 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.468]LCD open finish 0 ## Error: "distro_bootcmd" not defined
停在这个画面