Allow passing MTD blacklist for UBI at command line

MTDs that must not be scanned for UBI are defined
with CONFIG_UBIBLACKLIST. Allow to pass a string
with the list of MTD devices at the command line.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Fix exit(0) where return should be used

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Add SUCCESS notification at end of update

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Add optional basic image downloading support

Uses libcurl to provide support for as many protocols are compiled into
the local libcurl. Currently the image is downloaded completely before
starting installation; future improvements would involve streaming the
download.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Add DOWNLOAD notification

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Redoing ble fw update handler
Fix image filename with international characters

Installing from a file, the image is not found
if its name uses a character set that is not supported.
This happens with japanese and several other
languages. The filename is passed from the command line,
and international support must be added to
get the correct filename.

Instead of this, let that swupdate search for
a well defined pattern into a directory. If the
passed image file is a pattern, such as :
	swupdate -i "/media/usb/*.swu"

swupdate searches for all entries in the directory
and takes the first of them matching the pattern.

Signed-off-by: Stefano Babic <sbabic@denx.de>
new btle handler compiles. Needs testing with new UART protocol
Added missing file
Added checks to update if and only if not running img has different img id than incoming fw running img has different version that incoming fw
Packing structs. Updated defconfig
FW_INFO 'block' is 16 bytes, not 4
Fixes to BLE fw update
Continue working on BLE FW update
fix: FWDATA goes thru now
Merge branch 'master' of github.com:sbabic/swupdate into ble_fw_update