您尚未登录。

楼主 # 2024-09-03 19:26:38

豪大大
会员
注册时间: 2024-04-15
已发帖子: 6
积分: 21

F133A使用SPI NAND FLASH启动报错

如标题,现在启动log数据如下,请大神帮忙
[55]HELLO! BOOT0 is starting!
[58]BOOT0 commit : adaf1174cc
[60]set pll start
[62]periph0 has been enabled
[65]set pll end
[67][pmu]: bus read error
[69]board init ok
[71]ZQ value = 0x2e
[73]get_pmu_exist() = -1
[75]DRAM BOOT DRIVE INFO: V0.33
[78]DRAM CLK = 528 MHz
[80]DRAM Type = 2 (2:DDR2,3:DDR3)
[83]DRAMC read ODT  off.
[85]DRAM ODT off.
[87]ddr_efuse_type: 0xb
[90]DRAM SIZE =64 M
[92]dram_tpr4:0x0
[93]PLL_DDR_CTRL_REG:0xf8002b00
[96]DRAM_CLK_REG:0xc0000000
[99][TIMING DEBUG] MR2= 0x0
[103]DRAM simple test OK.
[106]dram size =64
[108]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[113]block from 8 to 32
[173]Check is correct.
[175]dma 0x306c8 int is not used yet
[178]dma 0x306c8 int is free, you do not need to free it again
[184]Entry_name        = opensbi
[187]Entry_name        = u-boot
[191]Entry_name        = dtb
[193]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.279]DRAM:  64 MiB
[00.281]Relocation Offset is: 01ed9000
[00.285]secure enable bit: 0
[00.288]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.294]flash init start
[00.296]workmode = 0,storage type = 0
[00.303]sunxi-spinand-phy: spinand sample_mode:2 sample_delay:1

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.418]ubi0: attaching mtd4
[00.514]ubi0: scanning is finished
[00.520]ubi0: attached mtd4 (name "sys", size 123 MiB)
[00.525]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.531]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.537]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.544]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[00.549]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[00.556]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.563]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[00.572]sunxi flash init ok
[00.575]line:703 init_clocks
[00.578]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
fdt get node offset faill: hdmi
[00.596]unable to map hdmi registers
[00.599]drv_disp_init finish
[00.696]Loading Environment from SUNXI_FLASH... OK
[00.717]boot_gui_init:start
[00.720]set disp.dev2_output_type fail. using defval=0
[00.728]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 1 ms (52.7 KiB/s)
[00.748]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 3 ms (12.2 MiB/s)
[00.759]out of usb burn from boot: not need burn key
[00.764]Item0 (Map) magic is bad
List file under ULI/factory
** Unrecognized filesystem type **
[00.783]update bootcmd
[00.795]change working_fdt 0x42a98da0 to 0x42a78da0
No reserved memory region found in source FDT
[00.823]update dts
noncached_alloc(): addr = 0x42b27080
noncached_alloc(): addr = 0x42b1da00
noncached_alloc(): addr = 0x42b1da40
noncached_alloc(): addr = 0x42b1e280
geth_sys_init:639: get node 'gmac0' error
geth_sys_init fail!
[00.843]Board Net Initialization Failed
[00.846]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.918]LCD open finish                                                                                                                                                                                                                                                       0
[02.186]no vendor_boot partition is found
Android's image name: f133-mq_r
Detect comp none
[02.202]
Starting kernel ...

[    0.000000] Linux version 5.4.61 (test@test-virtual-machine) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #10 PREEMPT Mon Sep 2 08:13:54 UTC 2024
[    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=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=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=155648
[    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.000006] 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.000361] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000941] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000963] pid_max: default: 32768 minimum: 301
[    0.001123] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001139] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.002822] ASID allocator initialised with 65536 entries
[    0.002998] rcu: Hierarchical SRCU implementation.
[    0.003675] devtmpfs: initialized
[    0.021576] random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0
[    0.022441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.022472] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[    0.022615] pinctrl core: initialized pinctrl subsystem
[    0.023997] NET: Registered protocol family 16
[    0.024773] DMA: preallocated 256 KiB pool for atomic allocations
[    0.025445] cpuidle: using governor menu
[    0.067347] rtc_ccu: sunxi ccu init OK
[    0.076118] clock: sunxi ccu init OK
[    0.077794] clock: sunxi ccu init OK
[    0.106609] iommu: Default domain type: Translated
[    0.106804] sunxi iommu: irq = 4
[    0.108020] SCSI subsystem initialized
[    0.108274] usbcore: registered new interface driver usbfs
[    0.108365] usbcore: registered new interface driver hub
[    0.108474] usbcore: registered new device driver usb
[    0.109476] Advanced Linux Sound Architecture Driver Initialized.
[    0.110747] pwm module init!
[    0.112382] g2d 5410000.g2d: Adding to iommu group 0
[    0.112894] G2D: rcq version initialized.major:252
[    0.113922] clocksource: Switched to clocksource riscv_clocksource
[    0.127917] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.131248] NET: Registered protocol family 2
[    0.132132] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.132172] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.132190] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.132205] TCP: Hash tables configured (established 512 bind 512)
[    0.132344] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.132387] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.132611] NET: Registered protocol family 1
[    0.133804] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.134524] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.134803] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
[    0.134868] sunxi_spi_resource_get()2163 - sample_mode:2 sample_delay:1
[    0.134946] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
[    0.135778] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
[    0.137934] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[    0.146263] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.146508] ntfs: driver 2.1.32 [Flags: R/W].
[    0.146826] fuse: init (API version 7.31)
[    0.168695] io scheduler mq-deadline registered
[    0.168710] io scheduler kyber registered
[    0.169619] [DISP]disp_module_init
[    0.170242] disp 5000000.disp: Adding to iommu group 0
[    0.170828] [DISP] parser_disp_init_para,line:1430:
[    0.170834] of_property_read fb0_width fail
[    0.170854] [DISP] disp_init,line:2386:
[    0.170858] smooth display screen:0 type:1 mode:4
[    0.212010] display_fb_request,fb_id:0
[    0.220325] Freeing logo buffer memory: 1500K
[    0.220863] disp_al_manager_apply ouput_type:1
[    0.221307] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.222108] [DISP]disp_module_init finish
[    0.223021] sunxi_sid_init()551 - insmod ok
[    0.223619] pwm-regulator: supplied by regulator-dummy
[    0.225457] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    0.225941] uart uart0: uart0 supply uart not found, using dummy regulator
[    0.226331] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[    0.226361] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[    0.928466] printk: console [ttyS0] enabled
[    0.934398] misc dump reg init
[    0.938867] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.950137] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    0.957452] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    0.964780] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    0.972199] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    0.978739] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    0.985690] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    0.993417] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[    1.001302] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    1.009504] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    1.017212] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    1.024040] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    1.031551] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    1.039818] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[    1.047641] [ADDR_MGT] addr_mgt_probe: success.
[    1.053684] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[    1.061015] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    1.068873] sunxi-spinand-phy: not detect any munufacture from id table
[    1.076361] sunxi-spinand-phy: get spi-nand Model from fdt fail
[    1.082962] sunxi-spinand-phy: get phy info from fdt fail
[    1.089047] sunxi-spinand-phy: not detect munufacture from fdt
[    1.095715] sunxi-spinand-phy: detect munufacture from id table: Winbond
[    1.103189] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[    1.110238] sunxi-spinand-phy: ========== arch info ==========
[    1.116769] sunxi-spinand-phy: Model:               W25N01GVZEIG
[    1.123482] sunxi-spinand-phy: Munufacture:         Winbond
[    1.129717] sunxi-spinand-phy: DieCntPerChip:       1
[    1.135367] sunxi-spinand-phy: BlkCntPerDie:        1024
[    1.141300] sunxi-spinand-phy: PageCntPerBlk:       64
[    1.147049] sunxi-spinand-phy: SectCntPerPage:      4
[    1.152678] sunxi-spinand-phy: OobSizePerPage:      64
[    1.158451] sunxi-spinand-phy: BadBlockFlag:        0x0
[    1.164301] sunxi-spinand-phy: OperationOpt:        0x7
[    1.170120] sunxi-spinand-phy: MaxEraseTimes:       65000
[    1.176177] sunxi-spinand-phy: EccFlag:             0x0
[    1.181998] sunxi-spinand-phy: EccType:             2
[    1.187652] sunxi-spinand-phy: EccProtectedType:    3
[    1.193296] sunxi-spinand-phy: ========================================
[    1.200695] sunxi-spinand-phy:
[    1.204212] sunxi-spinand-phy: ========== physical info ==========
[    1.211115] sunxi-spinand-phy: TotalSize:    128 M
[    1.216479] sunxi-spinand-phy: SectorSize:   512 B
[    1.221815] sunxi-spinand-phy: PageSize:     2 K
[    1.227010] sunxi-spinand-phy: BlockSize:    128 K
[    1.232345] sunxi-spinand-phy: OOBSize:      64 B
[    1.237610] sunxi-spinand-phy: ========================================
[    1.245034] sunxi-spinand-phy:
[    1.248531] sunxi-spinand-phy: ========== logical info ==========
[    1.255345] sunxi-spinand-phy: TotalSize:    128 M
[    1.260698] sunxi-spinand-phy: SectorSize:   512 B
[    1.266063] sunxi-spinand-phy: PageSize:     4 K
[    1.271207] sunxi-spinand-phy: BlockSize:    256 K
[    1.276593] sunxi-spinand-phy: OOBSize:      128 B
[    1.281930] sunxi-spinand-phy: ========================================
[    1.289336] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[    1.296382] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[    1.303467] sunxi-spinand-phy: block lock register: 0x00
[    1.309583] sunxi-spinand-phy: feature register: 0x19
[    1.315256] sunxi-spinand-phy: sunxi physic nand init end
[    1.321980] Creating 4 MTD partitions on "sunxi_mtd_nand":
[    1.328256] 0x000000000000-0x000000100000 : "boot0"
[    1.344810] 0x000000100000-0x000000500000 : "uboot"
[    1.353103] random: fast init done
[    1.364822] 0x000000500000-0x000000600000 : "secure_storage"
[    1.384742] 0x000000600000-0x000008000000 : "sys"
[    1.564955] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.572238] sunxi-ehci: EHCI SUNXI driver
[    1.577270] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.584246] sunxi-ohci: OHCI SUNXI driver
[    1.589949] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[    1.600978] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[    1.611736] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[    1.623004] sunxi-rtc 7090000.rtc: registered as rtc0
[    1.628775] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[    1.639384] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:46 UTC (46)
[    1.648436] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    1.654431] i2c /dev entries driver
[    1.658362] sunxi cedar version 1.1
[    1.662568] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    1.668874] VE: install start!!!
[    1.668874]
[    1.674435] VE: cedar-ve the get irq is 6
[    1.674435]
[    1.680811] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
[    1.680811]
[    1.692400] VE: install end!!!
[    1.692400]
[    1.697517] VE: sunxi_cedar_probe
[    1.702206] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.713744] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    1.723766] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    1.730038] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    1.736382] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    1.742787] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    1.749258] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    1.755793] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    1.762315] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    1.768850] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    1.775869] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    1.781248] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    1.787938] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.799134] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    1.819298] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.843829] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    1.849555] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.861897] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    1.872044] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    1.878348] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    1.884747] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    1.891192] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.902810] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    1.909252] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    1.915932] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    1.922482] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    1.929098] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    1.935710] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    1.944478] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.956876] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.968200] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    1.977528] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.989154] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.013520] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    2.021387] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.028752] ashmem: initialized
[    2.032297] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.039199] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.050860] exFAT: Version 1.3.0
[    2.057646] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.069301] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.080397] [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.080397]
[    2.097772] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[    2.108737] mmc0: Problem switching card into high-speed mode!
[    2.115535] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.127293] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.134412] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[    2.142589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.149597] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[    2.161349] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.168983] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.175783] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.187571] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    2.197477] mmc0: new SDHC card at address 0001
[    2.203062] [SNDCODEC][sunxi_card_init][583]:card init finished
[    2.210798] mmcblk0: mmc0:0001 SD 7.50 GiB
[    2.218141] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    2.232421] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[    2.244021]  mmcblk0: p1
[    2.248579] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[    2.258170] NET: Registered protocol family 10
[    2.264097] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[    2.271996] Segment Routing with IPv6
[    2.276471] NET: Registered protocol family 17
[    2.304672] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[    2.319500] sunxi-i2c sunxi-i2c2: probe success
[    2.326884] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    2.340902] get ehci0-controller wakeup-source is fail.
[    2.346890] sunxi ehci0-controller don't init wakeup source
[    2.353145] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000661b28, 0x:ffffffd0040fa000, irq_no:2e
[    2.366690] [sunxi-ehci0]: Not init ehci0
[    2.371697] get ohci0-controller wakeup-source is fail.
[    2.377695] sunxi ohci0-controller don't init wakeup source
[    2.384007] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000661ef0
[    2.394415] [sunxi-ohci0]: Not init ohci0
[    2.399425] get ehci1-controller wakeup-source is fail.
[    2.405409] sunxi ehci1-controller don't init wakeup source
[    2.411628] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006622b8, 0x:ffffffd004835000, irq_no:31
[    2.425526] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    2.439157] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    2.446435] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.456356] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[    2.493980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    2.502858] hub 1-0:1.0: USB hub found
[    2.507179] hub 1-0:1.0: 1 port detected
[    2.512677] get ohci1-controller wakeup-source is fail.
[    2.518754] sunxi ohci1-controller don't init wakeup source
[    2.525056] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000662680
[    2.535838] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    2.548272] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    2.555610] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.565438] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[    2.639065] hub 2-0:1.0: USB hub found
[    2.643311] hub 2-0:1.0: 1 port detected
[    2.650768] get usb_detect_mode is fail, -22
[    2.655654] get det_vbus is fail, -84
[    2.659736] get id is fail, -84
[    2.665787] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.675522] clk: Not disabling unused clocks
[    2.680291] ALSA device list:
[    2.683644]   #0: audiocodec
[    2.686948] cfg80211: failed to load regulatory.db
[    2.692355] alloc_fd: slot 0 not NULL!
[    2.697069] VFS: Cannot open root device "mmcblk0p5" or unknown-block(179,5): error -6
[    2.706033] Please append a correct "root=" boot option; here are the available partitions:
[    2.715422] 1f00            1024 mtdblock0
[    2.715426]  (driver?)
[    2.722738] 1f01            4096 mtdblock1
[    2.722740]  (driver?)
[    2.730098] 1f02            1024 mtdblock2
[    2.730101]  (driver?)
[    2.737460] 1f03          124928 mtdblock3
[    2.737463]  (driver?)
[    2.744776] b300         7864320 mmcblk0
[    2.744781]  driver: mmcblk
[    2.752374]   b301         7864288 mmcblk0p1 008b7d5c-01
[    2.752376]
[    2.760145] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5)
[    2.769563] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #10
[    2.776060] Call Trace:
[    2.778800] [<ffffffe000023d56>] walk_stackframe+0x0/0x70
[    2.784823] [<ffffffe000027d2c>] panic+0xdc/0x266
[    2.790070] [<ffffffe000000d9c>] mount_block_root+0x1fe/0x266
[    2.796479] [<ffffffe000000fc2>] prepare_namespace+0x136/0x144
[    2.802985] [<ffffffe000424ab6>] rest_init+0xbc/0xc0
[    2.808517] [<ffffffe000424ac4>] kernel_init+0xa/0xe8
[    2.814144] [<ffffffe000424ab6>] rest_init+0xbc/0xc0
[    2.819678] [<ffffffe000022d5c>] ret_from_syscall+0xa/0xe
[    2.825705] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5) ]---

离线

#1 2024-09-03 22:17:59

shaoxi2010
会员
注册时间: 2019-06-13
已发帖子: 392
积分: 336

Re: F133A使用SPI NAND FLASH启动报错

uboot环境变量不对吧,你是不是改了什么

离线

#2 2024-09-04 15:23:31

hameyou
会员
注册时间: 2018-04-15
已发帖子: 197
积分: 4.5

Re: F133A使用SPI NAND FLASH启动报错

根文件系统挂载失败,配置一下环境变量吧,显然找不到 mmcblk0p5分区,修改root=/dev/mtdblock3

离线

#3 2024-09-05 10:55:45

jkl
会员
注册时间: 2019-11-18
已发帖子: 265
积分: 148.5

Re: F133A使用SPI NAND FLASH启动报错

[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5
log这一下提示了
spinand启动的环境配置没改过了,你自己改一下env.cfg里面的内容就好了

离线

楼主 #4 2024-09-05 12:33:39

豪大大
会员
注册时间: 2024-04-15
已发帖子: 6
积分: 21

Re: F133A使用SPI NAND FLASH启动报错

jkl 说:

[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5
log这一下提示了
spinand启动的环境配置没改过了,你自己改一下env.cfg里面的内容就好了

感谢,是漏了配置env.cfg

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn