@whycanservice
全部的loglevel=7打印的log
U-Boot 2018.07-config-dirty (Jun 16 2023 - 10:30:39 +0800) Allwinner Technology
[00.261]DRAM: 64 MiB
[00.261]Relocation Offset is: 01f05000
[00.263]secure enable bit: 0
can't support chip type 24064
[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
sunxi flash map init
SPI ALL: ready
[00.265]flash init start
[00.265]workmode = 0,storage type = 1
[00.266][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.266][mmc]: get sdc_type fail and use default host:tm1.
[00.268][mmc]: can't find node "mmc0",will add new node
[00.268][mmc]: fdt err returned <no error>
[00.269][mmc]: Using default timing para
[00.269][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.282][mmc]: card_caps:0x3000000a
[00.282][mmc]: host_caps:0x3000003f
[00.283]sunxi flash init ok
[00.283]line:703 init_clocks
[00.284]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
[00.294]drv_disp_init finish
[00.300]Loading Environment from SUNXI_FLASH... OK
[00.316]boot_gui_init:start
[00.316]set disp.dev2_output_type fail. using defval=0
[00.703]set disp.fb0_rot_used fail. using defval=0
[00.703]set disp.fb0_rot_degree fail. using defval=0
[00.706]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.708]bmp_name=bootlogo.bmp size 38454
[00.715]out of usb burn from boot: not need burn key
[00.724]LCD open finish
[00.738]Item0 (Map) magic is bad
[00.739]the secure storage item0 copy0 magic is bad
[00.761]Item0 (Map) magic is bad
[00.761]the secure storage item0 copy1 magic is bad
[00.761]Item0 (Map) magic is bad
partno erro : can't find partition private
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.764]update part info
[00.765]update bootcmd
[00.766]change working_fdt 0x42ac4da0 to 0x42aa4da0
disable nand error: FDT_ERR_BADPATH
[00.768]The storage not support sample function
No reserved memory region found in source FDT
[00.788]update dts
Hit any key to stop autoboot: 0
[01.993]no vendor_boot partition is found
Android's image name: d1s-nezha_sd
Detect comp none
[02.002]
Starting kernel ...
[02.002][mmc]: MMC Device 2 not found
[02.002][mmc]: mmc 2 not find, so not exit
** 1 printk messages dropped **
Zone ranges:
DMA32 [mem 0x0000000040000000-0x0000000043ffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x0000000043ffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
On node 0 totalpages: 16384
DMA32 zone: 224 pages used for memmap
DMA32 zone: 0 pages reserved
DMA32 zone: 16384 pages, LIFO batch:3
elf_hwcap is 0x20112d
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 16160
Kernel command line: earlyprintk=sunxi-uart,0x02500c00 clk_ignore_unused initcall_debug=0 console=ttyS3,1500000 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@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.07-config-dirty(06/16/2023-10:30:39) mbr_offset=1556480 disp_reserve=3686400,0x0000000042b54000 androidboot.dramsize=64
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
Sorting __ex_table...
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 55728K/65536K available (2902K kernel code, 327K rwdata, 1132K rodata, 116K init, 176K bss, 9808K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
rcu: Preemptible hierarchical RCU implementation.
Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
plic: mapped 200 interrupts with 1 handlers for 2 contexts.
riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
riscv_timer_clockevent depends on broadcast, but no broadcast function available
clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
ASID allocator initialised with 65536 entries
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 0, 6144 bytes, linear)
pinctrl core: initialized pinctrl subsystem
DMA: preallocated 256 KiB pool for atomic allocations
cpuidle: using governor menu
rtc_ccu: sunxi ccu init OK
clock: sunxi ccu init OK
clock: sunxi ccu init OK
sun6i-dma 3002000.dma-controller: sunxi dma probed
iommu: Default domain type: Translated
sunxi iommu: irq = 4
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pwm module init!
g2d 5410000.g2d: Adding to iommu group 0
G2D: rcq version initialized.major:252
clocksource: Switched to clocksource riscv_clocksource
sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
spi spi0: spi0 supply spi not found, using dummy regulator
sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE
sunxi_spi_resource_get()2476 - Failed to get sample mode
sunxi_spi_resource_get()2481 - Failed to get sample delay
sunxi_spi_resource_get()2485 - sample_mode:-1431633921 sample_delay:-1431633921
sunxi_spi_clk_init()2527 - [spi0] mclk 100000000
sunxi_spi_probe()2978 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
workingset: timestamp_bits=62 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
ntfs: driver 2.1.32 [Flags: R/W].
io scheduler mq-deadline registered
io scheduler kyber registered
[DISP]disp_module_init
disp 5000000.disp: Adding to iommu group 0
[DISP] disp_init,line:2387:
smooth display screen:0 type:1 mode:4
display_fb_request,fb_id:0
[DISP]disp_module_init finish
sunxi_sid_init()783 - insmod ok
pwm-regulator: supplied by regulator-dummy
disp_al_manager_apply ouput_type:1
[DISP] lcd_clk_config,line:774:
disp 0, clk: pll(378000000),clk(378000000),dclk(63000000) dsi_rate(63000000)
clk real:pll(372000000),clk(372000000),dclk(93000000) dsi_rate(150000000)
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
uart uart1: uart1 supply uart not found, using dummy regulator
uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
uart uart2: uart2 supply uart not found, using dummy regulator
uart2: ttyS2 at MMIO 0x2500800 (irq = 20, base_baud = 1500000) is a SUNXI
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
uart uart3: uart3 supply uart not found, using dummy regulator
uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
sw_console_setup()1807 - console setup baud 1500000 parity n bits 8, flow n
printk: console [ttyS3] enabled
uart uart4: uart4 supply uart not found, using dummy regulator
uart4: ttyS4 at MMIO 0x2501000 (irq = 22, base_baud = 1500000) is a SUNXI
uart uart5: uart5 supply uart not found, using dummy regulator
uart5: ttyS5 at MMIO 0x2501400 (irq = 23, base_baud = 1500000) is a SUNXI
misc dump reg init
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
sunxi-ehci: EHCI SUNXI driver
get ehci1-controller wakeup-source is fail.
sunxi ehci1-controller don't init wakeup source
[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000487ed0, 0x:ffffffd004075000, irq_no:31
sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
Freeing logo buffer memory: 3600K
sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
sunxi-ohci: OHCI SUNXI driver
get ohci1-controller wakeup-source is fail.
sunxi ohci1-controller don't init wakeup source
[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000488298
sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
sunxi-rtc 7090000.rtc: registered as rtc0
sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:29 UTC (29)
sunxi-rtc 7090000.rtc: sunxi rtc probed
i2c /dev entries driver
IR NEC protocol handler initialized
sunxi cedar version 1.1
sunxi-cedar 1c0e000.ve: Adding to iommu group 0
VE: install start!!!
VE: cedar-ve the get irq is 6
VE: install end!!!
VE: sunxi_cedar_probe
ashmem: initialized
exFAT: Version 1.3.0
get ehci0-controller wakeup-source is fail.
sunxi ehci0-controller don't init wakeup source
[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000487740, 0x:ffffffd0040d7000, irq_no:2e
[sunxi-ehci0]: Not init ehci0
get ohci0-controller wakeup-source is fail.
sunxi ohci0-controller don't init wakeup source
[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000487b08
[sunxi-ohci0]: Not init ohci0
otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
clk: Not disabling unused clocks
alloc_fd: slot 0 not NULL!
VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #133
Call Trace:
[<ffffffe00001f164>] walk_stackframe+0x0/0x98
[<ffffffe00001f31c>] show_stack+0x2a/0x34
[<ffffffe0002dea0a>] dump_stack+0x20/0x28
[<ffffffe000023724>] panic+0xec/0x272
[<ffffffe000000ef2>] mount_block_root+0x214/0x27a
[<ffffffe000000fde>] mount_root+0x86/0x90
[<ffffffe000001130>] prepare_namespace+0x148/0x152
[<ffffffe000000b54>] kernel_init_freeable+0x166/0x198
[<ffffffe0002ef170>] kernel_init+0x12/0xee
[<ffffffe00001ded0>] ret_from_exception+0x0/0xc
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
没有看到有sdc的设备号,我用的是SD卡启动