H2+ Realtek 8125

Post Reply
PigLover
Posts: 44
Joined: Wed Nov 15, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, XU4, HC1, MC1
Has thanked: 1 time
Been thanked: 4 times
Contact:

H2+ Realtek 8125

Post by PigLover » Wed Jun 24, 2020 1:34 am

Just received by H2+ (thanks for the fast shipping).

I know that the Linux Kernel 5.4 fully supports the RTL8125 and have several different PCIe cards with this chip running on other system just using the stock Ubuntu 20.04 LTS release (syba, etc). They do run better once the official realtek driver is installed - but the 5.4 kernel recognizes them out of the box (albeit running them on the RTL8139 driver).

However - for some reason the NICs on the H2+ are not recognized by Ubuntu 20.04/Linux Kernel 5.4. This creates an issue when installing the Ubuntu Server load - when you put the driver from Realtek on a USB and put it onto the H2+ you can't run the install script because it depends on compiling the driver against the proper kernel header files and the Ubuntu Server install does not include the necessary tools. You need to install them over the network, which unfortunately is not available until after the driver is installed (vicious circle).

Is there something reconfigured in your BIOS codes for the NICs that is causing them not to be recognized by the 5.4 kernel? This shouldn't be happening.

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: H2+ Realtek 8125

Post by mad_ady » Wed Jun 24, 2020 1:48 am

Most likely the 5.4 driver has a list of supported hardware ids (like usb's vid:pid, but for pci) that it tries to register to and these are missing from the driver. Maybe HK could distribute some precompiled ko file for standard distros (Ubuntu 20.04, Debian, CentOS, Fedora, etc) so that end users can more easily get network up to update kernel, install dkms, etc.

These users thanked the author mad_ady for the post:
emk2203 (Sat Jun 27, 2020 11:03 pm)

Ellicott
Posts: 16
Joined: Thu Apr 16, 2020 2:23 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 0
Contact:

Re: H2+ Realtek 8125

Post by Ellicott » Wed Jun 24, 2020 6:30 am

@mid_ady,

Just curious by which channel you get the H2 Plus so fast.

PigLover
Posts: 44
Joined: Wed Nov 15, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, XU4, HC1, MC1
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: H2+ Realtek 8125

Post by PigLover » Wed Jun 24, 2020 7:06 am

Ellicott wrote:
Wed Jun 24, 2020 6:30 am
@mid_ady,

Just curious by which channel you get the H2 Plus so fast.
Direct from Hardkernel web site. Ordered on day of release (6/16). Got shipment confirmation on 6/19 with expected delivery Friday, 6/26. Package showed up Monday (6/21). Received Korea to CA in 5 days from order to receipt. Can't always get that kind of turnaround when ordering from other places in CA.

User avatar
odroid
Site Admin
Posts: 34642
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 824 times
Been thanked: 712 times
Contact:

Re: H2+ Realtek 8125

Post by odroid » Wed Jun 24, 2020 9:44 am

The very new RTL8125B on the H2+ is not compatible with old RTL8125 nor RTL8125A. :oops:
https://wiki.odroid.com/odroid-h2/hardw ... on_h2_plus

PigLover
Posts: 44
Joined: Wed Nov 15, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, XU4, HC1, MC1
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: H2+ Realtek 8125

Post by PigLover » Wed Jun 24, 2020 11:57 am

odroid wrote:
Wed Jun 24, 2020 9:44 am
The very new RTL8125B on the H2+ is not compatible with old RTL8125 nor RTL8125A. :oops:
https://wiki.odroid.com/odroid-h2/hardw ... on_h2_plus
That makes sense. Thank you.

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: H2+ Realtek 8125

Post by mad_ady » Wed Jun 24, 2020 5:42 pm

Ellicott wrote:
Wed Jun 24, 2020 6:30 am
@mid_ady,

Just curious by which channel you get the H2 Plus so fast.
I didn't. I only have the regular H2 :)

Ellicott
Posts: 16
Joined: Thu Apr 16, 2020 2:23 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 0
Contact:

Re: H2+ Realtek 8125

Post by Ellicott » Wed Jun 24, 2020 11:18 pm

Wow, shipment only took 5 days from Korean to US. @Ameridroid, you still haven't receive the H2 Plus board yet? It shows differences. SBC's benchmark is an important factor, so is the shipment benchmark.

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: H2+ Realtek 8125

Post by brad » Thu Jun 25, 2020 12:24 am

Look like firmware is being added recently upstream - https://git.kernel.org/pub/scm/linux/ke ... 53b2850870

Does this work for a workaround?

As root user

Code: Select all

# cd /lib/firmware/rtl_nic
# wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125b-1.fw
# wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125b-2.fw
Edit i guess it is hard to wget without network but they are the files needed to allow realktek driver to detect that chip. Ubuntu are uaually quick to add new firmware to linux-firmware package so hopefully not to long bedore it makes it into the repos

Ameridroid
Posts: 275
Joined: Thu Mar 17, 2016 4:19 am
languages_spoken: english
Has thanked: 45 times
Been thanked: 30 times
Contact:

Re: H2+ Realtek 8125

Post by Ameridroid » Thu Jun 25, 2020 3:24 am

Ellicott wrote:
Wed Jun 24, 2020 11:18 pm
Wow, shipment only took 5 days from Korean to US. @Ameridroid, you still haven't receive the H2 Plus board yet? It shows differences. SBC's benchmark is an important factor, so is the shipment benchmark.
No, we haven't received our shipment yet. It takes longer for large commercial shipments to clear customs than individual customer shipments.

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: H2+ Realtek 8125

Post by brad » Sat Jun 27, 2020 11:09 am

brad wrote:
Thu Jun 25, 2020 12:24 am
Look like firmware is being added recently upstream - https://git.kernel.org/pub/scm/linux/ke ... 53b2850870
The firmware made it to Ubuntu Groovy Gorilla but not Focal as yet
These users thanked the author brad for the post:
odroid (Mon Jun 29, 2020 10:35 am)

User avatar
odroid
Site Admin
Posts: 34642
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 824 times
Been thanked: 712 times
Contact:

Re: H2+ Realtek 8125

Post by odroid » Mon Jun 29, 2020 10:36 am

brad wrote:
Sat Jun 27, 2020 11:09 am
brad wrote:
Thu Jun 25, 2020 12:24 am
Look like firmware is being added recently upstream - https://git.kernel.org/pub/scm/linux/ke ... 53b2850870
The firmware made it to Ubuntu Groovy Gorilla but not Focal as yet
I hope Ubuntu 20.10 or 20.04.1 can activate the RTL8125B 2.5GbE ports out of the box.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests