devices and devtree both don’t show any network stuff, and drivers presents all the possibly required network drivers. At first I say broken port, but the lights turn on, and if I boot to USB network works fine. So I’m kinda stumped…
Well, I spoke too soon, once in the UEFI shell I loaded it up, and it loaded successfully, but I couldn’t get DHCP to work, it just gave all zeros. That, and:
Wake on LAN and RTC Wake also do not work on the Rock PI X.
Is this also a limitation of the BIOS? Could it be fixed with a BIOS update or do these two features need a new board revision with a fixed power wiring? (or whatever change is needed on the hardware level)
It seems to be solely a BIOS limitation, which is a good thing, because it means that it can be fixed. But the question is, is AMI willing to work with you guys?
For now my workaround is to use iPXE built to bin-x86_64-efi/rtl8168.efi saved to /EFI/BOOT/BOOTX64.EFI (so it’s recognized automatically), but it’s an inelegant solution…
@chabad360 Could you provide some steps how to set it up? I seem to be unable to move the file, at lest in Linux. I have no experience with the UEFI shell.
@jack It would be really nice to have a tutorial on how to set up PXE in the Wiki.
Could you elaborate more on exactly where you’re getting stuck? I would gladly write a detailed guide to setting this up, but I’m rather busy these days, so I can’t really do that. But I can give small bits of advice.
@chabad360 Did you build the bin-x86_64-efi/rtl8168.efi or is this from the link @jack sent? Could you maybe provide a download link or just a pointer to documentation that explains how to build it?
The iPXE make is smart, by specifying the name of the driver in the file name that’s the driver that will be included in the bootloader.
By specifing make bin-x86_64-efi/rtl8168.efi make will build an x86_64 elf binary with just the driver for the RealTek 8168 (the network card used in the Rock Pi X). This doesn’t require any extra files, only what come with the iPXE source code.
I bought RockPI X to setup a mini cluster and need PXE to deploy at scale. Do you think @jack that there is a way for support of PXE, for example through a BIOS update?
I had a similar issue. My solution was to build a customized iPXE bootloader image with an embed script that fetches the actual boot instructions. This iPXE image was then signed and placed in the EFI system partition on the emmc as ESP/EFI/BOOT/BOOTX64.EFI. I may make a more detailed guide to this at some point in the near future.