Merge pull request #10417 from puffnfresh/nixos/mmc_block
initrd: add mmc_block to default available modules
This commit is contained in:
commit
0ee88cffca
|
@ -86,8 +86,7 @@ in
|
||||||
system.boot.loader.kernelFile = "uImage";
|
system.boot.loader.kernelFile = "uImage";
|
||||||
|
|
||||||
boot.initrd.availableKernelModules =
|
boot.initrd.availableKernelModules =
|
||||||
[ "mvsdio" "mmc_block" "reiserfs" "ext3" "ums-cypress" "rtc_mv"
|
[ "mvsdio" "reiserfs" "ext3" "ums-cypress" "rtc_mv" "ext4" ];
|
||||||
"ext4" ];
|
|
||||||
|
|
||||||
boot.postBootCommands =
|
boot.postBootCommands =
|
||||||
''
|
''
|
||||||
|
|
|
@ -43,7 +43,7 @@ in
|
||||||
# so that we don't need to know its device.
|
# so that we don't need to know its device.
|
||||||
fileSystems = [ ];
|
fileSystems = [ ];
|
||||||
|
|
||||||
# boot.initrd.availableKernelModules = [ "mvsdio" "mmc_block" "reiserfs" "ext3" "ext4" ];
|
# boot.initrd.availableKernelModules = [ "mvsdio" "reiserfs" "ext3" "ext4" ];
|
||||||
|
|
||||||
# boot.initrd.kernelModules = [ "rtc_mv" ];
|
# boot.initrd.kernelModules = [ "rtc_mv" ];
|
||||||
|
|
||||||
|
|
|
@ -184,6 +184,9 @@ in
|
||||||
"ide_disk"
|
"ide_disk"
|
||||||
"ide_generic"
|
"ide_generic"
|
||||||
|
|
||||||
|
# SD cards and internal eMMC drives.
|
||||||
|
"mmc_block"
|
||||||
|
|
||||||
# Support USB keyboards, in case the boot fails and we only have
|
# Support USB keyboards, in case the boot fails and we only have
|
||||||
# a USB keyboard.
|
# a USB keyboard.
|
||||||
"uhci_hcd"
|
"uhci_hcd"
|
||||||
|
|
Loading…
Reference in New Issue