Add no limit to help, save ubootscr
This commit is contained in:
parent
d6059470fb
commit
6b2086eb6f
@ -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]"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user