I am trying to get ssh and network access to work in initrd on a Raspberry Pi 4. So far I have not been able to get network access working. Currently I have the following settings:
boot.initrd.network.enable = true; boot.initrd.network.ssh.enable = true;
The description for
Add network connectivity support to initrd. The network may be configured using the
ipkernel parameter, as described in the kernel documentation. Otherwise, if
networking.useDHCPis enabled, an IP address is acquired using DHCP. You should add the module(s) required for your network card to boot.initrd.availableKernelModules.
lspci -v | grep -iA8 'network\|ethernet'will tell you which.
lspci -v | grep -iA8 'network\|ethernet' outputs nothing. Here is the output of
00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 10) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00000000-00000fff [size=4K] Memory behind bridge: f8000000-f80fffff [size=1M] Prefetchable memory behind bridge: [disabled] Capabilities:  Power Management version 3 Capabilities: [ac] Express Root Port (Slot-), MSI 00 Capabilities:  Advanced Error Reporting Capabilities:  Vendor Specific Information: ID=0000 Rev=0 Len=028 <?> Capabilities:  L1 PM Substates 01:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI]) Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller Flags: bus master, fast devsel, latency 0, IRQ 40 Memory at 600000000 (64-bit, non-prefetchable) [size=4K] Capabilities:  Power Management version 3 Capabilities:  MSI: Enable+ Count=1/4 Maskable- 64bit+ Capabilities: [c4] Express Endpoint, MSI 00 Capabilities:  Advanced Error Reporting Kernel driver in use: xhci_hcd
I have tried with
boot.initrd.availableKernelModules = [ "xhci_hcd" ]; which did not help.