mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
starfive visionfive2: write u-boot.itb to mtd2
This commit is contained in:
parent
dd78777e12
commit
8e34f33464
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ rec {
|
||||||
runtimeInputs = [ mtdutils ];
|
runtimeInputs = [ mtdutils ];
|
||||||
text = ''
|
text = ''
|
||||||
flashcp -v ${uboot}/u-boot-spl.bin.normal.out /dev/mtd0
|
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 {
|
updater-sd = writeShellApplication {
|
||||||
|
|
Loading…
Reference in a new issue