mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Merge branch 'main' of github.com:betrusted-io/xous-core into bunnie-dev
This commit is contained in:
commit
1af98f7e43
2 changed files with 22 additions and 9 deletions
17
buildpush.sh
17
buildpush.sh
|
|
@ -107,22 +107,21 @@ fi
|
|||
# case of no private key specified
|
||||
if [ $USE_USB -eq 1 ]
|
||||
then
|
||||
if [ $UPDATE_FPGA -eq 1 ]
|
||||
then
|
||||
echo "Burning FPGA image"
|
||||
sudo wishbone-tool $CSR_CSV --load-name $FPGA_IMAGE --load-address 0x0 --load-flash
|
||||
echo "*** Manual power cycle required to reload SoC FPGA configuration ***"
|
||||
echo " -> Either issue a power cycle command, or insert paper clip in the hole on the right hand side!"
|
||||
fi
|
||||
if [ $UPDATE_LOADER -eq 1 ]
|
||||
then
|
||||
echo "Burning loader"
|
||||
sudo wishbone-tool $CSR_CSV --load-name $LOADER_IMAGE --load-address 0x500000 --load-flash
|
||||
cd tools && ./usb_update.py -l
|
||||
fi
|
||||
if [ $UPDATE_KERNEL -eq 1 ]
|
||||
then
|
||||
echo "Burning kernel"
|
||||
sudo wishbone-tool $CSR_CSV --load-name $KERNEL_IMAGE --load-address 0x980000 --load-flash
|
||||
cd tools && ./usb_update.py -k
|
||||
fi
|
||||
if [ $UPDATE_FPGA -eq 1 ]
|
||||
then
|
||||
echo "Burning FPGA image"
|
||||
cd tools && ./usb_update.py -s
|
||||
echo "*** Select 'Install gateware update' from the main menu to apply the update with your root keys ***"
|
||||
fi
|
||||
else
|
||||
|
||||
|
|
|
|||
14
tools/update_ci.sh
Executable file
14
tools/update_ci.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash set -e
|
||||
|
||||
wget https://ci.betrusted.io/latest-ci/loader.bin -O /tmp/loader.bin
|
||||
./usb_update.py -s /tmp/loader.bin
|
||||
rm /tmp/loader.bin
|
||||
|
||||
wget https://ci.betrusted.io/latest-ci/xous.img -O /tmp/xous.img
|
||||
./usb_update.py -k /tmp/xous.img
|
||||
rm /tmp/xous.img
|
||||
|
||||
wget https://ci.betrusted.io/latest-ci/soc_csr.bin -O /tmp/soc_csr.bin
|
||||
./usb_update.py -s /tmp/soc_csr.bin
|
||||
rm /tmp/soc_csr.bin
|
||||
|
||||
Loading…
Reference in a new issue