starfive visionfive2: write u-boot.itb to mtd2

This commit is contained in:
Nick Cao authored and mergify[bot] committed 2024-01-03 07:27:55 +00:00
1 parent dd78777e12
commit 8e34f33464
1 file changed
+1 -1
+1 -1
View File
@@ -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 {