mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	star64: add mmc firmware updater
And make the sd one actually write to the sd
This commit is contained in:
		
				
					committed by
					
						
						Jörg Thalheim
					
				
			
			
				
	
			
			
			
						parent
						
							3ccd87fcda
						
					
				
				
					commit
					16b8c06fd3
				
			@@ -83,6 +83,24 @@ hardware.deviceTree.overlays = [{
 | 
			
		||||
 | 
			
		||||
# Updating the bootloader
 | 
			
		||||
 | 
			
		||||
## eMMC
 | 
			
		||||
 | 
			
		||||
Install the firmware update script
 | 
			
		||||
 | 
			
		||||
``` nix
 | 
			
		||||
environment.systemPackages = [
 | 
			
		||||
  (pkgs.callPackage
 | 
			
		||||
    "${nixos-hardware}/pine64/star64/firmware.nix"
 | 
			
		||||
    { }).updater-mmc
 | 
			
		||||
];
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Then run as root
 | 
			
		||||
 | 
			
		||||
``` sh
 | 
			
		||||
star64-firmware-update-mmc
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## SD-Card
 | 
			
		||||
 | 
			
		||||
Install the firmware update script
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user