From 26a0894a2d9abf1f67b943c97883c92eac9011a3 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 8 May 2026 22:21:28 +0800 Subject: [PATCH] another signing config --- baosign.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/baosign.ps1 b/baosign.ps1 index 8cb99d3d3..c3f8ff587 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", "alt-boot1", "baosec-lite", "os")] + [ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1", "alt-boot1", "baosec-lite", "os", "boots1")] [string]$Config, [Parameter(Mandatory = $false)] @@ -34,6 +34,10 @@ $configurations = @{ @{ Image = "bao1x-boot1.img"; FunctionCode = "boot1" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" }, @{ Image = "bao1x-alt-boot1.img"; FunctionCode = "loader" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" } ) + "boots1" = @( + @{ Image = "bao1x-boot1.img"; FunctionCode = "boot1" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" }, + @{ Image = "bao1x-alt-boot1.img"; FunctionCode = "loader" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" } + ) "baremetal" = @( @{ Image = "baremetal.img"; FunctionCode = "baremetal" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" } )