How to combine bootloader.bin, partitions.bin and application.bin?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ZKDMun
Posts: 42
Joined: Thu Nov 24, 2016 2:34 pm
Location: Hamburg

How to combine bootloader.bin, partitions.bin and application.bin?

Post by ZKDMun » Tue Jun 19, 2018 12:27 pm

Hi there,
to build a firmware for the ESP8266 I use this one:
https://github.com/adafruit/esp8266-micropython-vagrant
Like you can see in the README, the result will be an output "firmware-combined.bin".

But for the ESP32 there are build three binary firmware images (bootloader.bin, partitions.bin and applications.bin).
(see Readme: https://github.com/micropython/micropyt ... orts/esp32)

How can I make something like a "firmware-combined.bin" (see the abovementioned esp8266 example)?
(I try to build a single binary firmware image, like this ones here: http://micropython.org/download#esp32)

ZKDMun
Posts: 42
Joined: Thu Nov 24, 2016 2:34 pm
Location: Hamburg

Re: How to combine bootloader.bin, partitions.bin and application.bin?

Post by ZKDMun » Tue Jun 19, 2018 12:53 pm

Found the combined firmware:
https://github.com/micropython/micropyt ... 2/Makefile (line 652)
To copy out the firmware bin file:

Code: Select all

cp ./build/firmware.bin /vagrant/
can be closed...

Post Reply