- Official Post
So I'm sitting on about $350 of hardware I can't really do anything with.
better question, why does Hardkernel sells something that can't be used at release
They knew it before release that it don't work at the moment.
So I'm sitting on about $350 of hardware I can't really do anything with.
better question, why does Hardkernel sells something that can't be used at release
They knew it before release that it don't work at the moment.
better question, why does Hardkernel sells something that can't be used at release
It can be used with out-of-tree Realtek driver. Not to mention Windows 10.
I can look into the vendor-binary driver, but as r8169 already detects the chip (but cannot make it work) we'd also have to patch out that behaviour to avoid a driver clash. This might acheive that: [net-next] r8169: rename RTL8125 to RTL8125A - Patchwork but that patch also shows support is being worked on (albeit at an early stage) so something might appear upstream sooner than later, in which case it would be preferrable to wait patiently for a few weeks and then backport some patches instead of adding a vendor driver to our codebase.
I also found rtl_nic: add firmware for RTL8125B - Patchwork
It can be used with out-of-tree Realtek driver.
so no OS on earth supports it
Hello chewitt
I am new to linux, but still can experiment and research.
LibreELEC Generic is currently on 5.7-rc1 (linux (Generic): update to linux-5.7-rc1)
*edit* No wait, we are on 5.7.6 (linux: bump to 5.7.6)
Was the netdev patch you mentioned above merged into the kernal?
I checked the kernal Changelog and till 5.7.8 (July 9th) there is no mention about RTL8125B
What are some of the steps I would need to take to try the patch above?
1) Get latest kernal
2) Merge patch & build custom kernal (if it is not in kernal)
3) Build a custom LibreELEC
*edit*
Firmware for RTL8125B was added into the 20200619 release of linux-firmware.
There was a pull request for LibreELEC.
I need to figure out where the get a nightly build of master with that change
I tried LibreELEC-Generic.x86_64-9.80-nightly-20200708-bbbb726.img.gz, but it doesn't work.
I am not sure what to do now.
Linux network development - Patchwork
^ shows that that patches I flagged were accepted, meaning they are queued for Linux 5.9, and there are no new patches which means the chipset is still not supported in the kernel. Your next move is to wait patiently.
I built an image with included RTL8125B kernel patches and firmware.
I built an image with included RTL8125B kernel patches and firmware.
Great! Thank you!
Now a friend of Mine can use it without an USB to Ethernet Adapter.
Regards
Nicolas
So I'm sitting on about $350 of hardware I can't really do anything with.
better question, why does Hardkernel sells something that can't be used at release
They knew it before release that it don't work at the moment.
Sadly, as much as I love Linux, and as much as Linux is better today than it used to be, stuff like this is the norm.
Linux often doesn't get driver support for the latest hardware flowing downstream into distributions and projects that people use until well after the hardware is launched. There is a habit of referring to buying new hardware as "bleeding edge" when most enthusiasts just expect the latest launched hardware to work out of box.
It's a long history of most hardware companies - especially in the consumer world - focusing on launching with Windows driver support, and overlooking everything and anything else, with a few exceptions. Hardware targeted at enterprise tends to work better when new.
Either way, this device would have been much better if they had just skipped the silly 2.5gbit and 5gbit standards and gone with an established and reliable gigabit Intel NIC. Realtek is never anything but disappointing, even when you have driver support.
Display MoreSO I tried the manual install on my first x86 system which I do have SSH access. I figured install the drivers on that one, image the system and restore it on the new H2+.
Manual installation
In a console window:
...$ cd ~/Downloads
...$ wget master.zip -O realtek-8125-dkms.zip
...$ unzip realtek-r8125-dkms-master.zip
...$ cd realtek-r8125-dkms-master/
...$ sudo ./autorun.shIf you do not want to use wget use whatever command your prefer (i.e git clone).After executing these commands, you should have the NIC available for configuration using the Network Manager or equivalent.
If you want to know what the autorun.sh does before executing it, just open it in your favorite text editor (vim, pluma, etc.)
You can also find the REALTEK_README.txt into the folder providing additional information.
I guess you have to have the hardware in the system in order for it to install the drivers. Ended up with an error on line 30 of the autorun.sh script.
Anyone else able to help get this working for the meantime? I've looked into compiling my own but that's about 100 levels up from what I am able to do with linux at the moment. I couldn't figure out how to get the latest kernel. I ran a docker container from an Ubuntu image in the DHub repository. Turned out is was Kernel 3.x. I'm out of my depths here.
How do you even get to console inside LibreElec? I've tried Ctrl-Alt-F1, F2, etc., but that didn't do anything.
Pull the drive and chroot into it from another machine?
Edit:
Never mind, I forgot you could enable sshd from within the GUI config screen.
Edit2:
Also, I was pulling a stupid. I forgot my Logitech K400 is one of those stupid devices requires me to hold on to get to the F keys.
CTRL-ALT-F1 did something but it blanked my screen. Could be I was in console but just couldn't tell because my TV doesn't support the display mode. Not sure.
Linux network development - Patchwork
^ shows that that patches I flagged were accepted, meaning they are queued for Linux 5.9, and there are no new patches which means the chipset is still not supported in the kernel. Your next move is to wait patiently.
Any idea which kernel is targeted for the next stable release? (9.8?)
Or are you planning on including the patches and firmware yourself in next release?
I wonder if this will make it in there some time soon. Apart from the network chip used, this does seem like a great little board. I might just buy one to play around with
LE10/K19 first alpha will be soon and likely uses Linux 5.7 .. but this an alpha and since final release is likely months away some higher kernel version will probably be used in final releases, we'll keep bumping during alpha and won't lock things down until beta. There is no point in including the patches flagged above, all they do is establish the current driver is for the A variant and add firmware for the B variant. Until there is also driver code for the B variant there's "nothing to see here, move along please" and adding the realtek vendor driver could be done in a private build, but it won't be done for a public release as we'd need to disable the in-kernel driver globally which will affect other users with A variant hardware.
Keep an eye on Linux network development - Patchwork and once you see patches posted, there's something to test.
all they do is establish the current driver is for the A variant and add firmware for the B variant.
[net-next,2/2] r8169: add support for RTL8125B - Patchwork
^ I don't think that's all they do.
...Either way, this device would have been much better if they had just skipped the silly 2.5gbit and 5gbit standards and gone with an established and reliable gigabit Intel NIC. Realtek is never anything but disappointing, even when you have driver support...
Yeah, but Intel is also using Realtek NIC's in the NUC's maybe because the NIC's are cheaper than their own. A shame...
ASRock in the Other hand is mostly using Intel NIC's....
Regards
Nicolas
I've been tracking that branch for changes, but the patches are posted and then merged so fast (7h in that case) that I didn't see them. I'd expect them to appear in Linux 5.9. You can also try backporting them to 5.7.
I built an image with included RTL8125B kernel patches and firmware.
Hello ! I have the same issue. I would be interested by your build for X86_64 but the link is dead. Could you please repost ? (eventually a newer one if you have). Thanks !!!
Hello ! Thank you ! I tested it this morning, burned the USB key, successfully installed but after reboot it remains stuck at the libreelec logo with devel version number at top of the screen and nothing happens. Any idea ? Thanks !!