Odroid-C1 network broken on kernel 4.19

Discussion about U-Boot and the kernel.

Odroid-C1 network broken on kernel 4.19

Postby martsa » Mon Nov 26, 2018 10:28 am

After upgrading my Odroid-C1 kernel from 4.18 to 4.19, integrated network interface doesn't work anymore.

Dmesg says
$this->bbcode_second_pass_code('', 'meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
meson8b-dwmac c9410000.ethernet: DWMAC1000
meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
meson8b-dwmac c9410000.ethernet: COE Type 2
meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
meson8b-dwmac c9410000.ethernet: Normal descriptors
meson8b-dwmac c9410000.ethernet: Ring mode enabled
meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
mdio_bus stmmac-0: MDIO device at address 0 is missing.')

And when trying to bring up the interface
$this->bbcode_second_pass_code('', '# ip link set dev eth0 up
meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY
meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
RTNETLINK answers: No such device')
martsa
 
Posts: 2
Joined: Mon Nov 26, 2018 10:13 am

Re: Odroid-C1 network broken on kernel 4.19

Postby Sagittarius » Sat Dec 22, 2018 1:13 pm

So despite the network issue, it seems you have achieved to boot on kernel 4.x.

Few weeks ago, I posted a message here: viewtopic.php?f=60&t=13166#p59685

because I haven't yet figured out how to boot on such kernel with the default uboot.
So if you could give us the trick that would be very appreciated.
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: Odroid-C1 network broken on kernel 4.19

Postby martsa » Sat Dec 22, 2018 3:38 pm

If I remember right, I just did pacman -Suy linux-armv7-odroidc1.

And if I remember right, there was an issue with uBoot. For some reason it could not read .dtb file from /boot/dtbs, so after pacman and before reboot, I copied meson8b-odroidc1.dtb to /boot/ and adjusted boot.ini to point to that file.

uBoot's issues with reading that .dtb file might lead to 64bit ext4, but I'm not sure because I'm pretty sure I did 'mkfs.ext4 -O ^metadata_csum,^64bit' as suggested while preparing my SD card.

Nevertheless, serial console is your friend. There I found the reason Odroid couldn't boot after switching from 3.x to 4.x kernel.

But I must say, with 4.x kernel, rebooting is an issue. Arch shuts itself down gracefully but uBoot hangs at 'Starting kernel...' message. You must always poweroff before getting Odroid run again.
martsa
 
Posts: 2
Joined: Mon Nov 26, 2018 10:13 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 5 guests