mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	star64: fix boot from eMMC
This commit is contained in:
		@@ -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.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user