mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-13 07:48:30 +00:00
based on feedback that the current mechanism is overly complicated and doesn't add any real security, and it's better to stick with something simple e.g. just a tried-and-true hash of the basics
20 lines
1.2 KiB
PowerShell
20 lines
1.2 KiB
PowerShell
# a crappy starter script to help with builds under Windows environments. ymmv.
|
|
|
|
# set RUSTFLAGS=--remap-path-prefix=F:\largework\rust-win\code\xous-core\=build
|
|
# $env:RUSTFLAGS="--remap-path-prefix=$(Get-Location)=build"
|
|
|
|
cargo xtask hw-image precursors/soc.svd
|
|
# cargo xtask minimal precursors/soc.svd
|
|
|
|
CertUtil -hashfile precursors/bbram-test1.nky MD5
|
|
CertUtil -hashfile precursors/soc_csr.bin MD5
|
|
|
|
CertUtil -hashfile target/riscv32imac-unknown-xous-elf/release/loader.bin MD5
|
|
CertUtil -hashfile target/riscv32imac-unknown-xous-elf/release/xous.img MD5
|
|
scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-xous-elf/release/xous.img target/riscv32imac-unknown-xous-elf/release/loader.bin precursors/soc_csr.bin pi@10.0.245.181:code/precursors/
|
|
|
|
# CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/loader.bin MD5
|
|
# CertUtil -hashfile target/riscv32imac-unknown-none-elf/release/xous.img MD5
|
|
# scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-none-elf/release/xous.img target/riscv32imac-unknown-none-elf/release/loader.bin precursors/soc_csr.bin precursors/bbram-test1.nky pi@10.0.245.90:code/precursors/
|
|
|
|
# wishbone-tool --load-name target/riscv32imac-unknown-none-elf/release/xous.img --load-address 0x980000 --load-flash
|