• Deomid Ryabkov's avatar
    Add create-fw-bundle command · 139c2061
    Deomid Ryabkov authored
    Replacement for fw_meta.py commands and also supports unbundling .hex files.
    
    General syntax is:
    
    ```
     $ mos create-fw-bundle -o fw.zip part1:prop1=val1,prop2=val2,... part2:...
    ```
    
    Example of building a mos fw bundle for ESP8266:
    ```
     $ mos create-fw-bundle -o fw.zip --platform esp8266 --build-info=build_info.json \
        boot:addr=0x0,src=rboot.bin,update=false \
        boot_cfg:addr=0x7000,size=0x1000,fill=0xff \
        fw:addr=0x100000,src=demo-c.bin \
        fs:src=fs.bin,type=fs,addr=0x8000,fs_size=262144,fs_block_size=4096,fs_page_size=256,fs_erase_size=4096
    ```
    
    Example of converting a HEX file to a bundle:
    ```
     $ mos create-fw-bundle -o fw.zip host:type=host,src=hostfw.hex
    ```
    
    CL: mos: Add create-fw-bundle command
    
    PUBLISHED_FROM=35f52ea53e4b5900463415257323a4c08cf45deb
    139c2061
Name
Last commit
Last update
..
common Loading commit data...
CPPLINT.cfg Loading commit data...
mg_coap.c Loading commit data...
mg_coap.h Loading commit data...
mg_common.h Loading commit data...
mg_dns.c Loading commit data...
mg_dns.h Loading commit data...
mg_dns_server.c Loading commit data...
mg_dns_server.h Loading commit data...
mg_features.h Loading commit data...
mg_http.c Loading commit data...
mg_http.h Loading commit data...
mg_http_cgi.c Loading commit data...
mg_http_client.h Loading commit data...
mg_http_server.h Loading commit data...
mg_http_ssi.c Loading commit data...
mg_http_webdav.c Loading commit data...
mg_http_websocket.c Loading commit data...
mg_internal.h Loading commit data...
mg_modules.mk Loading commit data...
mg_mqtt.c Loading commit data...
mg_mqtt.h Loading commit data...
mg_mqtt_client.h Loading commit data...
mg_mqtt_server.c Loading commit data...
mg_mqtt_server.h Loading commit data...
mg_net.c Loading commit data...
mg_net.h Loading commit data...
mg_net_if.c Loading commit data...
mg_net_if.h Loading commit data...
mg_net_if_null.c Loading commit data...
mg_net_if_socket.c Loading commit data...
mg_net_if_socket.h Loading commit data...
mg_net_if_socks.c Loading commit data...
mg_net_if_socks.h Loading commit data...
mg_resolv.c Loading commit data...
mg_resolv.h Loading commit data...
mg_sntp.c Loading commit data...
mg_sntp.h Loading commit data...
mg_socks.c Loading commit data...
mg_socks.h Loading commit data...
mg_ssl_if.h Loading commit data...
mg_ssl_if_mbedtls.c Loading commit data...
mg_ssl_if_openssl.c Loading commit data...
mg_uri.c Loading commit data...
mg_uri.h Loading commit data...
mg_util.c Loading commit data...
mg_util.h Loading commit data...