From 6f65959adb41473a7c0bbe240c5a7b873c773623 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 13 Nov 2025 22:19:01 +0800 Subject: [PATCH] add more signing targets --- baosign.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/baosign.ps1 b/baosign.ps1 index b6af68362..6c8d12c17 100644 --- a/baosign.ps1 +++ b/baosign.ps1 @@ -9,7 +9,7 @@ param( [Parameter(Mandatory = $true)] - [ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1")] + [ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1", "alt-boot1")] [string]$Config, [Parameter(Mandatory = $false)] @@ -65,6 +65,9 @@ $configurations = @{ "boot1" = @( @{ Image = "bao1x-boot1.img"; FunctionCode = "boot1" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" } ) + "alt-boot1" = @( + @{ Image = "bao1x-alt-boot1.img"; FunctionCode = "baremetal" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" } + ) } # Color output functions for better visibility