Genadi Manoilenko Posted 6 hours ago Posted 6 hours ago Hello community Here are the versions I’m using: Kernel: 5.15.48-sunxi OS: Linux nanopineo 5.15.48-sunxi #22.05.3 SMP Wed Feb 19 15:56:03 UTC 2025 armv7l GNU/Linux I’m having a problem. Sometimes, during boot, I see the following log: Quote U-Boot SPL 2021.10-armbian (Feb 19 2025 - 15:25:27 +0000) DRAM: 512 MiB Trying to boot from MMC2 U-Boot 2021.10-armbian (Feb 19 2025 - 15:25:27 +0000) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO DRAM: 512 MiB MMC: mmc@1c0f000: 0, mmc@1c11000: 1 Loading Environment from FAT... Unable to use mmc 1:1... In: serial Out: serial Err: serial Net: phy interface0 Error: ethernet@1c30000 address not set. No ethernet found. starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1d000: USB EHCI 1.00 Bus usb@1c1d400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1d000 for devices... 1 USB Device(s) found scanning bus usb@1c1d400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3965 bytes read in 2 ms (1.9 MiB/s) ## Executing script at 43100000 Unknown command '#' - try 'help' U-boot loaded from eMMC or secondary SD Boot script loaded from mmc 553 bytes read in 1 ms (540 KiB/s) 11910689 bytes read in 377 ms (30.1 MiB/s) 8378424 bytes read in 266 ms (30 MiB/s) Found mainline kernel configuration 30287 bytes read in 4 ms (7.2 MiB/s) Failed to load '/boot/dtb/overlay/-fixup.scr' Kernel image @ 0x42000000 [ 0x000000 - 0x7fd838 ] ## Loading init Ramdisk from Legacy Image at 43400000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 11910625 Bytes = 11.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 EHCI failed to shut down host controller. Loading Ramdisk to 494a4000, end 49fffde1 ... OK Loading Device Tree to 49434000, end 494a3fff ... OK Starting kernel ... After this message, the system halts. The only way to fix it is to flash the image again or to boot from an SD card and mount the EMMC which fixes the file system. I noticed that the device doesn’t use the overlay_prefix variable from /boot/armbianEnv.txt. It shows this message: Quote Failed to load '/boot/dtb/overlay/-fixup.scr' I tried adding the overlay_prefix variable manually in the boot.cmd file, but it didn’t help. Previously, I changed: Quote setenv devnum "0" to Quote setenv devnum "1" Could that be the cause? I changed it back to default Quote setenv devnum "0" but the problem still happens. Do you have any ideas what could be wrong? 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.