From 8e34f33464d77bea2d5cf7dc1066647b1ad2b324 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 1 Jan 2024 13:15:08 -0500 Subject: [PATCH] starfive visionfive2: write u-boot.itb to mtd2 --- starfive/visionfive/v2/firmware.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starfive/visionfive/v2/firmware.nix b/starfive/visionfive/v2/firmware.nix index 710576d..eabeb6c 100644 --- a/starfive/visionfive/v2/firmware.nix +++ b/starfive/visionfive/v2/firmware.nix @@ -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 {