mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
cleanup build script
This commit is contained in:
parent
353311b987
commit
163e811dd7
1 changed files with 8 additions and 9 deletions
17
buildpush.sh
17
buildpush.sh
|
|
@ -107,22 +107,21 @@ fi
|
||||||
# case of no private key specified
|
# case of no private key specified
|
||||||
if [ $USE_USB -eq 1 ]
|
if [ $USE_USB -eq 1 ]
|
||||||
then
|
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 ]
|
if [ $UPDATE_LOADER -eq 1 ]
|
||||||
then
|
then
|
||||||
echo "Burning loader"
|
echo "Burning loader"
|
||||||
sudo wishbone-tool $CSR_CSV --load-name $LOADER_IMAGE --load-address 0x500000 --load-flash
|
cd tools && ./usb_update.py -l
|
||||||
fi
|
fi
|
||||||
if [ $UPDATE_KERNEL -eq 1 ]
|
if [ $UPDATE_KERNEL -eq 1 ]
|
||||||
then
|
then
|
||||||
echo "Burning kernel"
|
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
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue