Yesterday, I was running the latest armbian image with the old U-Boot from 2019 and all was working fine until I rebooted the device, then the network didn't come back, I couldn't connect via SSH (my device is headless). Unfortunately, I didn't have have any log since I had no choice but to switch it off. So I think there really is something strange here. More testing needed.
Edit: I've run a few tests with connected UART to USB in order to see it live.
So, in fact eth0 is here and active, the problem reside elsewhere, I've got a boot loop in U-Boot whith messages like it can't mount the filesystem
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Full log of the boot loop:
INFO: PSCI Affinity Map:
INFO: AffInst: Level 0, MPID 0x0, State ON
INFO: AffInst: Level 0, MPID 0x1, State OFF
INFO: AffInst: Level 0, MPID 0x2, State OFF
INFO: AffInst: Level 0, MPID 0x3, State OFF
bl31 reb▒GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 114072
no sdio debug board detected
BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton
Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
, des: 0x10100000, size: 0x00011130
--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00080f90
ef be ad de d f0 ad ba ef be ad de not ES chip
[0.228833 Inits done]
secure task start!
high task start!
low task start!
NOTICE: BL3-1: v1.0(debug):4d2e34d
NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2019.07-armbian (Sep 02 2019 - 01:17:47 +0200) odroid-c2
Model: Hardkernel ODROID-C2
Soc: Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM: 2 GiB
MMC: mmc@72000: 0, mmc@74000: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@c9410000
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/boot.scr
7159 bytes read in 2 ms (3.4 MiB/s)
## Executing script at 08000000
186 bytes read in 2 ms (90.8 KiB/s)
** fs_devread read error - block
** fs_devread read error - block
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
## Loading init Ramdisk from Legacy Image at 13000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 13869975 Bytes = 13.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 04080000
Booting using the fdt blob at 0x4080000
Loading Ramdisk to 7d222000, end 7df5c397 ... OK
Loading Device Tree to 000000007d1b0000, end 000000007d221fff ... OK
Starting kernel ...
"Synchronous Abort" handler, esr 0x02000000
elr: ffffffffb63e7000 lr : 00000000010023a4 (reloc)
elr: 0000000035350000 lr : 000000007ff6b3a4
x0 : 000000007d1b0000 x1 : 0000000000000000
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 0000000034000000 x5 : 0000000000000001
x6 : 0000000000000008 x7 : 0000000000000000
x8 : 000000007df976a0 x9 : 0000000000000002
x10: 000000000a200023 x11: 0000000000000002
x12: 0000000000000002 x13: 000000007df66e0e
x14: 000000007df5df3c x15: 000000007ff6aa60
x16: 0000000000000000 x17: 0000000000000020
x18: 000000007df66df8 x19: 000000007ffe4f48
x20: 0000000000000000 x21: 0000000000000000
x22: 0000000000000003 x23: 000000007df96df8
x24: 000000007ffd1c18 x25: 0000000000000000
x26: 000000007ff6b3cc x27: 0000000000000000
x28: 0000000000000400 x29: 000000007df5e010
Resetting CPU ...
resetting ...
INFO: PSCI Affinity Map:
INFO: AffInst: Level 0, MPID 0x0, State ON
INFO: AffInst: Level 0, MPID 0x1, State OFF
INFO: AffInst: Level 0, MPID 0x2, State OFF
INFO: AffInst: Level 0, MPID 0x3, State OFF
bl31 reb▒GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 162131
no sdio debug board detected
BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton
Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
0x10100000, size: 0x0001113020200, des
--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.317743 Inits done]
secure task start!
high task start!
low task start!
Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00080f90
NOTICE: BL3-1: v1.0(debug):4d2e34d
NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2019.07-armbian (Sep 02 2019 - 01:17:47 +0200) odroid-c2
Model: Hardkernel ODROID-C2
Soc: Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM: 2 GiB
MMC: mmc@72000: 0, mmc@74000: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@c9410000
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/boot.scr
7159 bytes read in 3 ms (2.3 MiB/s)
## Executing script at 08000000
186 bytes read in 2 ms (90.8 KiB/s)
** fs_devread read error - block
** fs_devread read error - block
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
## Loading init Ramdisk from Legacy Image at 13000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 13869975 Bytes = 13.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 04080000
Booting using the fdt blob at 0x4080000
Loading Ramdisk to 7d222000, end 7df5c397 ... OK
Loading Device Tree to 000000007d1b0000, end 000000007d221fff ... OK
Starting kernel ...
"Synchronous Abort" handler, esr 0x02000000
elr: ffffffffb63e7000 lr : 00000000010023a4 (reloc)
elr: 0000000035350000 lr : 000000007ff6b3a4
x0 : 000000007d1b0000 x1 : 0000000000000000
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 0000000034000000 x5 : 0000000000000001
x6 : 0000000000000008 x7 : 0000000000000000
x8 : 000000007df976a0 x9 : 0000000000000002
x10: 000000000a200023 x11: 0000000000000002
x12: 0000000000000002 x13: 000000007df66e0e
x14: 000000007df5df3c x15: 000000007ff6aa60
x16: 0000000000000000 x17: 0000000000000020
x18: 000000007df66df8 x19: 000000007ffe4f48
x20: 0000000000000000 x21: 0000000000000000
x22: 0000000000000003 x23: 000000007df96df8
x24: 000000007ffd1c18 x25: 0000000000000000
x26: 000000007ff6b3cc x27: 0000000000000000
x28: 0000000000000400 x29: 000000007df5e010
Resetting CPU ...
resetting ...
INFO: PSCI Affinity Map:
INFO: AffInst: Level 0, MPID 0x0, State ON
INFO: AffInst: Level 0, MPID 0x1, State OFF
INFO: AffInst: Level 0, MPID 0x2, State OFF
INFO: AffInst: Level 0, MPID 0x3, State OFF
bl31 reb▒GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 162134
no sdio debug board detected
BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton
Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
0x10100000, size: 0x0001113020200, des
--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.317751 Inits done]
secure task start!
high task start!
low task start!
Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00080f90
NOTICE: BL3-1: v1.0(debug):4d2e34d
NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2019.07-armbian (Sep 02 2019 - 01:17:47 +0200) odroid-c2
Model: Hardkernel ODROID-C2
Soc: Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM: 2 GiB
MMC: mmc@72000: 0, mmc@74000: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@c9410000
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/boot.scr
7159 bytes read in 3 ms (2.3 MiB/s)
## Executing script at 08000000
186 bytes read in 2 ms (90.8 KiB/s)
** fs_devread read error - block
** fs_devread read error - block
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
## Loading init Ramdisk from Legacy Image at 13000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 13869975 Bytes = 13.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 04080000
Booting using the fdt blob at 0x4080000
Loading Ramdisk to 7d222000, end 7df5c397 ... OK
Loading Device Tree to 000000007d1b0000, end 000000007d221fff ... OK
Starting kernel ...
"Synchronous Abort" handler, esr 0x02000000
elr: ffffffffb63e7000 lr : 00000000010023a4 (reloc)
elr: 0000000035350000 lr : 000000007ff6b3a4
x0 : 000000007d1b0000 x1 : 0000000000000000
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 0000000034000000 x5 : 0000000000000001
x6 : 0000000000000008 x7 : 0000000000000000
x8 : 000000007df976a0 x9 : 0000000000000002
x10: 000000000a200023 x11: 0000000000000002
x12: 0000000000000002 x13: 000000007df66e0e
x14: 000000007df5df3c x15: 000000007ff6aa60
x16: 0000000000000000 x17: 0000000000000020
x18: 000000007df66df8 x19: 000000007ffe4f48
x20: 0000000000000000 x21: 0000000000000000
x22: 0000000000000003 x23: 000000007df96df8
x24: 000000007ffd1c18 x25: 0000000000000000
x26: 000000007ff6b3cc x27: 0000000000000000
x28: 0000000000000400 x29: 000000007df5e010
Resetting CPU ...
resetting ...
INFO: PSCI Affinity Map:
INFO: AffInst: Level 0, MPID 0x0, State ON
INFO: AffInst: Level 0, MPID 0x1, State OFF
INFO: AffInst: Level 0, MPID 0x2, State OFF
INFO: AffInst: Level 0, MPID 0x3, State OFF
bl31 reb▒GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 162130
no sdio debug board detected
BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton
Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
0x10100000, size: 0x0001113020200, des
--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.317742 Inits done]
secure task start!
high task start!
low task start!
Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00080f90
NOTICE: BL3-1: v1.0(debug):4d2e34d
NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2019.07-armbian (Sep 02 2019 - 01:17:47 +0200) odroid-c2
Model: Hardkernel ODROID-C2
Soc: Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM: 2 GiB
MMC: mmc@72000: 0, mmc@74000: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@c9410000
Hit any key to stop autoboot: 0
At first, we may think there an issue with the SDCARD, but this boot loop appen ONLY WHEN REBOOTING THE DEVICE, THE FIRST BOOT (while connecting power) IS ALWAYS SUCCESSFULL.
then, I connect to ssh and type : reboot and Here we go. I Can't load the OS WITHOUT UNPLUGGING POWER FIRST
May be a compatibilty problem between U-Boot and the latest kernel ...