导航

    全志在线开发者论坛

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

    D1s 无法从EMMC启动

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

      系统启动打印如下,

      
      [40]HELLO! BOOT0 is starting!
      [42]BOOT0 commit : 04907db
      
      OpenSBI auto-t113-linux-V0.8-3-ge39e937
         ____                    _____ ____ _____
        / __ \                  / ____|  _ \_   _|
       | |  | |_ __   ___ _ __ | (___ | |_) || |
       | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
       | |__| | |_) |  __/ | | |____) | |_) || |_
        \____/| .__/ \___|_| |_|_____/|____/_____|
              | |
              |_|
      
      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.07 (Aug 08 2023 - 11:17:15 +0800) Allwinner Technology
      
      [00.203]DRAM:  64 MiB
      [00.205]Relocation Offset is: 01ef1000
      [00.209]secure enable bit: 0
      can't support chip type 24064
      [00.215]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      sunxi flash map init
      SPI ALL:   ready
      [00.226]flash init start
      [00.228]workmode = 0,storage type = 2
      [00.232][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.239][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.263][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4
      [00.269]sunxi flash init ok
      [00.272]line:703 init_clocks
      [00.275]drv_disp_init
      request pwm success, pwm7:pwm7:0x2000c00.
      [00.296]drv_disp_init finish
      [00.309]Loading Environment from SUNXI_FLASH... OK
      [00.324]boot_gui_init:start
      [00.327]set disp.dev2_output_type fail. using defval=0
      [00.332]LCD open finish
      [00.334]set disp.fb0_rot_used fail. using defval=0
      [00.339]set disp.fb0_rot_degree fail. using defval=0
      [00.344]boot_gui_init:finish
      partno erro : can't find partition bootloader
      [00.351]bmp_name=bootlogo.bmp size 3072054
      no support big size bmp[800x1280] on fb[320x170]
      [00.425]show bmp on fb failed !-1
      [00.431]out of usb burn from boot: not need burn key
      [00.436]Item0 (Map) magic is bad
      [00.438]the secure storage item0 copy0 magic is bad
      [00.443]Item0 (Map) magic is bad
      [00.446]the secure storage item0 copy1 magic is bad
      [00.450]Item0 (Map) magic is bad
      List file under ULI/factory
      ** Unrecognized filesystem type **
      root_partition is rootfs
      set root to /dev/mmcblk0p5
      [00.464]update part info
      [00.467]update bootcmd
      [00.469]change working_fdt 0x42ab0da0 to 0x42a90da0
      [00.475][mmc]: no mmc-hs400-1_8v!
      [00.478][mmc]: delete mmc-hs200-1_8v from dtb
      disable nand error: FDT_ERR_BADPATH
      [00.486]The storage not support sample function
      No reserved memory region found in source FDT
      [00.518]update dts
      Hit any key to stop autoboot:  0 
      [00.717]no vendor_boot partition is found
      Android's image name: sun20iw1p1_riscv
      Detect comp none
      [00.738]
      Starting kernel ...
      
      [00.741][mmc]: mmc exit start
      [00.758][mmc]: mmc 2 exit ok
      [    0.000000] Linux version 5.4.61 (lvjun@lvjun-MS-7C13) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.3 B20200528) 8.1.0, GNU ld (GNU Binutils) 2.32) #1 Tue Aug 8 12:53:59 CST 2023
      [    0.000000] cma: Reserved 8 MiB at 0x0000000043800000
      [    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=/linuxrc partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:UDISK@mmcblk0p7 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.07(08/08/2023-11:17:15) mbr_offset=1556480 disp_reserve=217600,0x0000000042b42000 androidboot.dramsize=64 
      [    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: 45980K/65536K available (5474K kernel code, 557K rwdata, 2004K rodata, 180K init, 369K bss, 11364K reserved, 8192K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [    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.000029] riscv_timer_clockevent depends on broadcast, but no broadcast function available
      [    0.000448] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.001263] Console: colour dummy device 80x25
      [    0.001306] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
      [    0.001326] pid_max: default: 32768 minimum: 301
      [    0.001595] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.001617] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.003794] ASID allocator initialised with 65536 entries
      [    0.004660] devtmpfs: initialized
      [    0.022421] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
      [    0.023588] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
      [    0.023624] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      [    0.024188] pinctrl core: initialized pinctrl subsystem
      [    0.025744] NET: Registered protocol family 16
      [    0.027881] DMA: preallocated 256 KiB pool for atomic allocations
      [    0.068224] rtc_ccu: sunxi ccu init OK
      [    0.080903] clock: sunxi ccu init OK
      [    0.082680] clock: sunxi ccu init OK
      [    0.112756] sun6i-dma 3002000.dma-controller: sunxi dma probed
      [    0.115831] iommu: Default domain type: Translated 
      [    0.116039] sunxi iommu: irq = 4
      [    0.117356] SCSI subsystem initialized
      [    0.117738] usbcore: registered new interface driver usbfs
      [    0.117828] usbcore: registered new interface driver hub
      [    0.117928] usbcore: registered new device driver usb
      [    0.119199] Advanced Linux Sound Architecture Driver Initialized.
      [    0.119935] Bluetooth: Core ver 2.22
      [    0.120042] NET: Registered protocol family 31
      [    0.120053] Bluetooth: HCI device and connection manager initialized
      [    0.120077] Bluetooth: HCI socket layer initialized
      [    0.120090] Bluetooth: L2CAP socket layer initialized
      [    0.120125] Bluetooth: SCO socket layer initialized
      [    0.120151] pwm module init!
      [    0.122718] clocksource: Switched to clocksource riscv_clocksource
      [    0.137848] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.158016] NET: Registered protocol family 2
      [    0.159098] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
      [    0.159159] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.159184] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
      [    0.159201] TCP: Hash tables configured (established 512 bind 512)
      [    0.159363] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.159414] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.159723] NET: Registered protocol family 1
      [    0.162811] Initialise system trusted keyrings
      [    0.163089] workingset: timestamp_bits=62 max_order=14 bucket_order=0
      [    0.203585] NET: Registered protocol family 38
      [    0.203613] Key type asymmetric registered
      [    0.203624] Asymmetric key parser 'x509' registered
      [    0.203732] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
      [    0.203746] io scheduler mq-deadline registered
      [    0.203754] io scheduler kyber registered
      [    0.204969] [DISP]disp_module_init
      [    0.205778] disp 5000000.disp: Adding to iommu group 0
      [    0.206613] [DISP] disp_init,line:2387:
      [    0.206621] smooth display screen:0 type:1 mode:10
      [    0.254061] [DISP] disp_init_hdmi,line:1047:
      [    0.254067] dont support hdmi
      [    0.254536] display_fb_request,fb_id:0
      [    0.258651] [DISP]disp_module_init finish
      [    0.260169] sunxi_sid_init()783 - insmod ok
      [    0.260660] disp_al_manager_apply ouput_type:1
      [    0.260898] [DISP] lcd_clk_config,line:774:
      [    0.260915] disp 0, clk: pll(144000000),clk(144000000),dclk(12000000) dsi_rate(144000000)
      [    0.260915]      clk real:pll(192000000),clk(192000000),dclk(16000000) dsi_rate(0)
      [    0.261278] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.262336] pwm-regulator: supplied by regulator-dummy
      [    0.380377] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    0.380877] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.381313] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
      [    0.381347] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
      [    1.074699] printk: console [ttyS0] enabled
      [    1.080646] misc dump reg init
      [    1.098627] loop: module loaded
      [    1.103734] libphy: Fixed MDIO Bus: probed
      [    1.109811] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    1.121337] gmac-power0: NULL
      [    1.124708] gmac-power1: NULL
      [    1.128042] gmac-power2: NULL
      [    1.132518] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.139856] sunxi-ehci: EHCI SUNXI driver
      [    1.144986] get ehci1-controller wakeup-source is fail.
      [    1.150982] sunxi ehci1-controller don't init wakeup source
      [    1.157236] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000852ed8, 0x:ffffffd004069000, irq_no:31
      [    1.171053] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    1.183469] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    1.190771] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    1.200640] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      [    1.222766] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.230602] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
      [    1.240480] hub 1-0:1.0: USB hub found
      [    1.244791] hub 1-0:1.0: 1 port detected
      [    1.250138] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.257155] sunxi-ohci: OHCI SUNXI driver
      [    1.262309] get ohci1-controller wakeup-source is fail.
      [    1.268312] sunxi ohci1-controller don't init wakeup source
      [    1.274570] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000853a30
      [    1.285260] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    1.297713] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    1.304995] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    1.314903] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      [    1.383996] hub 2-0:1.0: USB hub found
      [    1.388309] hub 2-0:1.0: 1 port detected
      [    1.393987] usbcore: registered new interface driver uas
      [    1.400162] usbcore: registered new interface driver usb-storage
      [    1.406995] usbcore: registered new interface driver ums-alauda
      [    1.413706] usbcore: registered new interface driver ums-cypress
      [    1.420528] usbcore: registered new interface driver ums-datafab
      [    1.427377] usbcore: registered new interface driver ums_eneub6250
      [    1.434385] usbcore: registered new interface driver ums-freecom
      [    1.441232] usbcore: registered new interface driver ums-isd200
      [    1.447955] usbcore: registered new interface driver ums-jumpshot
      [    1.454905] usbcore: registered new interface driver ums-karma
      [    1.461540] usbcore: registered new interface driver ums-onetouch
      [    1.468485] usbcore: registered new interface driver ums-realtek
      [    1.475313] usbcore: registered new interface driver ums-sddr09
      [    1.482043] usbcore: registered new interface driver ums-sddr55
      [    1.488799] usbcore: registered new interface driver ums-usbat
      [    1.496123] sunxi_gpadc_init,2151, success
      [    1.503688] sunxi-rtc 7090000.rtc: registered as rtc0
      [    1.509503] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T01:30:12 UTC (5412)
      [    1.518697] sunxi-rtc 7090000.rtc: sunxi rtc probed
      [    1.524654] i2c /dev entries driver
      [    1.528703] IR NEC protocol handler initialized
      [    1.533790] IR RC5(x/sz) protocol handler initialized
      [    1.540067] sunxi cedar version 1.1
      [    1.544310] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    1.550602] VE: install start!!!
      [    1.550602] 
      [    1.556207] VE: cedar-ve the get irq is 6
      [    1.556207] 
      [    1.562603] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
      [    1.562603] 
      [    1.574191] VE: install end!!!
      [    1.574191] 
      [    1.579258] VE: sunxi_cedar_probe
      [    1.584153] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    1.595953] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    1.607222] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
      [    1.617174] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308
      [    1.623613] sunxi-mmc 4022000.sdmmc: No vmmc regulator found
      [    1.629956] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found
      [    1.636385] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found
      [    1.642830] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found
      [    1.649363] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found
      [    1.655881] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found
      [    1.662414] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found
      [    1.668974] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    1.677763] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
      [    1.686413] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.708698] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.732908] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable)
      [    1.741279] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.756134] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.769181] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.787858] usbcore: registered new interface driver usbhid
      [    1.794126] usbhid: USB HID core driver
      [    1.801740] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    1.801740] 
      [    1.818880] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:2, dachpf:3
      [    1.830395] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished
      [    1.840197] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    1.850045] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    1.860000] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    1.871363] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.883069] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.895240] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    1.908019] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    1.917238] NET: Registered protocol family 10
      [    1.924939] Segment Routing with IPv6
      [    1.929212] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
      [    1.936826] NET: Registered protocol family 17
      [    1.942982] hub 1-1:1.0: USB hub found
      [    1.947496] hub 1-1:1.0: 4 ports detected
      [    1.952086] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.964294] Loading compiled-in X.509 certificates
      [    1.974063] HDMI2.0 module init end
      [    2.000261] sunxi-i2c sunxi-i2c1: sunxi-i2c1 supply twi not found, using dummy regulator
      [    2.010154] sunxi-i2c sunxi-i2c1: probe success
      [    2.015704] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    2.027114] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator
      [    2.048067] sunxi-i2c sunxi-i2c3: probe success
      [    2.054804] usb0-vbus GPIO handle specifies active low - ignored
      [    2.062232] relay_power GPIO handle specifies active low - ignored
      [    2.074263] get ehci0-controller wakeup-source is fail.
      [    2.080296] sunxi ehci0-controller don't init wakeup source
      [    2.086557] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000852b10, 0x:ffffffd004769000, irq_no:2e
      [    2.100022] [sunxi-ehci0]: Not init ehci0
      [    2.105104] get ohci0-controller wakeup-source is fail.
      [    2.111114] sunxi ohci0-controller don't init wakeup source
      [    2.117373] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000853668
      [    2.127764] [sunxi-ohci0]: Not init ohci0
      [    2.133805] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
      [    2.145275] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.158882] cfg80211: Loading compiled-in X.509 certificates for regulatory database
      [    2.171725] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
      [    2.179061] clk: Not disabling unused clocks
      [    2.183903] ALSA device list:
      [    2.187247]   #0: audiocodec
      [    2.190462] alloc_fd: slot 0 not NULL!
      [    2.195212] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    2.204873] cfg80211: failed to load regulatory.db
      [    2.215965] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
      [    2.224657] Please append a correct "root=" boot option; here are the available partitions:
      [    2.234005] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      [    2.243253] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #1
      [    2.249651] Call Trace:
      [    2.252399] [<ffffffe00002f3a6>] walk_stackframe+0x0/0xa0
      [    2.258440] [<ffffffe00002f506>] show_stack+0x2a/0x34
      [    2.264082] [<ffffffe00056e56a>] dump_stack+0x20/0x28
      [    2.269721] [<ffffffe000033eb2>] panic+0xe4/0x272
      [    2.274986] [<ffffffe000000ee0>] mount_block_root+0x1f2/0x28e
      [    2.281392] [<ffffffe000001002>] mount_root+0x86/0x90
      [    2.287025] [<ffffffe00000111c>] prepare_namespace+0x110/0x156
      [    2.293529] [<ffffffe000000b7a>] kernel_init_freeable+0x17e/0x19a
      [    2.300330] [<ffffffe000581420>] kernel_init+0x12/0xe6
      [    2.306089] [<ffffffe00002e030>] ret_from_exception+0x0/0xc
      [    2.312327] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      

      感觉是EMMC初始化时间太长,内核还没有读取出EMMC的分区表,导致的启动失败?谁遇到过此问题。

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

        @lvjun0728 在 D1s 无法从EMMC启动 中说:

        [ 2.215965] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6

        emmc应该是mmcblk2

        L 2 条回复 最后回复 回复 引用 分享 0
        • L
          lvjun0728 LV 5 @WhycanService 最后由 编辑

          @whycanservice partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:UDISK@mmcblk0p7 这个分区传参不是显示是 mmcblk0p5

          1 条回复 最后回复 回复 引用 分享 0
          • L
            lvjun0728 LV 5 @WhycanService 最后由 编辑

            @whycanservice 这个有没可能是EMMC驱动初始慢,没有读取出分区表信息,导致的失败。

            1 条回复 最后回复 回复 引用 分享 0
            • L
              lvjun0728 LV 5 最后由 编辑

              有人可以使用D1s芯片通过EMMC启动吗?

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

                @lvjun0728 在 D1s 无法从EMMC启动 中说:

                [ 2.145275] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B

                从这里可以看出,挂载文件系统的时候eMMC的时序还没有配置好。

                D1s的没试过eMMC,D1测试可以使用,并从eMMC启动。两个芯片仅为封装不同,核心一样的

                L 1 条回复 最后回复 回复 引用 分享 0
                • L
                  lvjun0728 LV 5 @WhycanService 最后由 编辑

                  @whycanservice 这个问题可以解决吗?

                  L 1 条回复 最后回复 回复 引用 分享 0
                  • L
                    lvjun0728 LV 5 @lvjun0728 最后由 编辑

                    @lvjun0728 或者可以提供一份D1可以正常EMMC启动的内核配置文件?

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

                      @lvjun0728

                      https://github.com/YuzukiHD/YuzukiRulerPro/blob/main/software/yuzukirulerpro.tar.gz

                      https://github.com/YuzukiHD/YuzukiRulerPro

                      L 1 条回复 最后回复 回复 引用 分享 0
                      • L
                        lvjun0728 LV 5 @WhycanService 最后由 编辑

                        @whycanservice 我替换了你的内核配置,可以正常启动了。应该默认的是nand的配置不支持emmc

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

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

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