I used your rpi-uboot project to build the u-boot-bcm2710-rpi-zero-2-w.bin firmware, and then used it to boot the kernel on my Raspberry Pi Zero 2 W.
However, when the kernel is started through U-Boot, it cannot detect the SD card. Have you ever encountered this issue before?
I’m quite confused about this, because when I boot the kernel through the normal GPU firmware path, the SD card can be recognized correctly. The problem only appears when booting through U-Boot.
U-Boot 2023.07.02-dirty (Mar 18 2026 - 11:11:19 +0800)
DRAM: 448 MiB
RPI Zero 2 W (0x902120)
Core: 66 devices, 14 uclasses, devicetree: embed
MMC: mmc@7e202000: 0, mmc@7e300000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial
Out: vidconsole
Err: vidconsole
Net: No ethernet found.
starting USB...
Bus usb@7e980000: USB DWC2
scanning bus usb@7e980000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-bcm283x
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
U-Boot>
U-Boot> setenv bootargs "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=B8:27:EB:B3:62:73 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x0x20000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p rootfstype=ext4 fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB loglevel=8 ignore_loglevel"
U-Boot> saveenv
Saving Environment to FAT... OK
U-Boot> fatload mmc 0:1 ${kernel_addr_r} kernel8.img
27634176 bytes read in 1161 ms (22.7 MiB/s)
U-Boot> booti ${kernel_addr_r} - ${fdt_addr}
Moving Image from 0x80000 to 0x200000, end=1d00000
## Flattened Device Tree blob at 1bfe6400
Booting using the fdt blob at 0x1bfe6400
Working FDT set to 1bfe6400
ERROR: reserving fdt memory region failed (addr=0 size=1000 flags=0)
Using Device Tree in place at 000000001bfe6400, end 000000001bff2f01
Working FDT set to 1bfe6400
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.12.47test+rpt-rpi-v8+ (nihao@nihao-z690) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #26 SMP PREEMPT Wed Mar 18 10:04:08 CST 2026
[ 0.000000] KASLR enabled
[ 0.000000] random: crng init done
[ 0.000000] Machine model: Raspberry Pi Compute Module 0 Rev 1.0
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000000bc00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x000000000bc00000..0x000000001bbfffff (262144 KiB) map reusable linux,cma
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1bee8380-0x1beeb07f]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
[ 0.000000] percpu: Embedded 33 pages/cpu s95192 r8192 d31784 u135168
[ 0.000000] pcpu-alloc: s95192 r8192 d31784 u135168 alloc=33*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=B8:27:EB:B3:62:73 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x0x20000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p rootfstype=ext4 fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB loglevel=8 ignore_loglevel
[ 0.000000] cgroup: Disabling memory control group subsystem
[ 0.000000] Booting kernel: `0x0x20000000' invalid for parameter` vc_mem.mem_size'
[ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 114688
[ 0.000000] Policy zone: DMA
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 45674 entries in 179 pages
[ 0.000000] ftrace: allocated 179 pages with 5 groups
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: bcm2836_arm_irqchip_handle_irq
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000003] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000415] Console: colour dummy device 80x25
[ 0.000437] printk: legacy console [tty1] enabled
[ 0.001615] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[ 0.001670] pid_max: default: 32768 minimum: 301
[ 0.001793] LSM: initializing lsm=capability
[ 0.002071] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.002117] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.006109] rcu: Hierarchical SRCU implementation.
[ 0.006160] rcu: Max phase no-delay instances is 1000.
[ 0.006589] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.008717] EFI services will not be available.
[ 0.009160] smp: Bringing up secondary CPUs ...
[ 0.010092] Detected VIPT I-cache on CPU1
[ 0.010265] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.011742] Detected VIPT I-cache on CPU2
[ 0.011882] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.013355] Detected VIPT I-cache on CPU3
[ 0.013498] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.013918] smp: Brought up 1 node, 4 CPUs
[ 0.014058] SMP: Total of 4 processors activated.
[ 0.014082] CPU: All CPU(s) started at EL2
[ 0.014121] CPU features: detected: 32-bit EL0 Support
[ 0.014145] CPU features: detected: 32-bit EL1 Support
[ 0.014174] CPU features: detected: CRC32 instructions
[ 0.014290] alternatives: applying system-wide alternatives
[ 0.016821] Memory: 154092K/458752K available (14144K kernel code, 2410K rwdata, 4856K rodata, 5440K init, 578K bss, 37892K reserved, 262144K cma-reserved)
[ 0.017556] devtmpfs: initialized
[ 0.032897] Enabled cp15_barrier support
[ 0.032971] Enabled setend support
[ 0.033255] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.033314] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.048121] 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[ 0.048199] 0 pages in range for non-PLT usage
[ 0.048210] 517376 pages in range for PLT usage
[ 0.048560] pinctrl core: initialized pinctrl subsystem
[ 0.049683] DMI not present or invalid.
[ 0.053699] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.060757] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.061309] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.062067] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.062189] audit: initializing netlink subsys (disabled)
[ 0.062584] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[ 0.063502] thermal_sys: Registered thermal governor 'step_wise'
[ 0.063570] cpuidle: using governor menu
[ 0.063971] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.064183] ASID allocator initialised with 32768 entries
[ 0.065579] Serial: AMBA PL011 UART driver
[ 0.072707] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[ 0.073033] /soc/i2c0mux/i2c@1/imx219@10: Fixed dependency cycle(s) with /soc/csi@7e801000
[ 0.074120] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.077183] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[ 0.080937] /soc/i2c0mux/i2c@1/imx219@10: Fixed dependency cycle(s) with /soc/csi@7e801000
[ 0.089666] raspberrypi-firmware soc:firmware: Attached to firmware from 2025-08-20T17:04:09, variant start
[ 0.093671] raspberrypi-firmware soc:firmware: Firmware hash is cd866525580337c0aee4b25880e1f5f9f674fb24
[ 0.107881] bcm2835-dma 3f007000.dma-controller: DMA legacy API manager, dmachans=0x1
[ 0.111171] iommu: Default domain type: Translated
[ 0.111231] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.112082] SCSI subsystem initialized
[ 0.112408] usbcore: registered new interface driver usbfs
[ 0.112496] usbcore: registered new interface driver hub
[ 0.112589] usbcore: registered new device driver usb
[ 0.113194] pps_core: LinuxPPS API ver. 1 registered
[ 0.113224] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.113278] PTP clock support registered
[ 0.115392] vgaarb: loaded
[ 0.116213] clocksource: Switched to clocksource arch_sys_counter
[ 2.066245] VFS: Disk quotas dquot_6.6.0
[ 2.066352] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.077491] NET: Registered PF_INET protocol family
[ 2.077758] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.078983] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.079048] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.079094] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.079240] TCP bind hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 2.079379] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.079670] MPTCP token hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 2.079764] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.079823] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.080045] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.080856] RPC: Registered named UNIX socket transport module.
[ 2.080894] RPC: Registered udp transport module.
[ 2.080918] RPC: Registered tcp transport module.
[ 2.080941] RPC: Registered tcp-with-tls transport module.
[ 2.080964] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.081004] PCI: CLS 0 bytes, default 64
[ 2.089244] kvm [1]: nv: 554 coarse grained trap handlers
[ 2.090129] kvm [1]: IPA Size Limit: 40 bits
[ 2.092347] kvm [1]: Hyp nVHE mode initialized successfully
[ 2.096755] Initialise system trusted keyrings
[ 2.097197] workingset: timestamp_bits=42 max_order=17 bucket_order=0
[ 2.098335] NFS: Registering the id_resolver key type
[ 2.098390] Key type id_resolver registered
[ 2.098415] Key type id_legacy registered
[ 2.098474] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.098508] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 2.099457] Key type asymmetric registered
[ 2.099489] Asymmetric key parser 'x509' registered
[ 2.099604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 2.099879] io scheduler mq-deadline registered
[ 2.099912] io scheduler kyber registered
[ 2.099972] io scheduler bfq registered
[ 2.104372] pinctrl-bcm2835 3f200000.gpio: GPIO_OUT persistence: yes
[ 2.107550] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.109259] simple-framebuffer 1e330000.framebuffer: framebuffer at 0x1e330000, 0x8ca000 bytes
[ 2.109318] simple-framebuffer 1e330000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680
[ 2.132825] Console: switching to colour frame buffer device 240x75
[ 2.154378] simple-framebuffer 1e330000.framebuffer: fb0: simplefb registered!
[ 2.159063] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 2.162104] bcm2835-rng 3f104000.rng: hwrng registered
[ 2.162688] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x00000000(0 MiB)
[ 2.178501] brd: module loaded
[ 2.187412] loop: module loaded
[ 2.188678] Loading iSCSI transport class v2.0-870.
[ 2.195351] usbcore: registered new interface driver lan78xx
[ 2.195581] usbcore: registered new interface driver smsc95xx
[ 2.196079] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.396963] Core Release: 2.80a
[ 2.397064] Setting default values for core params
[ 2.397185] Finished setting default values for core params
[ 2.597630] Using Buffer DMA mode
[ 2.597711] Periodic Transfer Interrupt Enhancement - disabled
[ 2.597825] Multiprocessor Interrupt Enhancement - disabled
[ 2.597937] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.598036] Dedicated Tx FIFOs mode
[ 2.600616] INFO:: FIQ DMA bounce buffers: virt = ffffffc080981000 dma = 0x00000000cc000000 len=9024
[ 2.600824] FIQ FSM acceleration enabled for :
[ 2.600824] Non-periodic Split Transactions
[ 2.600824] Periodic Split Transactions
[ 2.600824] High-Speed Isochronous Endpoints
[ 2.600824] Interrupt/Control Split Transaction hack enabled
[ 2.601216] dwc_otg: Microframe scheduler enabled
[ 2.601377] INFO:: MPHI regs_base at ffffffc08006d000
[ 2.601546] dwc_otg 3f980000.usb: DWC OTG Controller
[ 2.601678] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 2.601869] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000
[ 2.602029] Init: Port Power? op_state=1
[ 2.602113] Init: Power Port (0)
[ 2.602467] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.602637] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.602782] usb usb1: Product: DWC OTG Controller
[ 2.602883] usb usb1: Manufacturer: Linux 6.12.47test+rpt-rpi-v8+ dwc_otg_hcd
[ 2.603021] usb usb1: SerialNumber: 3f980000.usb
[ 2.603957] hub 1-0:1.0: USB hub found
[ 2.604090] hub 1-0:1.0: 1 port detected
[ 2.604973] dwc_otg: FIQ enabled
[ 2.605053] dwc_otg: NAK holdoff enabled
[ 2.605135] dwc_otg: FIQ split-transaction FSM enabled
[ 2.605248] Module dwc_common_port init
[ 2.607189] usbcore: registered new interface driver uas
[ 2.607411] usbcore: registered new interface driver usb-storage
[ 2.608157] mousedev: PS/2 mouse device common for all mice
[ 2.617040] sdhci: Secure Digital Host Controller Interface driver
[ 2.622587] sdhci: Copyright(c) Pierre Ossman
[ 2.626287] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.629855] hid: raw HID events driver (C) Jiri Kosina
[ 2.633266] usbcore: registered new interface driver usbhid
[ 2.636480] usbhid: USB HID core driver
[ 2.639676] SPI driver fb_st7789v_m5stack has no spi_device_id for sitronix,st7789v_m5stack
[ 2.642926] SPI driver fb_st7789v_m5stack has no spi_device_id for fbtft,minipitft13
[ 2.646542] bcm2835_vchiq 3f00b840.mailbox: there is not valid maps for state default
[ 2.654480] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available
[ 2.659386] NET: Registered PF_PACKET protocol family
[ 2.662899] Key type dns_resolver registered
[ 2.689597] registered taskstats version 1
[ 2.693343] Loading compiled-in X.509 certificates
[ 2.705204] Demotion targets for Node 0: null
[ 2.710529] Key type .fscrypt registered
[ 2.713900] Key type fscrypt-provisioning registered
[ 2.718499] Indeed it is in host mode hprt0 = 00021501
[ 2.733514] uart-pl011 3f201000.serial: there is not valid maps for state default
[ 2.737209] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 2.740926] 3f201000.serial: ttyAMA1 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[ 2.744470] serial serial0: tty port ttyAMA1 registered
[ 2.749278] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
[ 2.753081] printk: legacy console [ttyS0] disabled
[ 2.756903] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 71, base_baud = 50000000) is a 16550
[ 2.760262] printk: legacy console [ttyS0] enabled
[ 2.908222] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.910120] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 2.915674] Indeed it is in host mode hprt0 = 00001101
[ 2.921079] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 3.196030] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=60.60
[ 3.204801] py32io-gpio 1-006f: py32io16 probe()
[ 3.211230] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.211240] usb 1-1: Product: USB2.0 Hub
[ 3.222683] hub 1-1:1.0: USB hub found
[ 3.226135] py32io-gpio 1-006f: Pinctrl device registered with 14 pins
[ 3.237650] hub 1-1:1.0: 4 ports detected
[ 3.406074] py32io-gpio 1-006f: PWM device registered with 4 channels
[ 4.300581] py32io-gpio 1-006f: Reference voltage: 3311 mV
[ 4.309848] py32io-gpio 1-006f: ADC device registered with 6 channels
[ 4.319829] py32io-gpio 1-006f: probe finished successfully
[ 4.331028] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 4.340787] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 4.375751] pwm-backlight backlight: Backlight will be forced on during initialization
[ 4.387219] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 4.397515] pwm-backlight backlight: Force enable backlight on initialization
[ 4.411743] fb_st7789v_m5stack spi0.0: fbtft_property_value: width = 170
[ 4.422073] fb_st7789v_m5stack spi0.0: fbtft_property_value: height = 320
[ 4.432437] fb_st7789v_m5stack spi0.0: fbtft_property_value: buswidth = 8
[ 4.442762] fb_st7789v_m5stack spi0.0: fbtft_property_value: backlight = 170
[ 4.453299] fb_st7789v_m5stack spi0.0: fbtft_property_value: debug = 0
[ 4.463316] fb_st7789v_m5stack spi0.0: fbtft_property_value: rotate = 90
[ 4.473486] fb_st7789v_m5stack spi0.0: fbtft_property_value: fps = 30
[ 4.483327] fb_st7789v_m5stack spi0.0: fbtft_property_value: txbuflen = 32768
[ 4.494838] fb_st7789v_m5stack spi0.0: ram-x-offset: 0
[ 4.503371] fb_st7789v_m5stack spi0.0: ram-y-offset: 35
[ 4.512705] usb 1-1.1: New USB device found, idVendor=0fe6, idProduct=9900, bcdDevice=20.00
[ 4.524536] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.535228] usb 1-1.1: Product: USB 10/100 LAN
[ 4.543041] usb 1-1.1: Manufacturer: CoreChips
[ 4.550801] usb 1-1.1: SerialNumber: 00E09A252762
[ 4.652300] mmc1: new high speed SDIO card at address 0001
[ 4.661792] graphics fb1: fb_st7789v_m5st frame buffer, 320x170, 106 KiB video memory, 32 KiB buffer memory, fps=31, spi0.0 at 40 MHz
[ 4.677573] of_cfs_init
[ 4.683595] of_cfs_init: OK
[ 4.690046] clk: Disabling unused clocks
[ 4.697726] PM: genpd: Disabling unused power domains
[ 4.706608] Waiting for root device /dev/mmcblk0p...
Hi Takumin,
I used your rpi-uboot project to build the u-boot-bcm2710-rpi-zero-2-w.bin firmware, and then used it to boot the kernel on my Raspberry Pi Zero 2 W.
However, when the kernel is started through U-Boot, it cannot detect the SD card. Have you ever encountered this issue before?
I’m quite confused about this, because when I boot the kernel through the normal GPU firmware path, the SD card can be recognized correctly. The problem only appears when booting through U-Boot.
The boot log is attached below for reference:
Best regards,
dianjixz