OrangePi Zero/IPFire Nano stuck at boot after Core Upgrade 159

Hi all,

I’ve been using ipfire since 2 years now without any issues.

After Upgrade to Core Update 159 my ipfire is not booting anymore.

I can workaround if I make a fresh SD-card with Core Update 131 and upgrade to 159 or 160.

BUT as soon as I cut off power, my device get stuck at boot again (tested it 5 times, with different SD-cards):

U-Boot SPL 2018.03 (May 02 2019 - 21:53:04 +0000)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2018.03 (May 02 2019 - 21:53:04 +0000) OrangePi Zero/IPFire Nano - IPFire.org

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Failed (-5)
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2451 bytes read in 30 ms (79.1 KiB/s)
## Executing script at 43100000
70 bytes read in 14 ms (4.9 KiB/s)
Load uEnv.txt...
...
Set console to ttyS0,115200
5666904 bytes read in 278 ms (19.4 MiB/s)
** Unable to read file dtb-5.10.55-ipfire/sun8i-h2-plus-ipfire-nano.dtb **

7107732 bytes read in 345 ms (19.6 MiB/s)
Ramdisk loaded...
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    7107668 Bytes = 6.8 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
Unknown command 'booti' - try 'help'
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Unknown command 'booti' - try 'help'
SCRIPT FAILED: continuing...

Device 0: device type unknown
... is now current device
** Bad device usb 0 **
** Bad device usb 0 **
_sun8i_emac_eth_init: Timeout
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-02-81-bf-6e-b2-8c
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4

Thanks in advance for your support!

At my knowledge the IPFire nano was never finished and official supported. I have not ported the devicetree file to kernel 5.10.x
Try to chose an existing devicetree file in uENV.txt
I hope sun8i-h2-plus-orangepi-zero.dtb will work but im not sure…

Thanks Arne for your quick response!

Changing the devicetree was promising, because it boots now!

But bringing up “Red” Interface fails now, probably due to missing firmware for “Realtek RTL8152” Adapter.

Do I have any other option, e.g. install driver,… or do I have to trash my device?