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