导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113-S3 Tina_linux编译后启动失败

    MR Series
    2
    6
    2296
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      cwj1986521 LV 5 最后由 编辑

      T113 -S3 新编译后下载到板子启动失败```
      code_text

      [31]BOOT0 commit : adaf1174cc
      [34]set pll start
      [40]periph0 has been enabled
      [43]set pll end
      [44][pmu]: bus read error
      [47]board init ok
      [49]ZQ value = 0x2d
      [51]get_pmu_exist() = -1
      [53]DRAM BOOT DRIVE INFO: V0.33
      [56]DRAM CLK = 936 MHz
      [58]DRAM Type = 3 (2:DDR2,3:DDR3)
      [61]DRAMC read ODT  off.
      [64]DRAM ODT value: 0x42.
      [66]ddr_efuse_type: 0xa
      [69]DRAM SIZE =128 M
      [71]dram_tpr4:0x0
      [73]PLL_DDR_CTRL_REG:0xf8004d00
      [76]DRAM_CLK_REG:0xc0000000
      [79][TIMING DEBUG] MR2= 0x20
      [86]DRAM simple test OK.
      [88]rtc standby flag is 0x0, super standby flag is 0x0
      [93]dram size =128
      [96]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
      [101]block from 8 to 32
      [227]Check is correct.
      [229]dma 0x29c9c int is not used yet
      [233]dma 0x29c9c int is free, you do not need to free it again
      [238]Entry_name        = u-boot
      [245]Entry_name        = optee
      [249]Entry_name        = dtb
      [252]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 (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology
      
      [00.305]CPU:   Allwinner Family
      [00.308]Model: sun8iw20
      [00.310]DRAM:  128 MiB
      [00.313]Relocation Offset is: 04ebc000
      [00.339]secure enable bit: 0
      [00.342]smc_tee_inform_fdt failed with: -65526[00.346]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.352]gic: sec monitor mode
      [00.355]flash init start
      [00.357]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                 0x07b00000      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.458]ubi0: attaching mtd4
      [00.668]ubi0: scanning is finished
      [00.677]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [00.681]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [00.687]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [00.694]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [00.700]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [00.705]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [00.712]ubi0: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 0
      [00.720]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [00.728]sunxi flash init ok
      [00.731]line:703 init_clocks
      [00.734]drv_disp_init
      request pwm success, pwm7:pwm7:0x2000c00.
      fdt get node offset faill: hdmi
      [00.750]unable to map hdmi registers
      [00.753]drv_disp_init finish
      [00.946]Loading Environment from SUNXI_FLASH... OK
      [00.980]boot_gui_init:start
      [00.983]set disp.dev2_output_type fail. using defval=0
      [00.989]boot_gui_init:finish
      partno erro : can't find partition bootloader
      54 bytes read in 1 ms (52.7 KiB/s)
      [01.042]bmp_name=bootlogo.bmp size 38454
      38454 bytes read in 5 ms (7.3 MiB/s)
      [01.057]Item0 (Map) magic is bad
      [01.060]out of usb burn from boot: not need burn key
      List file under ULI/factory
      ** Unrecognized filesystem type **
      [01.113]update bootcmd
      [01.157]change working_fdt 0x43e7be70 to 0x43e5be70
      FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
      sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
      [01.180]LCD open finish
      [01.188]update dts
      Hit any key to stop autoboot:  0
      [04.662]no vendor_boot partition is found
      Android's image name: t113-mq_r
      [04.673]Starting kernel ...
      
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (root@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) #8 SMP PREEMPT Thu Nov 30 06:44:12 UTC 2023
      [    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: 256 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
      [    0.000000] psci: probing for conduit method from DT.
      [    0.000000] psci: PSCIv1.0 detected in firmware.
      [    0.000000] psci: Using standard PSCI v0.2 function IDs
      [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
      [    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 rootdelay=2 loglevel=8 root=/dev/ubiblock0_5 init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43eff000 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: 106048K/131072K available (6144K kernel code, 304K rwdata, 1572K rodata, 1024K init, 1173K bss, 20928K reserved, 4096K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000]  Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] random: get_random_bytes called from start_kernel+0x26c/0x3ec with crng_init=0
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.007999] Switching to timer-based delay loop, resolution 41ns
      [    0.014168] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023874] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.034241] pid_max: default: 32768 minimum: 301
      [    0.038974] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.046289] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.054610] CPU: Testing write buffer coherency: ok
      [    0.059804] /cpus/cpu@0 missing clock-frequency property
      [    0.065136] /cpus/cpu@1 missing clock-frequency property
      [    0.070477] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.076636] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.083296] rcu: Hierarchical SRCU implementation.
      [    0.088502] smp: Bringing up secondary CPUs ...
      [    0.094132] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.094252] smp: Brought up 1 node, 2 CPUs
      [    0.104056] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.110252] CPU: All CPU(s) started in SVC mode.
      [    0.115330] devtmpfs: initialized
      [    0.129518] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.137636] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.147742] pinctrl core: initialized pinctrl subsystem
      [    0.153910] NET: Registered protocol family 16
      [    0.159867] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.194900] rtc_ccu: sunxi ccu init OK
      [    0.200969] ccu: sunxi ccu init OK
      [    0.204803] r_ccu: sunxi ccu init OK
      [    0.227670] iommu: Default domain type: Translated
      [    0.232716] sunxi iommu: irq = 24
      [    0.236899] SCSI subsystem initialized
      [    0.240819] usbcore: registered new interface driver usbfs
      [    0.246357] usbcore: registered new interface driver hub
      [    0.251770] usbcore: registered new device driver usb
      [    0.257502] Advanced Linux Sound Architecture Driver Initialized.
      [    0.264177] Bluetooth: Core ver 2.22
      [    0.267794] NET: Registered protocol family 31
      [    0.272248] Bluetooth: HCI device and connection manager initialized
      [    0.278634] Bluetooth: HCI socket layer initialized
      [    0.283516] Bluetooth: L2CAP socket layer initialized
      [    0.288593] Bluetooth: SCO socket layer initialized
      [    0.293690] pwm module init!
      [    0.297769] g2d 5410000.g2d: Adding to iommu group 0
      [    0.303022] G2D: rcq version initialized.major:252
      [    0.308677] clocksource: Switched to clocksource arch_sys_counter
      [    0.323237] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.332489] NET: Registered protocol family 2
      [    0.337389] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.345810] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.353547] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.360638] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.367088] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.373671] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.380852] NET: Registered protocol family 1
      [    0.386149] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    0.396463] spi spi0: spi0 supply spi not found, using dummy regulator
      [    0.403201] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
      [    0.409361] sunxi_spi_resource_get()2154 - Failed to get sample mode
      [    0.415715] sunxi_spi_resource_get()2159 - Failed to get sample delay
      [    0.422187] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.430621] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
      [    0.436874] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c881f000, irq 39
      [    0.446517] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.457865] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.463895] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.496938] io scheduler mq-deadline registered
      [    0.501503] io scheduler kyber registered
      [    0.506536] [DISP]disp_module_init
      [    0.510502] disp 5000000.disp: Adding to iommu group 0
      [    0.516133] [DISP] parser_disp_init_para,line:1430:
      [    0.516137] of_property_read fb0_width fail
      [    0.525231] [DISP] disp_init,line:2386:
      [    0.525235] smooth display screen:0 type:1 mode:4
      [    0.549889] display_fb_request,fb_id:0
      [    0.555994] Freeing logo buffer memory: 1500K
      [    0.560884] disp_al_manager_apply ouput_type:1
      [    0.565550] sunxi_pwm_enable_dual: can't parse pwm device
      [    0.568973] [DISP]disp_module_init finish
      [    0.576047] sunxi_sid_init()551 - insmod ok
      [    0.581231] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    0.591411] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.598544] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.606416] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      [    0.614410] printk: console [ttyS0] enabled
      [    0.614410] printk: console [ttyS0] enabled
      [    0.623281] printk: bootconsole [earlycon0] disabled
      [    0.623281] printk: bootconsole [earlycon0] disabled
      [    0.634638] misc dump reg init
      [    0.639207] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.650433] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      [    0.657664] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    0.665021] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    0.672452] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      [    0.679009] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      [    0.685947] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
      [    0.693706] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
      [    0.701560] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      [    0.709683] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      [    0.717301] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      [    0.724070] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
      [    0.731621] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
      [    0.739594] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
      [    0.746769] [ADDR_MGT] addr_mgt_probe: success.
      [    0.752135] dma-buf: Running sanitycheck
      [    0.756526] dma-buf: Running dma_fence
      [    0.760826] sizeof(dma_fence)=48
      [    0.764549] dma-buf: Running dma_fence/sanitycheck
      [    0.769946] dma-buf: Running dma_fence/test_signaling
      [    0.775603] dma-buf: Running dma_fence/test_add_callback
      [    0.781613] dma-buf: Running dma_fence/test_late_add_callback
      [    0.788048] dma-buf: Running dma_fence/test_rm_callback
      [    0.793915] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.800278] dma-buf: Running dma_fence/test_status
      [    0.805644] dma-buf: Running dma_fence/test_error
      [    0.810924] dma-buf: Running dma_fence/test_wait
      [    0.816104] dma-buf: Running dma_fence/test_wait_timeout
      [    0.858690] dma-buf: Running dma_fence/test_stub
      [    0.863887] dma-buf: Running dma_fence/race_signal_callback
      [    0.948687] thread_signal_callback[0] completed 42108 passes, 58 misses
      [    0.956117] thread_signal_callback[1] completed 42111 passes, 62 misses
      [    1.028701] thread_signal_callback[0] completed 41745 passes, 41744 misses
      [    1.036411] thread_signal_callback[1] completed 41730 passes, 41729 misses
      [    1.044645] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
      [    1.051923] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.059795] sunxi-spinand-phy: not detect any munufacture from id table
      [    1.067206] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [    1.073865] sunxi-spinand-phy: get phy info from fdt fail
      [    1.079916] sunxi-spinand-phy: not detect munufacture from fdt
      [    1.086553] sunxi-spinand-phy: detect munufacture from id table: Winbond
      [    1.094079] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [    1.101153] sunxi-spinand-phy: ========== arch info ==========
      [    1.107683] sunxi-spinand-phy: Model:               W25N01GVZEIG
      [    1.114426] sunxi-spinand-phy: Munufacture:         Winbond
      [    1.120679] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.126336] sunxi-spinand-phy: BlkCntPerDie:        1024
      [    1.132296] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.138046] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.143709] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.149470] sunxi-spinand-phy: BadBlockFlag:        0x0
      [    1.155317] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.161191] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.167236] sunxi-spinand-phy: EccFlag:             0x0
      [    1.173101] sunxi-spinand-phy: EccType:             2
      [    1.178767] sunxi-spinand-phy: EccProtectedType:    3
      [    1.184420] sunxi-spinand-phy: ========================================
      [    1.191835] sunxi-spinand-phy:
      [    1.195345] sunxi-spinand-phy: ========== physical info ==========
      [    1.202279] sunxi-spinand-phy: TotalSize:    128 M
      [    1.207638] sunxi-spinand-phy: SectorSize:   512 B
      [    1.213006] sunxi-spinand-phy: PageSize:     2 K
      [    1.218174] sunxi-spinand-phy: BlockSize:    128 K
      [    1.223545] sunxi-spinand-phy: OOBSize:      64 B
      [    1.228823] sunxi-spinand-phy: ========================================
      [    1.236227] sunxi-spinand-phy:
      [    1.239748] sunxi-spinand-phy: ========== logical info ==========
      [    1.246566] sunxi-spinand-phy: TotalSize:    128 M
      [    1.251938] sunxi-spinand-phy: SectorSize:   512 B
      [    1.257299] sunxi-spinand-phy: PageSize:     4 K
      [    1.262475] sunxi-spinand-phy: BlockSize:    256 K
      [    1.267836] sunxi-spinand-phy: OOBSize:      128 B
      [    1.273209] sunxi-spinand-phy: ========================================
      [    1.280630] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
      [    1.287650] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
      [    1.294770] sunxi-spinand-phy: block lock register: 0x00
      [    1.300859] sunxi-spinand-phy: feature register: 0x19
      [    1.306519] sunxi-spinand-phy: sunxi physic nand init end
      [    1.313009] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [    1.319186] 0x000000000000-0x000000100000 : "boot0"
      [    1.329606] 0x000000100000-0x000000400000 : "uboot"
      [    1.337348] random: fast init done
      [    1.349557] 0x000000400000-0x000000500000 : "secure_storage"
      [    1.359560] 0x000000500000-0x000008000000 : "sys"
      [    1.489728] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.497047] sunxi-ehci: EHCI SUNXI driver
      [    1.502054] get ehci1-controller wakeup-source is fail.
      [    1.508007] sunxi ehci1-controller don't init wakeup source
      [    1.514291] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b68700, 0x:c8837000, irq_no:3a
      [    1.526318] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    1.538802] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    1.550966] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    1.558206] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    1.568175] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
      [    1.598702] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.607323] hub 1-0:1.0: USB hub found
      [    1.611583] hub 1-0:1.0: 1 port detected
      [    1.616550] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.623530] sunxi-ohci: OHCI SUNXI driver
      [    1.628478] get ohci1-controller wakeup-source is fail.
      [    1.634461] sunxi ohci1-controller don't init wakeup source
      [    1.640719] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b68990
      [    1.650398] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    1.662883] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    1.675050] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    1.682315] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    1.692161] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
      [    1.773496] hub 2-0:1.0: USB hub found
      [    1.777732] hub 2-0:1.0: 1 port detected
      [    1.782822] usbcore: registered new interface driver usb-storage
      [    1.789727] i2c /dev entries driver
      [    1.793706] sunxi cedar version 1.1
      [    1.797783] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    1.804118] VE: sunxi_cedar_probe power-domain init!!!
      [    1.809892] VE: install start!!!
      [    1.809892]
      [    1.815403] VE: cedar-ve the get irq is 40
      [    1.815403]
      [    1.821859] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    1.821859]
      [    1.831144] VE: install end!!!
      [    1.831144]
      [    1.836214] VE: sunxi_cedar_probe
      [    1.840184] Bluetooth: HCI UART driver ver 2.3
      [    1.845161] Bluetooth: HCI UART protocol H4 registered
      [    1.850937] Bluetooth: HCI UART protocol BCSP registered
      [    1.856882] Bluetooth: HCI UART protocol (null) registered
      [    1.863035] Bluetooth: HCI Realtek H5 protocol initialized
      [    1.871326] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    1.881322] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    1.887525] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    1.893880] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    1.900325] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    1.906771] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    1.913315] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    1.919878] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    1.926410] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    1.933398] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    1.938983] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.950150] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    1.970299] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.994763] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.005917] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    2.012059] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    2.022015] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    2.028202] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    2.034559] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    2.041007] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    2.047437] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    2.053983] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    2.060526] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    2.067052] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    2.073620] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    2.083006] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.094176] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    2.114323] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.138561] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    2.146120] exFAT: Version 1.3.0
      [    2.146242] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    2.157393] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    2.158553] sunxi-spdif 2036000.spdif: Not using gpio-spdif gpio from dts
      [    2.171901] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.184261] [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.184261]
      [    2.201500] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    2.202724] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.212819] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
      [    2.232219] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.238981] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.245729] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.252478] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    2.252504] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.260084] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    2.280165] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    2.287277] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    2.298143] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    2.310096] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    2.319078] NET: Registered protocol family 10
      [    2.325038] Segment Routing with IPv6
      [    2.329192] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
      [    2.336641] NET: Registered protocol family 17
      [    2.341809] Bluetooth: RFCOMM TTY layer initialized
      [    2.347283] Bluetooth: RFCOMM socket layer initialized
      [    2.353092] Bluetooth: RFCOMM ver 1.11
      [    2.357900] Registering SWP/SWPB emulation handler
      [    2.377815] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    2.387693] sunxi-i2c sunxi-i2c2: probe success
      [    2.394125] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    2.406383] sunxi-audio-card 203605c.soundspdif: use dummy codec for simple card.
      [    2.414936] debugfs: Directory '2036000.spdif' with parent 'sndspdif' already present!
      [    2.424389] sunxi-audio-card 203605c.soundspdif: snd-soc-dummy-dai <-> 2036000.spdif mapping ok
      [    2.435100] get ehci0-controller wakeup-source is fail.
      [    2.441109] sunxi ehci0-controller don't init wakeup source
      [    2.447354] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b681e0, 0x:c889b000, irq_no:38
      [    2.459351] [sunxi-ehci0]: Not init ehci0
      [    2.464166] get ohci0-controller wakeup-source is fail.
      [    2.470128] sunxi ohci0-controller don't init wakeup source
      [    2.476372] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b68470
      [    2.486032] [sunxi-ohci0]: Not init ohci0
      [    2.491812] get usb_detect_mode is fail, -22
      [    2.496598] get det_vbus is fail, -84
      [    2.500764] get id is fail, -84
      [    2.506634] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    2.516353] cfg80211: failed to load regulatory.db
      [    2.516366] clk: Not disabling unused clocks
      [    2.526521] ALSA device list:
      [    2.529856]   #0: audiocodec
      [    2.533079]   #1: sndspdif
      [    2.536113] alloc_fd: slot 0 not NULL!
      [    2.540524] Waiting 2 sec before mounting root device...
      [    3.558708]
      [    3.558708] insmod_device_driver
      [    3.558708]
      [    3.565900] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      [    3.578027] device_chose finished 142!
      [    4.598852] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -6
      [    4.607733] Please append a correct "root=" boot option; here are the available partitions:
      [    4.617127] 1f00            1024 mtdblock0
      [    4.617130]  (driver?)
      [    4.624471] 1f01            3072 mtdblock1
      [    4.624474]  (driver?)
      [    4.631799] 1f02            1024 mtdblock2
      [    4.631801]  (driver?)
      [    4.639130] 1f03          125952 mtdblock3
      [    4.639132]  (driver?)
      [    4.646461] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      [    4.655726] CPU1: stopping
      [    4.658753] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #8
      [    4.665365] Hardware name: Generic DT based system
      [    4.670735] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14)
      [    4.679394] [<c010a678>] (show_stack) from [<c0688fd0>] (dump_stack+0x88/0xa4)
      [    4.687473] [<c0688fd0>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180)
      [    4.695646] [<c010c2b4>] (handle_IPI) from [<c033edac>] (gic_handle_irq+0x70/0x78)
      [    4.704113] [<c033edac>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
      [    4.712475] Exception stack(0xc745df80 to 0xc745dfc8)
      [    4.718121] df80: 00005190 c7aca334 00000000 c0114800 00000002 c745c000 c0a04e24 c0a04e60
      [    4.727266] dfa0: 4000406a 410fc075 00000000 00000000 00000000 c745dfd0 c0107fb0 c0107fa0
      [    4.736405] dfc0: 60000013 ffffffff
      [    4.740308] [<c01021cc>] (__irq_svc) from [<c0107fa0>] (arch_cpu_idle+0x1c/0x38)
      [    4.748583] [<c0107fa0>] (arch_cpu_idle) from [<c013d564>] (do_idle+0xd4/0x128)
      [    4.756756] [<c013d564>] (do_idle) from [<c013d848>] (cpu_startup_entry+0x18/0x20)
      [    4.765220] [<c013d848>] (cpu_startup_entry) from [<40102bac>] (0x40102bac)
      [    4.773000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      1 条回复 最后回复 回复 引用 分享 0
      • A
        awwwwa LV 8 最后由 编辑

        ubi设备没有挂载,挂载为裸mtd设备

        正常挂载会出现大量UBI开头的log

        [    1.952826] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
        [    1.960398] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
        [    1.967886] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
        [    1.977685] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
        [    1.984522] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
        [    1.997425] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
        [    2.010714] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
        [    2.020708] NET: Registered protocol family 10
        [    2.027327] Segment Routing with IPv6
        [    2.031537] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
        [    2.039133] NET: Registered protocol family 17
        [    2.044411] Bluetooth: RFCOMM TTY layer initialized
        [    2.049865] Bluetooth: RFCOMM socket layer initialized
        [    2.055819] Bluetooth: RFCOMM ver 1.11
        [    2.096457] ubi0: attaching mtd3
        [    2.473414] ubi0: scanning is finished
        [    2.490836] ubi0: attached mtd3 (name "sys", size 123 MiB)
        [    2.497186] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
        [    2.504905] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
        [    2.512552] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
        [    2.520340] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
        [    2.527055] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
        [    2.535131] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
        [    2.544501] ubi0: available PEBs: 10, total reserved PEBs: 482, PEBs reserved for bad PEB handling: 10
        [    2.555351] ubi0: background thread "ubi_bgt0d" started, PID 64
        [    2.564391] block ubiblock0_5: created from ubi0:5(rootfs)
        [    2.571959] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
        [    2.581694] clk: Not disabling unused clocks
        [    2.586458] ALSA device list:
        [    2.589758]   #0: audiocodec
        [    2.593045] cfg80211: failed to load regulatory.db
        [    2.598481] alloc_fd: slot 0 not NULL!
        [    2.606842] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
        [    2.618509] devtmpfs: mounted
        [    2.622621] Freeing unused kernel memory: 176K
        [    2.627755] This architecture does not have kernel memory protection.
        [    2.635026] Run /pseudo_init as init process
        mount: mounting none on /dev failed: Device or resource busy
        [    3.197350] UBIFS (ubi0:7): Mounting in unauthenticated mode
        [    3.204248] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 90
        [    3.306905] UBIFS (ubi0:7): recovery needed
        [    3.437736] random: crng init done
        [    3.484394] UBIFS (ubi0:7): recovery completed
        [    3.489563] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
        [    3.498354] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
        [    3.509494] UBIFS (ubi0:7): FS size: 3096576 bytes (2 MiB, 12 LEBs), journal size 1806337 bytes (1 MiB, 5 LEBs)
        [    3.520808] UBIFS (ubi0:7): reserved for root: 146258 bytes (142 KiB)
        [    3.528009] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID F3C42DF5-C431-46B6-9FB0-44D877A77B61, small LPT model
        can't run '/etc/preinit': No such file or directory
        mount: mounting devpts on /dev/pts failed: No such device
        [    3.914941] UBIFS (ubi0:8): Mounting in unauthenticated mode
        [    3.923295] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 118
        [    4.074613] UBIFS (ubi0:8): recovery needed
        [    4.176774] UBIFS (ubi0:8): recovery completed
        [    4.190587] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK"
        [    4.198772] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
        [    4.211023] UBIFS (ubi0:8): FS size: 47738880 bytes (45 MiB, 185 LEBs), journal size 2322432 bytes (2 MiB, 9 LEBs)
        [    4.223836] UBIFS (ubi0:8): reserved for root: 2254825 bytes (2201 KiB)
        [    4.231568] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID 36942453-7E73-45BA-9E89-913155DABE62, small LPT model
        
        C 1 条回复 最后回复 回复 引用 分享 0
        • C
          cwj1986521 LV 5 @awwwwa 最后由 编辑

          @awwwwa
          你好问下 这个怎么挂载呢,需要在哪做设置?我找了好久没找到

          A 1 条回复 最后回复 回复 引用 分享 0
          • A
            awwwwa LV 8 @cwj1986521 最后由 编辑

            @cwj1986521
            启用MTD子系统:UBIFS是建立在MTD(Memory Technology Devices)子系统之上的,因此首先需要启用MTD子系统。在内核配置中,你可以找到 CONFIG_MTD 配置项并将其启用。

            启用UBI:UBIFS需要使用UBI(Unsorted Block Images)层来管理闪存设备,因此你需要启用UBI支持。在内核配置中,查找 CONFIG_UBI 配置项并将其启用。

            启用UBIFS文件系统支持:在内核配置中,查找 CONFIG_UBIFS_FS 配置项并将其启用。这将启用UBIFS文件系统的核心支持。

            配置MTD设备:UBIFS需要与特定的MTD设备进行交互。你需要在内核配置中启用相应的MTD设备驱动,以及指定UBI和UBIFS所需的MTD设备参数。这些配置选项可能因硬件平台和具体的MTD设备而有所不同。

            C 2 条回复 最后回复 回复 引用 分享 0
            • C
              cwj1986521 LV 5 @awwwwa 最后由 编辑

              @awwwwa 你好 问下 我修改了device/config/chips/t113/configs/mq_r/sys_config.fex的storage_type 改成了5 但是编译后日志中看到的还是0 这个除了这个地方能改外还有那边能更改的?

              1 条回复 最后回复 回复 引用 分享 0
              • C
                cwj1986521 LV 5 @awwwwa 最后由 编辑

                @awwwwa 你好 我在device/config/chips/t113/configs/mq_r/sys_config.fex 修改了storage_type = 5 但是我看打印出来的日志还是0 这个是我设置的不对么?我编译的时候选的也是t113的,

                1 条回复 最后回复 回复 引用 分享 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策