change-gateware: more verbose

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent ba2df7331a
commit b4fa62784f

@ -7,8 +7,8 @@ then
then
if [ -e $1/mpfs_dtbo.spi ]
then
cp $1/mpfs_dtbo.spi /lib/firmware/mpfs_dtbo.spi
cp $1/mpfs_bitstream.spi /lib/firmware/mpfs_bitstream.spi
cp -v $1/mpfs_dtbo.spi /lib/firmware/mpfs_dtbo.spi
cp -v $1/mpfs_bitstream.spi /lib/firmware/mpfs_bitstream.spi
. /etc/microchip/update-gateware.sh
else
echo "No device tree overlay file found."

@ -29,6 +29,7 @@ read -rsp $'Press any key to continue...\n' -n1 key
dtbo_ls=$(ls -l /lib/firmware/mpfs_dtbo.spi)
dtbo_size=$(echo $dtbo_ls | cut -d " " -f 5)
echo "Writing mpfs_dtbo.spi to /dev/mtd0"
/usr/sbin/mtd_debug write /dev/mtd0 0x400 $dtbo_size /lib/firmware/mpfs_dtbo.spi > /dev/zero
# Fake the presence of a golden image for now.

Loading…
Cancel
Save