version 1.1.2.12, 2014/02/10 09:10:25
|
version 1.2, 2014/09/15 19:06:42
|
Line 75 case $1 in
|
Line 75 case $1 in
|
# of=${REL}/elwix_firmware.bin |
# of=${REL}/elwix_firmware.bin |
;; |
;; |
vendor) |
vendor) |
if [ ! -r "${2:-./elwix_cfg.bin}" ]; then | if [ ! -r "${3:-./elwix_cfg.bin}" ]; then |
echo "elwix_cfg.bin not found!" |
echo "elwix_cfg.bin not found!" |
exit 1 |
exit 1 |
fi |
fi |
|
|
imgupd -ts ${UB_ROOTFS_NAND_SIZE} -f ${REL}/elwix_firmware_${3:-vendor}.bin \ | imgupd -ts ${UB_ROOTFS_NAND_SIZE} -f ${REL}/elwix_firmware_${2:-vendor}.bin \ |
${REL}/rootfs.${UB_COMPRESS_ROOTFS} |
${REL}/rootfs.${UB_COMPRESS_ROOTFS} |
imgupd -s ${UB_KERNEL_NAND_SIZE} -f ${REL}/elwix_firmware_${3:-vendor}.bin \ | imgupd -s ${UB_KERNEL_NAND_SIZE} -f ${REL}/elwix_firmware_${2:-vendor}.bin \ |
${REL}/kernel.${UB_COMPRESS}.uImage |
${REL}/kernel.${UB_COMPRESS}.uImage |
imgupd -s ${UB_CFG_NAND_SIZE} -f ${REL}/elwix_firmware_${3:-vendor}.bin \ | imgupd -s ${UB_CFG_NAND_SIZE} -f ${REL}/elwix_firmware_${2:-vendor}.bin \ |
${2:-./elwix_cfg.bin} | ${3:-./elwix_cfg.bin} |
;; |
;; |
*) |
*) |
echo "Option $1 not supported at this moment" |
echo "Option $1 not supported at this moment" |