Add no limit to help, save ubootscr

chip/stable
computermouth 6 years ago
parent d6059470fb
commit 6b2086eb6f
  1. 1
      chip-update-firmware.sh
  2. 2
      common.sh

@ -72,6 +72,7 @@ while getopts "sgpbfnhB:N:F:" opt; do
echo " -p -- PocketCHIP"
echo " -b -- Buildroot"
echo " -f -- Force clean"
echo " -n -- No limit [enable greater power draw]"
echo " -B -- Branch(optional) [eg. -B testing]"
echo " -N -- Build#(optional) [eg. -N 150]"
echo " -F -- Format(optional) [eg. -F Toshiba_4G_MLC]"

@ -118,7 +118,7 @@ flash_images() {
local tmpdir=`mktemp -d -t chip-uboot-script-XXXXXX`
local ubootcmds=$tmpdir/uboot.cmds
local ubootscr=$tmpdir/uboot.scr
local ubootscr=$IMAGESDIR/uboot.scr
local ubootsize=`filesize $IMAGESDIR/uboot-$nand_erasesize.bin | xargs printf "0x%08x"`
local pagespereb=`echo $((nand_erasesize/nand_writesize)) | xargs printf "%x"`
local sparseubi=$tmpdir/ubi.sparse

Loading…
Cancel
Save