mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
starfive visionfive2: write u-boot.itb to mtd2
This commit is contained in:
@@ -12,7 +12,7 @@ rec {
|
||||
runtimeInputs = [ mtdutils ];
|
||||
text = ''
|
||||
flashcp -v ${uboot}/u-boot-spl.bin.normal.out /dev/mtd0
|
||||
flashcp -v ${uboot}/u-boot.itb /dev/mtd1
|
||||
flashcp -v ${uboot}/u-boot.itb /dev/mtd2
|
||||
'';
|
||||
};
|
||||
updater-sd = writeShellApplication {
|
||||
|
||||
Reference in New Issue
Block a user