netsrv driver [driver...]
where driver is one of:
-
RTL8139C+ (eg. as emulated by qemu)
rtl:pcidev:irq
pcidev = (bus << 8) | (dev << 3) | (fn << 0)
For qemu, it's usually: rtl:0x10:10
-
iMX.6ULL ENET module (== "Freescale Ethernet Controller"?)
enet:mmio:irq[:no-mdio][:phyinfo]
. | ENET1 | ENET2 |
---|---|---|
mmio | 0x02188000 | 0x020b4000 |
irq | 150 | 152 |
no-mdio
disables MDIO support (only one module can drive MDIO bus)
When an external PHY is used, phyinfo is formatted as follows:
PHY:[busnr.]id[:reset:[-]n:/dev/gpioX][:irq:[-]n:/dev/gpioX]
busnr = bus registered by driver (in driver-arg-order, counted from 0)
id = PHY address
reset/irq: GPIO descriptors:
minus = signal is active-low
n = pin number
/dev/gpioX = GPIO bank driver node
(When GPIOs are used, gpiosrv must be already running.)
iMX.6ULL's evaluation board needs:
enet:0x02188000:150:PHY:0.2:reset:-1:/dev/gpio6:irq:-5:/dev/gpio5
enet:0x020b4000:152:no-mdio:PHY:0.1:reset:-2:/dev/gpio6:irq:-6:/dev/gpio5
make TARGET=target
where target matches kernel/libphoenix TARGET value.
This work is licensed under a BSD license. See the LICENSE file for details.
SPDX-License-Identifier: BSD-3-Clause