mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add more granular signing targets
helps with debug
This commit is contained in:
parent
faecc1cf27
commit
9f8c2deeda
1 changed files with 16 additions and 1 deletions
17
baosign.ps1
17
baosign.ps1
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory = $true)]
|
[Parameter(Mandatory = $true)]
|
||||||
[ValidateSet("baremetal", "dabao", "baosec", "bootloader")]
|
[ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1")]
|
||||||
[string]$Config,
|
[string]$Config,
|
||||||
|
|
||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
|
|
@ -50,6 +50,21 @@ $configurations = @{
|
||||||
@{ Image = "xous.img"; FunctionCode = "kernel" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
@{ Image = "xous.img"; FunctionCode = "kernel" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
@{ Image = "swap.img"; FunctionCode = "swap" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
@{ Image = "swap.img"; FunctionCode = "swap" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
)
|
)
|
||||||
|
"kernel" = @(
|
||||||
|
@{ Image = "xous.img"; FunctionCode = "kernel" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
|
)
|
||||||
|
"loader" = @(
|
||||||
|
@{ Image = "loader.bin"; FunctionCode = "loader" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
|
)
|
||||||
|
"swap" = @(
|
||||||
|
@{ Image = "swap.img"; FunctionCode = "swap" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
|
)
|
||||||
|
"apps" = @(
|
||||||
|
@{ Image = "apps.img"; FunctionCode = "app" ; TargetDir = "target\riscv32imac-unknown-xous-elf\release" }
|
||||||
|
)
|
||||||
|
"boot1" = @(
|
||||||
|
@{ Image = "bao1x-boot1.img"; FunctionCode = "boot1" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" }
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Color output functions for better visibility
|
# Color output functions for better visibility
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue