Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot failed while testing on Raspi4B #60

Open
InfluencerNGZK opened this issue Nov 8, 2022 · 3 comments
Open

Boot failed while testing on Raspi4B #60

InfluencerNGZK opened this issue Nov 8, 2022 · 3 comments

Comments

@InfluencerNGZK
Copy link

使用v0.3.4版本在树莓派4B测试出现如下BUG,使用v0.4版本卡在Starting kernel处,请问应该如何debug

U-Boot 2022.07

DRAM:  3.9 GiB
RPI 4 Model B (0xc03115)
Core:  209 devices, 15 uclasses, devicetree: board
MMC:   mmcnr@7e300000: 1, mmc@7e340000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
U-Boot> fatload mmc 0:1 0x37200000 zephyr.bin
139416 bytes read in 29 ms (4.6 MiB/s)
U-Boot> fatload mmc 0:1 0x30008000 Image
13511168 bytes read in 609 ms (21.2 MiB/s)
U-Boot> fatload mmc 0:1 0x33e00000 vm1_dtb.img
2630 bytes read in 24 ms (106.4 KiB/s)
U-Boot> fatload mmc 0:1 0x34000000 vm1_ramdisk.img
5622142 bytes read in 270 ms (19.9 MiB/s)
U-Boot> fatload mmc 0:1 0x37408000 minos.bin
326131 bytes read in 29 ms (10.7 MiB/s)
U-Boot> fatload mmc  0:1 0x38000000 minos.dtb
12281 bytes read in 30 ms (399.4 KiB/s)
U-Boot> fatload mmc 0:1 0x00080000 Image
13511168 bytes read in 609 ms (21.2 MiB/s)
U-Boot> fatload mmc 0:1 0x03e00000 vm0_dtb.img
41128 bytes read in 25 ms (1.6 MiB/s)
U-Boot> booti 0x37408000 - 0x38000000
## Flattened Device Tree blob at 38000000
   Booting using the fdt blob at 0x38000000
   Using Device Tree in place at 0000000038000000, end 0000000038005ff8

Starting kernel ...

[       0.000000@00 999] NIC Starting Minos v0.3.2-rc1 unstable
[       0.000000@00 999] NIC bootmem start-0x00000000374579f8 end-0x0000000037460000 size-0x8608
[       0.000000@00 999] NIC current EL is 0x2
[       0.000000@00 999] NIC ID_ISAR5_EL1: 0x10001
[       0.000000@00 999] NIC using device tree @0x38000000
[       0.000000@00 999] NIC model : Raspberry Pi 4 Model B
[       0.000000@00 999] NIC platform : raspberrypi,4-model-b
[       0.000000@00 999] NIC memory node address_cells:2 size_cells:1
[       0.000000@00 999] NIC DTB - 0x38000000 ---> 0x4000
[       0.000000@00 999] NIC MEM: 0x0000000000000000 ---> 0x0000000037400000 [0x0000000037400000] VM
[       0.000000@00 999] NIC MEM: 0x00000000bc000000 ---> 0x00000000fc000000 [0x0000000040000000] Normal
[       0.000000@00 999] NIC MEM: 0x0000000037400000 ---> 0x0000000038000000 [0x0000000000c00000] Kernel
[       0.000000@00 999] NIC MEM: 0x0000000038004000 ---> 0x000000003b400000 [0x00000000033fc000] Kernel
[       0.000000@00 999] NIC MEM: 0x0000000038000000 ---> 0x0000000038004000 [0x0000000000004000] DTB
[       0.000000@00 999] NIC MEM: 0x0000000040000000 ---> 0x00000000bc000000 [0x000000007c000000] VM
[       0.000000@00 999] NIC dynamic memory allocator init..
[       0.000000@00 999] NIC slab memory allocator init...
[       0.000000@00 999] NIC BLOCK SECTION: 0x00000000bc000000 ---> 0x00000000fc000000 [0x0000000040000000]
[       0.000000@00 999] NIC BLOCK SECTION: 0x0000000037400000 ---> 0x0000000038000000 [0x0000000000c00000]
[       0.000000@00 999] NIC BLOCK SECTION: 0x0000000038200000 ---> 0x000000003b5fc000 [0x00000000033fc000]
[       0.000000@00 999] NIC PAGE  SECTION: 0x0000000038004000 ---> 0x0000000038200000 [0x1fc000]
[       0.000000@00 999] NIC code_start:0x37400000 code_end:0x37460000
[       0.000000@00 999] NIC code_start after blocks_init:0x37465528
[       0.000000@00 999] NIC minos : free_memory_start:0x37600000
[       0.000000@00 999] NIC add left bootmem to slab 0x0000000037459b10->0x64f0
[       0.000000@00 999] ERR ramdisk address is not set
[       0.000000@00 999] NIC parsing SMC/HVC handler
[       0.000000@00 999] NIC *** gicv2 init ***
[       0.000000@00 999] NIC gicv2 information: gic_dist_addr=00000000ff841000 size=0x1000 gic_cpu_addr=00000000ff842000 size=0x2000 gic_hyp_addr=00000000ff844000 size=0x2000 gic_vcpu_addr=00000000ff846000 size=0x2000
[       0.000000@00 999] WRN PMD block remap 0xff800000 ---> 0xff800000 @0x200000
[       0.000000@00 999] WRN PMD block remap 0xff800000 ---> 0xff800000 @0x200000
[       0.000000@00 999] NIC GICv2: 256 lines, 4 cpus, secure (IID 200143b).
[       0.000000@00 999] NIC vgicv2 vtr 0x90000003 nr_lrs : 0x4
[       0.000000@00 999] NIC cpu@0 using spin-table relase addr 0x00000000000000d8
[       0.000000@00 999] NIC cpu@1 using spin-table relase addr 0x00000000000000e0
[       0.000000@00 999] NIC cpu@2 using spin-table relase addr 0x00000000000000e8
[       0.000000@00 999] NIC cpu@3 using spin-table relase addr 0x00000000000000f0
[       0.000000@00 999] WRN not support unmask irq_percpu
[       0.000000@00 999] WRN not support unmask irq_percpu
[       0.000000@00 999] WRN not support unmask irq_percpu
[       0.000000@00 999] WRN not support unmask irq_percpu
[       0.000000@00 999] NIC    sec_phy_timer  : 29
[       0.000000@00 999] NIC nonsec_phy_timer  : 30
[       0.000000@00 999] NIC       virt_timer  : 27
[       0.000000@00 999] NIC hypervisor_timer  : 26
[      85.608033@00 999] NIC get timer clock freq from reg 54000
[       0.000000@00 999] NIC boot ticks is :0x1138faf79
[       0.005249@00 999] WRN PMD block remap 0x0 ---> 0x0 @0x200000
[       0.011240@00 999] WRN destroy host mapping 0xe0---->0xe8
[       0.014586@01 999] NIC cpu-1 is up
[       0.017051@00 999] NIC waiting 2 seconds for cpu-1 up
[       0.026259@00 999] WRN destroy host mapping 0xe8---->0xf0
[       0.029597@02 999] NIC cpu-2 is up
[       0.032064@00 999] NIC waiting 2 seconds for cpu-2 up
[       0.041273@00 999] WRN destroy host mapping 0xf0---->0xf8
[       0.044637@03 999] NIC cpu-3 is up
[       0.047079@00 999] NIC waiting 2 seconds for cpu-3 up
[       0.056390@00 999] ERR can not get load-address
[       0.061297@00 999] NIC **** create new vm ****
[       0.066028@00 999] NIC     vmid: 0
[       0.069804@00 999] NIC     name: rpi4_linux_host
[       0.074809@00 999] NIC     os_type: linux
[       0.079199@00 999] NIC     nr_vcpu: 2
[       0.083238@00 999] NIC     entry: 0x0000000000080000
[       0.088594@00 999] NIC     setup_data: 0x0000000003e00000
[       0.094389@00 999] NIC     load-address: 0x0000000000000000
[       0.100360@00 999] NIC     image-file:
[       0.104574@00 999] NIC     dtb-file:
[       0.108613@00 999] NIC     64-bit vm
[       0.112564@00 999] NIC     flags: 0x1
[       0.116603@00 999] NIC     affinity: 0 1 0 0 0 0 0 0
[       0.139547@00 999] WRN virq-chip :brcm,bcm2711-gpio not found
[       0.144929@00 999] NIC create vgicv2 for vm-0
[       0.157777@00 999] NIC vgicv2 address 0xff841000 0x1000 0xff842000 0x2000
[       0.164191@00 999] NIC map gicc 0xff842000 to gicv 0xff846000 size 0x2000
[       0.678663@00 999] ERR invalid vmm_area config 0x00000000fe300000 0x100
[       0.709229@00 999] ERR invalid vmm_area config 0x00000000fe600000 0x100
[       0.756501@00 999] ERR invalid vmm_area config 0x00000000fe200000 0x1000
[       0.878281@00 999] ERR memory region:0x0000000000000e14 not register
[       0.892225@00 999] WRN bad address index 0 for genet-phy@0
[       1.037117@00 999] NIC New cmdline: coherent_pool=1M 8250.nr_uarts=1 earlycon=uart8250,mmio32,0xfe215040 loglevel=9 cma=64M cma=256M video=HDMI-A-1:720x576M@50,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:1C:65:A1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.fiq_fix_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 loglevel=9
[       1.081575@00 999] NIC delete vcpu cpu@2 for vm0
[       1.085822@00 999] NIC delete vcpu cpu@3 for vm0
[       1.101420@00 999] NIC fdt_setup_memory size-cells:1 address-cells:2
[       1.107393@00 999] NIC add memory region to vm0 0x0000000000000000 0x0000000037400000
[       1.115646@00 999] NIC add memory region to vm0 0x0000000040000000 0x000000007c000000
[       1.131716@00 999] NIC vcpu-0 release addr redirect to 0x00000000ff800000
[       1.138157@00 999] NIC vcpu-1 release addr redirect to 0x00000000ff800008
[       1.145348@00 999] NIC raspberry4 setup vm done
[       1.150553@00 999] NIC vm-0 vcpu-0 affnity to pcpu-0
[       1.155604@00 999] NIC vmpidr is 0x0
[       1.159555@00 999] NIC vm-0 vcpu-1 affnity to pcpu-1
[       1.164910@00 999] NIC vmpidr is 0x1                                                                                                                  0
[ mino  1.169579@00 074] NIC release task pid: 73 name: init
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 4.19.76-v8 (pi@raspberrypi) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 SMP PREEMPT Tue Nov 8 10:59:42 CST 2022
[    0.000000] Machine model: Raspberry Pi 4 Model B
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000fe215040 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000027400000
[    0.000000] On node 0 totalpages: 734208
[    0.000000]   DMA32 zone: 3536 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 226304 pages, LIFO batch:63
[    0.000000]   Normal zone: 7936 pages used for memmap
[    0.000000]   Normal zone: 507904 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xb0/0x47c with crng_init=0
[    0.000000] percpu: Embedded 24 pages/cpu s57432 r8192 d32680 u98304
[    0.000000] pcpu-alloc: s57432 r8192 d32680 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for EL2 vector hardening
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 722736
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 earlycon=uart8250,mmio32,0xfe215040 loglevel=9 cma=64M cma=256M video=HDMI-A-1:720x576M@50,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:1C:65:A1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.fiq_fix_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 loglevel=9
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB: mapped [mem 0x233ff000-0x273ff000] (64MB)
[    0.000000] Memory: 2538368K/2936832K available (8572K kernel code, 1034K rwdata, 2592K rodata, 960K init, 1109K bss, 136320K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 28329 entries in 111 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.008331] Console: colour dummy device 80x25
[    0.013233] console [tty1] enabled
[    0.016685] vmbox hvc console init for backend
[    0.021280] can not find the hvc console device
[    0.025907] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.036495] pid_max: default: 32768 minimum: 301
[    0.041435] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.048276] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[       1.745767@00 071] NIC vcpu-1 of vm-0 power on from vm suspend 0x00000000008d31a8
[    0.064904] ASID allocator initialised with 32768 entries
[    0.070677] rcu: Hierarchical SRCU implementation.
[    0.076588] EFI services will not be available.
[    0.081543] smp: Bringing up secondary CPUs ...
[    0.087359] Detected PIPT I-cache on CPU1
[    0.087454] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.087651] smp: Brought up 1 node, 2 CPUs
[    0.102494] SMP: Total of 2 processors activated.
[    0.107274] CPU features: detected: 32-bit EL0 Support
[    0.113214] CPU: All CPU(s) started at EL1
[    0.117412] alternatives: patching kernel code
[    0.123191] devtmpfs: initialized
[    0.134148] Enabled cp15_barrier support
[    0.138217] Enabled setend support
[    0.142038] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.151930] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.164813] pinctrl core: initialized pinctrl subsystem
[    0.170787] DMI not present or invalid.
[    0.174699] register vmbox bus
[    0.178182] NET: Registered protocol family 16
[    0.183836] cpuidle: using governor menu
[    0.188052] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.195564] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.204850] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.211210] Serial: AMBA PL011 UART driver
[    0.215448] find irq domain gic400@40041000
[    0.253316] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.290188] bcm2835-dma fe007000.dma: DMA legacy API manager at (____ptrval____), dmachans=0x1
[    0.301202] vgaarb: loaded
[    0.304248] SCSI subsystem initialized
[    0.308251] usbcore: registered new interface driver usbfs
[    0.313869] usbcore: registered new interface driver hub
[    0.319347] usbcore: registered new device driver usb
[    0.324566] pps_core: LinuxPPS API ver. 1 registered
[    0.329610] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.338883] PTP clock support registered
[    0.343342] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-08-26 14:03, variant start
[    0.353059] raspberrypi-firmware soc:firmware: Firmware hash is 102f1e848393c2112206fadffaaf86db04e98326
[    0.363991] clocksource: Switched to clocksource arch_sys_counter
[    0.447243] VFS: Disk quotas dquot_6.6.0
[    0.451326] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.458475] FS-Cache: Loaded
[    0.461630] CacheFiles: Loaded
[    0.465273] simple-framebuffer chosen:framebuffer@0x3eb30000: No memory resource
[    0.472800] simple-framebuffer: probe of chosen:framebuffer@0x3eb30000 failed with error -22
[    0.492780] NET: Registered protocol family 2
[    0.497871] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    0.505890] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.513417] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.520582] TCP: Hash tables configured (established 32768 bind 32768)
[    0.527419] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.533591] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.540372] NET: Registered protocol family 1
[    0.553622] RPC: Registered named UNIX socket transport module.
[    0.559688] RPC: Registered udp transport module.
[    0.564469] RPC: Registered tcp transport module.
[    0.569245] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.575786] PCI: CLS 0 bytes, default 64
[    0.580913] hw perfevents: failed to parse interrupt-affinity[2] for arm-pmu
[    0.588088] hw perfevents: /arm-pmu: failed to register PMU devices!
[    0.594576] armv8-pmu: probe of arm-pmu failed with error -22
[    0.605179] Initialise system trusted keyrings
[    0.609986] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.623696] FS-Cache: Netfs 'nfs' registered for caching
[    0.633834] NFS: Registering the id_resolver key type
[    0.639006] Key type id_resolver registered
[    0.643259] Key type id_legacy registered
[    0.647344] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.657197] Key type asymmetric registered
[    0.661384] Asymmetric key parser 'x509' registered
[    0.666411] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.674093] io scheduler noop registered
[    0.678103] io scheduler deadline registered
[    0.682587] io scheduler cfq registered (default)
[    0.687388] io scheduler mq-deadline registered
[    0.691997] io scheduler kyber registered
[    0.699153] brcm-pcie fd500000.pcie: could not get clock
[    0.704627] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.711750] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.792034] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.798411] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.804805] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.810392] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.820941] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.827201] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.835638] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.841871] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.849078] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.857343] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.864428] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.872085] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.877138] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.884286] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    0.890076] pci 0000:01:00.0: enabling device (0000 -> 0002)
[   21.446910] pci 0000:01:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x811
[   21.454831] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x8e0 took 20088442 usecs
[   21.462957] bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
[   21.470206] bcm2708_fb soc:fb: FB found 1 display(s)
[   21.475538] raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
[   21.484105] bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
[   21.490847] bcm2708_fb soc:fb: probe failed, err -22
[   21.495907] bcm2708_fb: probe of soc:fb failed with error -22
[   21.503359] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[   21.511796] iproc-rng200 fe104000.rng: hwrng registered
[   21.517407] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[   21.526551] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[   21.534472] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   21.550085] brd: module loaded
[   21.562132] loop: module loaded
[   21.566175] Loading iSCSI transport class v2.0-870.
[   21.573074] libphy: Fixed MDIO Bus: probed
[   21.577734] bcmgenet fd580000.genet: failed to get enet clock
[   21.583582] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[   21.589247] bcmgenet fd580000.genet: failed to get enet-wol clock
[   21.595436] bcmgenet fd580000.genet: failed to get enet-eee clock
[   21.601636] bcmgenet: Skipping UMAC reset
[   21.605936] unimac-mdio unimac-mdio.-19: DMA mask not set
[   21.620031] libphy: bcmgenet MII bus: probed
[   21.648814] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(____ptrval____)
[   21.657861] usbcore: registered new interface driver r8152
[   21.663512] usbcore: registered new interface driver lan78xx
[   21.669312] usbcore: registered new interface driver smsc95xx
[   21.675497] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   21.680850] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[   22.188441] xhci_hcd 0000:01:00.0: can't setup: -110
[   22.193492] xhci_hcd 0000:01:00.0: USB bus 1 deregistered
[   22.199025] xhci_hcd 0000:01:00.0: init 0000:01:00.0 fail, -110
[   22.205070] xhci_hcd: probe of 0000:01:00.0 failed with error -110
[   22.211721] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[   22.217870] dwc_otg fe980000.usb: base=(____ptrval____)
[   22.425527] Core Release: 2.80a
[   22.428735] Setting default values for core params
[   22.433619] Finished setting default values for core params
[   22.641789] Using Buffer DMA mode
[   22.645165] Periodic Transfer Interrupt Enhancement - disabled
[   22.651083] Multiprocessor Interrupt Enhancement - disabled
[   22.656740] OTG VER PARAM: 0, OTG VER FLAG: 0
[   22.661168] Dedicated Tx FIFOs mode
[   22.665136] WARN::dwc_otg_hcd_init:1043: FIQ DMA bounce buffers: virt = ffffff8008fd9000 dma = 0x00000000e7504000 len=9024
[   22.676373] FIQ FSM acceleration enabled for :
[   22.676373] Non-periodic Split Transactions
[   22.676373] Periodic Split Transactions
[   22.676373] High-Speed Isochronous Endpoints
[   22.676373] Interrupt/Control Split Transaction hack enabled
[   22.699006] dwc_otg: Microframe scheduler enabled
[   22.703857] WARN::hcd_init_fiq:496: MPHI regs_base at ffffff8008e85200
[   22.710569] dwc_otg fe980000.usb: DWC OTG Controller
[   22.715639] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 1
[   22.723084] dwc_otg fe980000.usb: irq 357, io mem 0x00000000
[   22.728872] Init: Port Power? op_state=1
[   22.732859] Init: Power Port (0)
[   22.736401] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   22.744792] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   22.752128] usb usb1: Product: DWC OTG Controller
[   22.756909] usb usb1: Manufacturer: Linux 4.19.76-v8 dwc_otg_hcd
[   22.763007] usb usb1: SerialNumber: fe980000.usb
[   22.768256] hub 1-0:1.0: USB hub found
[   22.772125] hub 1-0:1.0: 1 port detected
[   22.776717] dwc_otg: FIQ enabled
[   22.780023] dwc_otg: NAK holdoff enabled
[   22.784016] dwc_otg: FIQ split-transaction FSM enabled
[   22.789246] Module dwc_common_port init
[   22.793401] usbcore: registered new interface driver uas
[   22.798866] usbcore: registered new interface driver usb-storage
[   22.805143] mousedev: PS/2 mouse device common for all mice
[   22.812095] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[   22.818764] bcm2835-cpufreq: min=600000 max=1500000
[   22.824342] sdhci: Secure Digital Host Controller Interface driver
[   22.830626] sdhci: Copyright(c) Pierre Ossman
[   22.835465] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[   22.842838] sdhci-pltfm: SDHCI platform and OF driver helper
[   22.851541] ledtrig-cpu: registered to indicate activity on CPUs
[   22.857791] hidraw: raw HID events driver (C) Jiri Kosina
[   22.863430] usbcore: registered new interface driver usbhid
[   22.869093] usbhid: USB HID core driver
[   22.873757] vchiq: vchiq_init_state: slot_zero = (____ptrval____), is_master = 0
[   22.883885] Minos Hyperviosr Driver Init ...
[   22.888426] Minos Hyperviosr Driver Init Done
[   22.893141] register vmbox controller driver
[   22.898050] register vmbox driver: vmbox-console...
[   22.903064] register vmbox driver: vmbox-veth...
[   22.908064] Initializing XFRM netlink socket
[   22.912436] NET: Registered protocol family 17
[   22.917041] Key type dns_resolver registered
[   22.922064] registered taskstats version 1
[   22.926245] Loading compiled-in X.509 certificates
[   22.938217] uart-pl011 fe201000.serial: cts_event_workaround enabled
[   22.944781] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 353, base_baud = 0) is a PL011 rev2
[   22.957145] console [ttyS0] disabled
[   22.960838] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 355, base_baud = 62500000) is a 16550
[   22.969348] console [ttyS0] enabled
[   22.969348] console [ttyS0] enabled
[   22.976458] bootconsole [uart8250] disabled
[   22.976458] bootconsole [uart8250] disabled
[   22.985410] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[   22.993357] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[   23.001726] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[   23.007859] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[   23.039853] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
[   23.062908] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[   23.070181] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[   23.077448] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[   23.083074] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[   23.093504] of_cfs_init
[   23.096072] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[   23.096179] of_cfs_init: OK
[   23.105895] Waiting for root device /dev/mmcblk0p2...
[   23.105945] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[   23.160066] mmc0: invalid bus width
[   23.163624] mmc0: error -22 whilst initialising SD card
[   23.183120] random: fast init done
[   23.204790] mmc1: new high speed SDIO card at address 0001
[   23.242681] mmc0: invalid bus width
[   23.246263] mmc0: error -22 whilst initialising SD card
[   23.325288] mmc0: invalid bus width
[   23.328869] mmc0: error -22 whilst initialising SD card
[   23.424177] mmc0: invalid bus width
[   23.427732] mmc0: error -22 whilst initialising SD card
[   24.523682] mmc0: invalid bus width
[   24.527261] mmc0: error -22 whilst initialising SD card
[   24.598016] mmc0: invalid bus width
[   24.601597] mmc0: error -22 whilst initialising SD card
[   24.680566] mmc0: invalid bus width
[   24.684144] mmc0: error -22 whilst initialising SD card
[   24.779531] mmc0: invalid bus width
[   24.783110] mmc0: error -22 whilst initialising SD card
[   25.867562] mmc0: invalid bus width
[   25.871139] mmc0: error -22 whilst initialising SD card
[   25.941887] mmc0: invalid bus width
[   25.945469] mmc0: error -22 whilst initialising SD card
[   26.024453] mmc0: invalid bus width
[   26.028032] mmc0: error -22 whilst initialising SD card
[   26.123331] mmc0: invalid bus width
[   26.126909] mmc0: error -22 whilst initialising SD card
[   27.208795] mmc0: invalid bus width
[   27.212372] mmc0: error -22 whilst initialising SD card
[   27.283141] mmc0: invalid bus width
[   27.286721] mmc0: error -22 whilst initialising SD card
[   27.365768] mmc0: invalid bus width
[   27.369346] mmc0: error -22 whilst initialising SD card
[   27.464705] mmc0: invalid bus width
[   27.468283] mmc0: error -22 whilst initialising SD card
[   28.555548] mmc0: invalid bus width
@lemin9538
Copy link
Contributor

从log看 应该是emmc controller的dts可能有问题,你的vm0 dts image是怎么生成的?

V0.4我没有在rpi4上测试过,需要自己移植下。

@InfluencerNGZK
Copy link
Author

InfluencerNGZK commented Nov 11, 2022

参考v0.3.4版本的文档
vm0.dtbminos-misc目录获取
dts文件是dtbs文件夹下自带的
Image是rpi4分支下的Linux编译生成的

没太理解您说dts有问题具体指什么?

@wusnga8dn
Copy link

参考v0.3.4版本的文档 vm0.dtbminos-misc目录获取 dts文件是dtbs文件夹下自带的 Image是rpi4分支下的Linux编译生成的

没太理解您说dts有问题具体指什么?
你好我想请问一下,你将这个项目正常运行起来了吗,用的什么版本的树莓派系统?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants