导航

    全志在线开发者论坛

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

    D1芯片无法启动

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

      [34]HELLO! BOOT0 is starting!
      [37]BOOT0 commit : adaf1174cc
      [39]set pll start
      [41]periph0 has been enabled
      [44]set pll end
      [46][pmu]: bus read error
      [48]board init ok
      [50]ZQ value = 0x2f
      [52]get_pmu_exist() = -1
      [54]ddr_efuse_type: 0xa
      [56]trefi:7.8ms
      [58][AUTO DEBUG] single rank and full DQ!
      [62]ddr_efuse_type: 0xa
      [64]trefi:7.8ms
      [67][AUTO DEBUG] rank 0 row = 13
      [70][AUTO DEBUG] rank 0 bank = 4
      [73][AUTO DEBUG] rank 0 page size = 2 KB
      [76]DRAM BOOT DRIVE INFO: V0.33
      [79]DRAM CLK = 528 MHz
      [81]DRAM Type = 2 (2:DDR2,3:DDR3)
      [85]DRAMC read ODT  off.
      [87]DRAM ODT off.
      [89]ddr_efuse_type: 0xa
      [91]DRAM SIZE =64 M
      [93]dram_tpr4:0x0
      [95]PLL_DDR_CTRL_REG:0xf8002b00
      [98]DRAM_CLK_REG:0xc0000000
      [100][TIMING DEBUG] MR2= 0x0
      [105]DRAM simple test OK.
      [107]dram size =64
      [109]card no is 0
      [111]sdcard 0 line count 4
      [113][mmc]: mmc driver ver 2021-04-2 16:45
      [122][mmc]: Wrong media type 0x0
      [125][mmc]: ***Try SD card 0***
      [135][mmc]: HSSDR52/SDR25 4 bit
      [138][mmc]: 50000000 Hz
      [140][mmc]: 128001 MB
      [143][mmc]: ***SD/MMC 0 init OK!!!***
      [205]error:bad checksum.
      [209]error:bad magic.
      [211]Loading boot-pkg fail(error=4)
      
      

      如上,启动错误。求指路可能是哪里的问题。

      1 条回复 最后回复 回复 引用 分享 0
      • WhycanService
        WhycanService LV 8 最后由 编辑

        @furyfangyu 在 无法启动 中说:

        [205]error:bad checksum.
        [209]error:bad magic.
        [211]Loading boot-pkg fail(error=4)

        刷写的固件有问题,magic头错误了

        F 2 条回复 最后回复 回复 引用 分享 0
        • F
          furyfangyu LV 3 @WhycanService 最后由 编辑

          @whycanservice 感谢你的回复。magic头错误是编译固件的配置有问题吗?

          K 1 条回复 最后回复 回复 引用 分享 0
          • F
            furyfangyu LV 3 @WhycanService 最后由 编辑

            @whycanservice

            --==========--
            PACK_CHIP         sun20iw1p1
            PACK_PLATFORM     tina
            PACK_BOARD        f133-mq_r
            PACK_KERN        
            PACK_DEBUG        uart0
            PACK_SIG          none
            PACK_SECURE       none
            PACK_MODE         normal
            PACK_FUNC         android
            PACK_PROGRAMMER   none
            PACK_TAR_IMAGE    none
            PACK_TOPDIR       /home/furry/f133/Tina-Linux
            --==========--
            No kernel param, parse it from f133
            copying tools file
            copying configs file
            storage_type value is 1
            rm /home/furry/f133/Tina-Linux/out/f133-mq_r/image/sys_partition_nor.fex
            rm /home/furry/f133/Tina-Linux/out/f133-mq_r/image/image_nor.cfg
            copying boot resource
            copying boot file
            make user resource for : /home/furry/f133/Tina-Linux/out/f133-mq_r/image/sys_partition.fex
            handle partition user-res
            no user resource partitions
            APP_PART_DOWNLOAD_FILE = /home/furry/f133/Tina-Linux/out/f133-mq_r/image/app.fex
            Need size of filesystem
            no data resource partitions
            don't build dtbo ...
            update_chip
            
            sboot file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sboot.bin
            script file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sys_config.bin
            
            update:unable to open sboot file
            script update sboot ok
            pack boot package
            GetPrivateProfileSection read to end
            content_count=3
            LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk
            --mkenvimage create redundant env data!--
            ---redundant env data size 0x20000---
            packing for tina linux
            normal
            mbr count = 4
            
            partitation file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sys_partition.bin
            mbr_name file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sunxi_mbr.fex
            download_name file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/dlinfo.fex
            
            mbr size = 16384
            mbr magic softw411
            disk name=boot-resource
            disk name=env
            disk name=env-redund
            disk name=boot
            disk name=rootfs
            disk name=private
            disk name=rootfs_data
            disk name=UDISK
            this is not a partition key
            update_for_part_info 0
            crc 0 = 20ee024
            crc 1 = 97b3b179
            crc 2 = f20544df
            crc 3 = 67b81582
            gpt_head->header_crc32 = 0x56064bd1
            GPT----part num 8---
            gpt_entry: 128
            gpt_header: 92
            GPT:boot-resource: 12000         121f7       
            GPT:env         : 121f8         123ef       
            GPT:env-redund  : 123f0         125e7       
            GPT:boot        : 125e8         160f7       
            GPT:rootfs      : 160f8         250f7       
            GPT:private     : 250f8         278f7       
            GPT:rootfs_data : 278f8         33dd7       
            GPT:UDISK       : 33dd8         ffffffde    
            update gpt file ok
            update mbr file ok
            temp = 20
            mbr count = 4 total_sectors = 15269888 logic_offset = 40960
            
            partitation file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sys_partition.bin
            mbr_name file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/sunxi_mbr.fex
            download_name file Path=/home/furry/f133/Tina-Linux/out/f133-mq_r/image/dlinfo.fex
            
            mbr size = 16384
            mbr magic softw411
            disk name=boot-resource
            disk name=env
            disk name=env-redund
            disk name=boot
            disk name=rootfs
            disk name=private
            disk name=rootfs_data
            disk name=UDISK
            this is not a partition key
            update_for_part_info 0
            crc 0 = 20ee024
            crc 1 = 97b3b179
            crc 2 = f20544df
            crc 3 = 67b81582
            gpt_head->header_crc32 = 0xcc02e243
            GPT----part num 8---
            gpt_entry: 128
            gpt_header: 92
            GPT:boot-resource: 12000         121f7       
            GPT:env         : 121f8         123ef       
            GPT:env-redund  : 123f0         125e7       
            GPT:boot        : 125e8         160f7       
            GPT:rootfs      : 160f8         250f7       
            GPT:private     : 250f8         278f7       
            GPT:rootfs_data : 278f8         33dd7       
            GPT:UDISK       : 33dd8         e8ffde      
            update gpt file ok
            update mbr file ok
            ====================================
            show "sys_partition_for_dragon.fex" message
            ------------------------------------
              [mbr]
              mbr_size  : 16384 Kbyte
            ------------------------------------
              partition_name  : boot-resource
              partition_size  : 504
              downloadfile  : boot-resource.fex
              boot-resource.fex size : 80K byte
            ------------------------------------
              partition_name  : env
              partition_size  : 504
              downloadfile  : env.fex
              env.fex size : 128K byte
            ------------------------------------
              partition_name  : env-redund
              partition_size  : 504
              downloadfile  : env.fex
              env.fex size : 128K byte
            ------------------------------------
              partition_name  : boot
              partition_size  : 15120
              downloadfile  : boot.fex
              boot.fex -> /home/furry/f133/Tina-Linux/out/f133-mq_r/boot.img
              boot.img size : 6.5M byte
            ------------------------------------
              partition_name  : rootfs
              partition_size  : 61440
              downloadfile  : rootfs.fex
              rootfs.fex -> /home/furry/f133/Tina-Linux/out/f133-mq_r/rootfs.img
              rootfs.img size : 8.3M byte
            ------------------------------------
              partition_name  : private
              partition_size  : 10240
            ------------------------------------
              partition_name  : rootfs_data
              partition_size  : 50400
            ------------------------------------
              partition_name  : UDISK
            ------------------------------------
            /home/furry/f133/Tina-Linux/out/host/bin/
            /home/furry/f133/Tina-Linux/out/f133-mq_r/image
            Begin Parse sys_partion.fex
            Add partion boot-resource.fex BOOT-RESOURCE_FEX
            Add partion very boot-resource.fex BOOT-RESOURCE_FEX
            FilePath: boot-resource.fex
            FileLength=14000Add partion env.fex ENV_FEX000000000
            Add partion very env.fex ENV_FEX000000000
            FilePath: env.fex
            FileLength=20000Add partion env.fex ENV_FEX000000000
            Add partion very env.fex ENV_FEX000000000
            FilePath: env.fex
            FileLength=20000Add partion boot.fex BOOT_FEX00000000
            Add partion very boot.fex BOOT_FEX00000000
            FilePath: boot.fex
            FileLength=674000Add partion rootfs.fex ROOTFS_FEX000000
            Add partion very rootfs.fex ROOTFS_FEX000000
            FilePath: rootfs.fex
            FileLength=840000BuildImg 0
            Dragon execute image.cfg SUCCESS !
            ----------image is for nand/emmc----------
            ----------image is at----------
            
            /home/furry/f133/Tina-Linux/out/f133-mq_r/tina_f133-mq_r_uart0.img
            
            pack finish
            
            

            这是打包时的log。是给的空间太小了吗。

            1 条回复 最后回复 回复 引用 分享 0
            • WhycanService
              WhycanService LV 8 最后由 编辑

              烧录到哪里了?TF卡吗

              F 3 条回复 最后回复 回复 引用 分享 0
              • F
                furyfangyu LV 3 @WhycanService 最后由 编辑

                @whycanservice 是的TF卡里面

                1 条回复 最后回复 回复 引用 分享 0
                • F
                  furyfangyu LV 3 @WhycanService 最后由 编辑

                  @whycanservice 找到问题了应该是烧录错误了。但现在卡在了kernel启动中

                  [34]HELLO! BOOT0 is starting!
                  [37]BOOT0 commit : adaf1174cc
                  [39]set pll start
                  [41]periph0 has been enabled
                  [44]set pll end
                  [46][pmu]: bus read error
                  [48]board init ok
                  [50]ZQ value = 0x2f
                  [52]get_pmu_exist() = -1
                  [54]ddr_efuse_type: 0xa
                  [56]trefi:7.8ms
                  [59][AUTO DEBUG] single rank and full DQ!
                  [62]ddr_efuse_type: 0xa
                  [65]trefi:7.8ms
                  [67][AUTO DEBUG] rank 0 row = 13
                  [70][AUTO DEBUG] rank 0 bank = 4
                  [73][AUTO DEBUG] rank 0 page size = 2 KB
                  [77]DRAM BOOT DRIVE INFO: V0.33
                  [80]DRAM CLK = 528 MHz
                  [82]DRAM Type = 2 (2:DDR2,3:DDR3)
                  [85]DRAMC read ODT  off.
                  [87]DRAM ODT off.
                  [89]ddr_efuse_type: 0xa
                  [92]DRAM SIZE =64 M
                  [93]dram_tpr4:0x0
                  [95]PLL_DDR_CTRL_REG:0xf8002b00
                  [98]DRAM_CLK_REG:0xc0000000
                  [101][TIMING DEBUG] MR2= 0x0
                  [105]DRAM simple test OK.
                  [107]dram size =64
                  [109]card no is 0
                  [111]sdcard 0 line count 4
                  [113][mmc]: mmc driver ver 2021-04-2 16:45
                  [123][mmc]: Wrong media type 0x0
                  [126][mmc]: ***Try SD card 0***
                  [136][mmc]: HSSDR52/SDR25 4 bit
                  [139][mmc]: 50000000 Hz
                  [141][mmc]: 128001 MB
                  [143][mmc]: ***SD/MMC 0 init OK!!!***
                  [205]Loading boot-pkg Succeed(index=0).
                  [209]Entry_name        = opensbi
                  [212]Entry_name        = u-boot
                  [216]Entry_name        = dtb
                  [219]mmc not para
                  [220]Jump to second Boot.
                  
                  OpenSBI auto-t113-linux-V0.8-1-g771d82e
                     ____                    _____ ____ _____
                    / __ \                  / ____|  _ \_   _|
                   | |  | |_ __   ___ _ __ | (___ | |_) || |
                   | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
                   | |__| | |_) |  __/ | | |____) | |_) || |_
                    \____/| .__/ \___|_| |_|_____/|____/_____|
                          | |
                          |_|
                  
                  Platform Name          : T-HEAD Xuantie Platform
                  Platform HART Features : RV64ACDFIMSUVX
                  Platform Max HARTs     : 1
                  Current Hart           : 0
                  Firmware Base          : 0x41fc0400
                  Firmware Size          : 75 KB
                  Runtime SBI Version    : 0.2
                  
                  MIDELEG : 0x0000000000000222
                  MEDELEG : 0x000000000000b1ff
                  PMP0    : 0x0000000041fc0000-0x0000000041fdffff (A)
                  PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
                  PMP2    : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
                  PMP3    : 0x0000000000020000-0x0000000000027fff (A,▒
                  
                  U-Boot 2018.05-g2a1965a (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology
                  
                  [00.305]DRAM:  64 MiB
                  [00.307]Relocation Offset is: 01ed9000
                  [00.312]secure enable bit: 0
                  [00.314]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
                  [00.321]flash init start
                  [00.323]workmode = 0,storage type = 1
                  [00.326][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
                  [00.332][mmc]: get sdc_type fail and use default host:tm1.
                  [00.338][mmc]: can't find node "mmc0",will add new node
                  [00.343][mmc]: fdt err returned <no error>
                  [00.347][mmc]: Using default timing para
                  [00.350][mmc]: SUNXI SDMMC Controller Version:0x50310
                  [00.369][mmc]: card_caps:0x3000000a
                  [00.372][mmc]: host_caps:0x3000003f
                  [00.376]sunxi flash init ok
                  [00.378]line:703 init_clocks
                  [00.381]drv_disp_init
                  request pwm success, pwm7:pwm7:0x2000c00.
                  fdt get node offset faill: hdmi
                  [00.399]unable to map hdmi registers
                  [00.402]drv_disp_init finish
                  [00.412]Loading Environment from SUNXI_FLASH... OK
                  [00.436]boot_gui_init:start
                  [00.439]set disp.dev2_output_type fail. using defval=0
                  [00.446]boot_gui_init:finish
                  partno erro : can't find partition bootloader
                  54 bytes read in 0 ms
                  [00.456]bmp_name=bootlogo.bmp size 38454
                  38454 bytes read in 4 ms (9.2 MiB/s)
                  [00.469]out of usb burn from boot: not need burn key
                  [00.474]Item0 (Map) magic is bad
                  [00.477]the secure storage item0 copy0 magic is bad
                  [00.482]Item0 (Map) magic is bad
                  [00.485]the secure storage item0 copy1 magic is bad
                  [00.489]Item0 (Map) magic is bad
                  List file under ULI/factory
                  ** Unrecognized filesystem type **
                  root_partition is rootfs
                  set root to /dev/mmcblk0p5
                  [00.504]update part info
                  [00.507]update bootcmd
                  [00.510]change working_fdt 0x42a98da0 to 0x42a78da0
                  disable nand error: FDT_ERR_BADPATH
                  [00.519]The storage not support sample function
                  No reserved memory region found in source FDT
                  [00.544]update dts
                  noncached_alloc(): addr = 0x42b02a40
                  noncached_alloc(): addr = 0x42b02a80
                  noncached_alloc(): addr = 0x42b02ac0
                  noncached_alloc(): addr = 0x42b03300
                  geth_sys_init:639: get node 'gmac0' error
                  geth_sys_init fail!
                  [00.564]Board Net Initialization Failed
                  [00.568]No ethernet found.
                  Hit any key to stop autoboot:  1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
                  sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
                  [00.636]LCD open finish                                                                                                                                                                                     0
                  [01.970]no vendor_boot partition is found
                  Android's image name: f133-mq_r
                  Detect comp none
                  [01.987]
                  Starting kernel ...
                  
                  [01.989][mmc]: MMC Device 2 not found
                  [01.993][mmc]: mmc 2 not find, so not exit
                  [    0.000000] Linux version 5.4.61 (furry@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #2 PREEMPT Sat Aug 5 09:13:12 UTC 2023
                  [    0.000000] Zone ranges:
                  [    0.000000]   DMA32    [mem 0x0000000040000000-0x0000000043ffffff]
                  [    0.000000]   Normal   empty
                  [    0.000000] Movable zone start for each node
                  [    0.000000] Early memory node ranges
                  [    0.000000]   node   0: [mem 0x0000000040000000-0x0000000043ffffff]
                  [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
                  [    0.000000] On node 0 totalpages: 16384
                  [    0.000000]   DMA32 zone: 224 pages used for memmap
                  [    0.000000]   DMA32 zone: 0 pages reserved
                  [    0.000000]   DMA32 zone: 16384 pages, LIFO batch:3
                  [    0.000000] elf_hwcap is 0x20112d
                  [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
                  [    0.000000] pcpu-alloc: [0] 0
                  [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16160
                  [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_o
                  [    0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
                  [    0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
                  [    0.000000] Sorting __ex_table...
                  [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
                  [    0.000000] Memory: 55896K/65536K available (4125K kernel code, 402K rwdata, 1700K rodata, 136K init, 229K bss, 9640K reserved, 0K cma-reserved)
                  [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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: 0, nr_irqs: 0, preallocated irqs: 0
                  [    0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
                  [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
                  [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
                  [    0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
                  [    0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available
                  [    0.000367] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
                  [    0.000944] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
                  [    0.000966] pid_max: default: 32768 minimum: 301
                  [    0.001126] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
                  [    0.001142] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
                  [    0.002827] ASID allocator initialised with 65536 entries
                  [    0.003005] rcu: Hierarchical SRCU implementation.
                  [    0.003684] devtmpfs: initialized
                  [    0.021601] random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0
                  [    0.022455] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
                  [    0.022487] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
                  [    0.022631] pinctrl core: initialized pinctrl subsystem
                  [    0.024016] NET: Registered protocol family 16
                  [    0.024747] DMA: preallocated 256 KiB pool for atomic allocations
                  [    0.025415] cpuidle: using governor menu
                  [    0.067528] rtc_ccu: sunxi ccu init OK
                  [    0.076164] clock: sunxi ccu init OK
                  [    0.078001] clock: sunxi ccu init OK
                  [    0.106923] iommu: Default domain type: Translated
                  [    0.107117] sunxi iommu: irq = 4
                  [    0.108327] SCSI subsystem initialized
                  [    0.108571] usbcore: registered new interface driver usbfs
                  [    0.108662] usbcore: registered new interface driver hub
                  [    0.108771] usbcore: registered new device driver usb
                  [    0.109748] Advanced Linux Sound Architecture Driver Initialized.
                  [    0.111034] pwm module init!
                  [    0.112675] g2d 5410000.g2d: Adding to iommu group 0
                  [    0.113189] G2D: rcq version initialized.major:252
                  [    0.114202] clocksource: Switched to clocksource riscv_clocksource
                  [    0.128323] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
                  [    0.131669] NET: Registered protocol family 2
                  [    0.132556] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
                  [    0.132597] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
                  [    0.132614] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
                  [    0.132628] TCP: Hash tables configured (established 512 bind 512)
                  [    0.132774] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
                  [    0.132817] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
                  [    0.133044] NET: Registered protocol family 1
                  [    0.134341] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
                  [    0.134952] spi spi0: spi0 supply spi not found, using dummy regulator
                  [    0.135227] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
                  [    0.135295] sunxi_spi_resource_get()2154 - Failed to get sample mode
                  [    0.135305] sunxi_spi_resource_get()2159 - Failed to get sample delay
                  [    0.135315] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
                  [    0.135382] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
                  [    0.136219] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
                  [    0.138363] workingset: timestamp_bits=62 max_order=14 bucket_order=0
                  [    0.146618] squashfs: version 4.0 (2009/01/31) Phillip Lougher
                  [    0.146867] ntfs: driver 2.1.32 [Flags: R/W].
                  [    0.147204] fuse: init (API version 7.31)
                  [    0.168466] io scheduler mq-deadline registered
                  [    0.168482] io scheduler kyber registered
                  [    0.169392] [DISP]disp_module_init
                  [    0.170025] disp 5000000.disp: Adding to iommu group 0
                  [    0.170612] [DISP] parser_disp_init_para,line:1430:
                  [    0.170618] of_property_read fb0_width fail
                  [    0.170638] [DISP] disp_init,line:2386:
                  [    0.170643] smooth display screen:0 type:1 mode:4
                  [    0.211680] display_fb_request,fb_id:0
                  [    0.219864] Freeing logo buffer memory: 1500K
                  [    0.220403] disp_al_manager_apply ouput_type:1
                  [    0.220851] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
                  [    0.221658] [DISP]disp_module_init finish
                  [    0.222568] sunxi_sid_init()551 - insmod ok
                  [    0.223166] pwm-regulator: supplied by regulator-dummy
                  [    0.224985] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
                  [    0.225467] uart uart0: uart0 supply uart not found, using dummy regulator
                  [    0.225934] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
                  [    0.225965] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
                  [    0.942802] printk: console [ttyS0] enabled
                  [    0.948735] misc dump reg init
                  [    0.953206] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
                  [    0.964537] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
                  [    0.971752] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
                  [    0.979093] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
                  [    0.986565] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
                  [    0.993073] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
                  [    1.000065] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
                  [    1.007807] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
                  [    1.015732] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
                  [    1.023822] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
                  [    1.031533] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
                  [    1.038365] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
                  [    1.045910] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
                  [    1.054134] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
                  [    1.061897] [ADDR_MGT] addr_mgt_probe: success.
                  [    1.068054] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
                  [    1.075300] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
                  [    1.087062] random: fast init done
                  [    1.352562] random: crng init done
                  [    2.074307] sunxi-spinand-phy: read id failed : -110
                  [    2.079875] spi-nand: probe of spi0.0 failed with error -110
                  [    2.086331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
                  [    2.093639] sunxi-ehci: EHCI SUNXI driver
                  [    2.098616] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
                  [    2.105589] sunxi-ohci: OHCI SUNXI driver
                  [    2.111347] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
                  [    2.122315] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
                  [    2.133077] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
                  [    2.144449] sunxi-rtc 7090000.rtc: registered as rtc0
                  [    2.150118] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
                  [    2.160794] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:03:55 UTC (235)
                  [    2.169882] sunxi-rtc 7090000.rtc: sunxi rtc probed
                  [    2.175902] i2c /dev entries driver
                  [    2.179844] sunxi cedar version 1.1
                  [    2.184016] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
                  [    2.190405] VE: install start!!!
                  [    2.190405]
                  [    2.195993] VE: cedar-ve the get irq is 6
                  [    2.195993]
                  [    2.202328] VE: ve_debug_proc_info:00000000854c5cd8, data:000000005465e8fa, lock:00000000744b596e
                  [    2.202328]
                  [    2.213970] VE: install end!!!
                  [    2.213970]
                  [    2.219041] VE: sunxi_cedar_probe
                  [    2.223709] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
                  [    2.235283] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
                  [    2.245367] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
                  [    2.251540] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
                  [    2.257974] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
                  [    2.264413] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
                  [    2.270818] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
                  [    2.277380] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
                  [    2.283884] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
                  [    2.290419] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
                  [    2.297484] sunxi-mmc 4020000.sdmmc: Got CD GPIO
                  [    2.302826] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
                  [    2.309571] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.320718] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
                  [    2.340916] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.365394] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
                  [    2.371069] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.383432] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
                  [    2.393512] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
                  [    2.399853] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
                  [    2.406241] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
                  [    2.412728] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
                  [    2.419191] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.430808] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
                  [    2.437350] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
                  [    2.443872] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
                  [    2.450528] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
                  [    2.457132] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
                  [    2.466550] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.478416] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.489690] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
                  [    2.499057] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.510685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.535037] sunxi-mmc 4021000.sdmmc: detmode:manually by software
                  [    2.542881] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
                  [    2.550221] ashmem: initialized
                  [    2.553765] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
                  [    2.560691] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.572327] exFAT: Version 1.3.0
                  [    2.579128] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                  [    2.592669] [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.592669]
                  [    2.610123] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
                  [    2.621096] mmc0: host does not support reading read-only switch, assuming write-enable
                  [    2.630692] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
                  [    2.638898] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
                  [    2.645735] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                  [    2.658052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
                  [    2.664996] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                  [    2.676656] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
                  [    2.684048] sid_rd_ver_reg()254 - ver >= 4, soc ver:5
                  [    2.689711] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
                  [    2.696551] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
                  [    2.707850] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
                  [    2.719619] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
                  [    2.729597] mmc0: new high speed SDXC card at address 211f
                  [    2.735861] [SNDCODEC][sunxi_card_init][583]:card init finished
                  [    2.745702] mmcblk0: mmc0:211f APPSD 125 GiB
                  [    2.751494] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
                  [    2.765719] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
                  [    2.777266] Alternate GPT is invalid, using primary GPT.
                  [    2.783261]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
                  [    2.789018] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
                  [    2.799603] NET: Registered protocol family 10
                  [    2.806373] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
                  [    2.815250] Segment Routing with IPv6
                  [    2.819541] NET: Registered protocol family 17
                  [    2.848068] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
                  [    2.862997] sunxi-i2c sunxi-i2c2: probe success
                  [    2.870404] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
                  [    2.884471] get ehci0-controller wakeup-source is fail.
                  [    2.890404] sunxi ehci0-controller don't init wakeup source
                  [    2.896725] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000661b28, 0x:ffffffd0040fa000, irq_no:2e
                  [    2.910231] [sunxi-ehci0]: Not init ehci0
                  [    2.915276] get ohci0-controller wakeup-source is fail.
                  [    2.921220] sunxi ohci0-controller don't init wakeup source
                  [    2.927493] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000661ef0
                  [    2.937948] [sunxi-ohci0]: Not init ohci0
                  [    2.942952] get ehci1-controller wakeup-source is fail.
                  [    2.948987] sunxi ehci1-controller don't init wakeup source
                  [    2.955250] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006622b8, 0x:ffffffd004835000, irq_no:31
                  [    2.969156] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
                  [    2.982745] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
                  [    2.990017] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
                  [    2.999926] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
                  [    3.034258] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
                  [    3.043129] hub 1-0:1.0: USB hub found
                  [    3.047490] hub 1-0:1.0: 1 port detected
                  [    3.053019] get ohci1-controller wakeup-source is fail.
                  [    3.059070] sunxi ohci1-controller don't init wakeup source
                  [    3.065413] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000662680
                  [    3.076142] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
                  [    3.088650] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
                  [    3.095939] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
                  [    3.105804] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
                  [    3.179307] hub 2-0:1.0: USB hub found
                  [    3.183587] hub 2-0:1.0: 1 port detected
                  [    3.191004] get usb_detect_mode is fail, -22
                  [    3.195889] get det_vbus is fail, -84
                  [    3.200003] get id is fail, -84
                  [    3.206062] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
                  [    3.215793] clk: Not disabling unused clocks
                  [    3.220560] ALSA device list:
                  [    3.223863]   #0: audiocodec
                  [    3.227157] cfg80211: failed to load regulatory.db
                  [    3.232590] alloc_fd: slot 0 not NULL!
                  [    3.242620] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
                  [    3.252508] devtmpfs: mounted
                  [    3.256091] Freeing unused kernel memory: 136K
                  [    3.261045] This architecture does not have kernel memory protection.
                  [    3.268383] Run /pseudo_init as init process
                  mount: mounting none on /dev failed: Device or resource busy
                  [    3.890030] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
                  [    3.908590] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal
                  ------run rc.preboot file-----
                  [    4.244309]
                  [    4.244309] insmod_device_driver
                  [    4.244309]
                  [    4.251552] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
                  [    4.265832] device_chose finished 142!
                  
                  

                  看起来像是文件系统的问题吗?

                  1 条回复 最后回复 回复 引用 分享 0
                  • F
                    furyfangyu LV 3 @WhycanService 最后由 编辑

                    @whycanservice 明白了这个是在tf卡的资源,好像是我这个tf太大了导致加载比较慢。

                    1 条回复 最后回复 回复 引用 分享 0
                    • K
                      kevin_allwinner LV 5 @furyfangyu 最后由 编辑

                      @furyfangyu 你好,我也遇到了你同样的问题,你说的是配置导致的,能详细指导下吗?
                      我参考的以下资料:
                      boot0:
                      boot0.png

                      uboot:
                      uboot.png

                      log:
                      log.png

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

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

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