|
From: Erich T. <eri...@th...> - 2026-09-10 14:15:11
|
Hi Jeanrocco Am 10.09.2026 um 07:14 schrieb jeanrocco jr: > Hello list, > > I was just wondering if anyone has looked at this combination of a 50$ dual > ethernet module with a ~125$ Pi CM5 module. The speed is interesting: from > the AI; > > The <https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI> > <https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI> > <https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI> > <https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI> > <https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI>CM5-DUAL-ETH-MINI > <https://www.google.com/search?ibp=oshop&prds=pvt:hg,pvo:48,mid:576462537342168217,imageDocid:10792043317969740387,gpcid:17263125341985945869,headlineOfferDocid:6156489124378725664,catalogid:15090230984502132419,productDocid:13645643557539667634&q=product&sa=X&ved=2ahUKEwi0-rv1u-KWAxX0vokEHW7bNpMQxa4PeggIAggBCAkQAw> > base board delivers full gigabit speeds (up to 1000Mbps) across its dual > RJ45 ports, with Ethernet 0 running on the native CM5 controller and > Ethernet 1 running via an extended PCIe RTL8111H Gigabit NIC chip > <https://www.pishop.ca/product/mini-dual-gigabit-ethernet-mini-base-board-for-raspberry-pi-compute-module-5/> > . > > Installing LEAF on this requires some recompiling though: > Because the precompiled LEAF images do not natively bundle the BCM2712 > kernel or the specific Realtek PCIe Ethernet drivers out of the box, > flashing a standard Raspberry Pi LEAF image will likely result in a failed > boot or an unrecognized second network interface. Why do you need the kernel to be recompiled? I guess loading the required module for eth1 should be enough. > > The AI also tells me: > If you are determined to use LEAF for its excellent memory-resident > properties and Shorewall packaging, you must cross-compile it yourself. > . You will need to download the LEAF source tree and modify its toolchain > configuration to compile against the official Raspberry Pi Linux Kernel tree > <https://github.com/raspberrypi/linux> targeting bcm2712. > . Ensure that the CONFIG_R8169 or CONFIG_RTL8111 driver is compiled > directly into the kernel image (not just as a dynamic module) so that the > second Ethernet port initializes correctly on boot. I would not know why it could not be a kernel module. Some AI stuff? > > According to the same AI (Google's) OpenWrt and IPFire already provide a > native support. > > The AI also explains all the steps to compile everything but I was > wondering if LEAF would be willing to go that way. If you have the hardware (which I believe ist quite expensive) why not give it a go yourself. You just need to look if the module is not yet enabled in the toolchain for the raspi. cheers ET -- „Wer von seinem Tag nicht zwei Drittel für sich hat, ist ein Sklave.“ ―Friedrich Nietzsche |