• 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
..
arm Loading commit data...
cc3200 Loading commit data...
esp Loading commit data...
esp31/rom Loading commit data...
esp32 Loading commit data...
esp8266 Loading commit data...
lwip Loading commit data...
mbed Loading commit data...
msp432 Loading commit data...
nrf5 Loading commit data...
pic32 Loading commit data...
simplelink Loading commit data...
stm32 Loading commit data...
wince Loading commit data...
windows Loading commit data...
platform_cc3100.h Loading commit data...
platform_cc3200.h Loading commit data...
platform_cc3220.h Loading commit data...
platform_esp32.h Loading commit data...
platform_esp8266.h Loading commit data...
platform_mbed.h Loading commit data...
platform_msp432.h Loading commit data...
platform_nrf51.h Loading commit data...
platform_nrf52.h Loading commit data...
platform_nxp_kinetis.h Loading commit data...
platform_nxp_lpc.h Loading commit data...
platform_pic32.h Loading commit data...
platform_stm32.h Loading commit data...
platform_tm4c129.h Loading commit data...
platform_unix.h Loading commit data...
platform_wince.h Loading commit data...
platform_windows.h Loading commit data...