Add no limit to help, save ubootscr

This commit is contained in:
computermouth 2016-12-01 19:55:18 -08:00
parent d6059470fb
commit 6b2086eb6f
2 changed files with 2 additions and 1 deletions

View File

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

View File

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