1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-18 15:49:45 +01:00

star64: fix boot from eMMC

This commit is contained in:
Francesco Gazzetta 2023-09-14 17:12:29 +02:00
parent 850b04d59c
commit 570256327e

View file

@ -22,7 +22,12 @@
kernelParams = kernelParams =
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ]; lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
initrd.availableKernelModules = [ "dw_mmc_starfive" ]; initrd.availableKernelModules = [
"8250_dw" # serial port driver
"dw_mmc_starfive" # eMMC/SD
"i2c_designware_platform" # i2c (needed for GPIO -> eMMC RST)
"axp15060_regulator" # PMIC (needed for eMMC)
];
# Ethernet. The module gets forced m due to other modules even though # Ethernet. The module gets forced m due to other modules even though
# it's marked y in defconfig. # it's marked y in defconfig.