Jump to content

NanoPi R1 boot stuck in "Starting kernel.."


samuel000

Recommended Posts

Hi, i am beginner in SBC other than Rapsberry Pi and i just got my NanoPi R1 with case.

 

I try power the board without SD card for the first time and i see that friendlyWRT already installed but i would like to use a general OS. Since i can't download the official OS from friendlyelec, i saw that armbian is another way and might be better.

 

I follow all step in quick start guide page, and can't even get my board boot up. Below is the list of OS that i try with SD card:

 

- Armbian_22.11.1_Nanopi-r1_jammy_current_5.15.80_minimal

- Armbian_22.11.1_Nanopi-r1_bullseye_current_5.15.80

- Armbian_22.11.1_Nanopi-r1_bullseye_current_5.15.80_minimal

- Armbian_22.02.1_Nanopi-r1_bullseye_current_5.15.25

- Armbian_21.08.1_Nanopi-r1_buster_current_5.10.60

- Armbian_21.08.1_Nanopi-r1_bullseye_current_5.10.60

- Armbian_21.05.1_Nanopi-r1_buster_current_5.10.34

- Armbian_21.02.1_Nanopi-r1_buster_current_5.10.12

- Armbian_22.08.1_Nanopi-r1_bullseye_current_5.15.63

- Armbian_22.05.4_Nanopi-r1_bullseye_current_5.15.48

- Armbian_22.02.1_Nanopi-r1_focal_current_5.15.25

 

In each sd card flash, i always format the sd card using SD Card Formatter. There are different outputs from all image above:

 

No output at all

Happen in 5.10.12 

 

Stuck in "starting kernel.."

Happen in 5.10.34 , 5.10.48 and 5.10.25 images

 

U-Boot SPL 2021.10-armbian (Feb 27 2022 - 08:49:47 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2021.10-armbian (Feb 27 2022 - 08:49:47 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi R1
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial
Out:   serial
Err:   serial
Net:   phy interface7

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
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3964 bytes read in 2 ms (1.9 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
237 bytes read in 2 ms (115.2 KiB/s)
11387894 bytes read in 473 ms (23 MiB/s)
8303240 bytes read in 347 ms (22.8 MiB/s)
Found mainline kernel configuration
33828 bytes read in 7 ms (4.6 MiB/s)
504 bytes read in 6 ms (82 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost0.dtbo
504 bytes read in 6 ms (82 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
502 bytes read in 5 ms (97.7 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart1.dtbo
4185 bytes read in 6 ms (680.7 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 45000000
Kernel image @ 0x42000000 [ 0x000000 - 0x7eb288 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11387830 Bytes = 10.9 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 49523000, end 49fff3b6 ... OK
   Loading Device Tree to 494b2000, end 49522fff ... OK

Starting kernel ...

 

 

Everything is timeout and open some kind of console

 

It happen in 5.15.80 and 5.10.60 images

 

U-Boot SPL 2022.07-armbian (Nov 30 2022 - 10:45:40 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2022.07-armbian (Nov 30 2022 - 10:45:40 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  1 GiB
Core:  60 devices, 17 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial
Out:   serial
Err:   serial
Net:   phy interface1
eth0: ethernet@1c30000
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
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
4021 bytes read in 2 ms (1.9 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
229 bytes read in 2 ms (111.3 KiB/s)
11798171 bytes read in 489 ms (23 MiB/s)
8393496 bytes read in 349 ms (22.9 MiB/s)
Found mainline kernel configuration
Failed to load '/boot/dtb/allwinner/sun8i-h3-nanopi-r1.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
504 bytes read in 6 ms (82 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost0.dtbo
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
504 bytes read in 6 ms (82 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
502 bytes read in 6 ms (81.1 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart1.dtbo
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Error applying DT overlays, restoring original DT
Failed to load '/boot/dtb/allwinner/sun8i-h3-nanopi-r1.dtb'
Kernel image @ 0x42000000 [ 0x000000 - 0x801318 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11798107 Bytes = 11.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image

Device 0: unknown device
sun8i_emac_eth_start: Timeout
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-02-81-6c-b0-b3-e0
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/00000000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/0000000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/000000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/00000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/0000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/000
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/00
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/0
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/default-arm-sunxi
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/default-arm
sun8i_emac_eth_start: Timeout
Retrieving file: pxelinux.cfg/default
sun8i_emac_eth_start: Timeout
Config file not found
sun8i_emac_eth_start: Timeout
sun8i_emac_eth_start: Timeout
=>

 

 

I don't know this info matter or not, but the red led on the board is blinking, same pattern when the image output stuck in "starting kernel" and when SD card is not attached. Also, i even flash the SD with dietpi OS, but it has the same output with stuck in "starting kernel". I wait multiple times but nothing happen in after "starting kernel".

 

Any help appreciated! Thank you!

Link to comment
Share on other sites

Welcome to Armbian community support.

 

14 hours ago, samuel000 said:

Hi, i am beginner in SBC other than Rapsberry Pi

 

This is pretty step step :huh: This also means you need to get familiar with some facts first https://docs.armbian.com/User-Guide_FAQ/ If our image is broken, then re-branded image into Dietpi (stealing credits and abusing support is most used way of piracy in free licence software world) images are usually also broken.

 

Small chances, but worth trying. A new release is coming out,

but there is little we can do in few days before new release. Even removing this board from the download pages represent some efforts, so others won't waste their time trying broken images. Unless someone steps up, donate his time to fix a problem and asks if there is anything to help out.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines