Load the modules in initrd
This commit is contained in:
parent
7817c4be2d
commit
1787d2cede
@ -78,10 +78,7 @@
|
||||
# Add the custom Ethernet module
|
||||
pkgs.xilinx-axienet-carv
|
||||
];
|
||||
kernelModules = [
|
||||
# Load the Ethernet module by default
|
||||
"xilinx_axienet_carv"
|
||||
];
|
||||
kernelModules = config.boot.initrd.kernelModules;
|
||||
kernelPatches = [
|
||||
{
|
||||
name = assert false; "sbi-early-console";
|
||||
@ -147,7 +144,10 @@
|
||||
initrd = {
|
||||
# Avoid zstd as we don't have the tools in "cucu" machine
|
||||
compressor = "gzip";
|
||||
kernelModules = [ ];
|
||||
kernelModules = [
|
||||
# Load the Ethernet module by default
|
||||
"xilinx_axienet_carv"
|
||||
];
|
||||
|
||||
# Custom init script
|
||||
extraFiles = {
|
||||
|
Loading…
Reference in New Issue
Block a user