https://github.com/jedie/docker-yaota8266
compile yaota8266 in a docker container by using https://github.com/jedie/yaota8266
https://github.com/jedie/docker-yaota8266
docker esp8266 micropython yaota8266
Last synced: about 2 months ago
JSON representation
compile yaota8266 in a docker container by using https://github.com/jedie/yaota8266
- Host: GitHub
- URL: https://github.com/jedie/docker-yaota8266
- Owner: jedie
- License: gpl-3.0
- Created: 2019-12-30T18:18:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T18:11:54.000Z (about 6 years ago)
- Last Synced: 2025-02-05T17:22:56.766Z (over 1 year ago)
- Topics: docker, esp8266, micropython, yaota8266
- Language: Makefile
- Homepage:
- Size: 36.1 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-yaota8266

Compile yaota8266 via docker.
yaota8266 is yet another bootloader/over-the-air (OTA) update solution for ESP8266 WiFi SoC.
Unfortunately the project has little documentation, see also: https://github.com/pfalcon/yaota8266/issues/26
Helpful is: https://schinckel.net/tags/yaota/
Origin yaota8266 sources are from: https://github.com/pfalcon/yaota8266
But currently this Project used a fork from: https://github.com/jedie/yaota8266 because of many missing patches. More info here: https://github.com/pfalcon/yaota8266/pull/27 see also: https://github.com/micropython/micropython/issues/2535#issuecomment-569740745
Docker image to compile is https://hub.docker.com/r/jedie/micropython builded via https://github.com/jedie/docker-micropython
## howto
```
# clone the sources:
~$ git clone https://github.com/jedie/docker-yaota8266.git
~& cd docker-yaota8266
Generate RSA keys and/or print RSA modulus line for copy&paste into config.h:
~/docker-yaota8266& make rsa-keys
...
Copy&paste this RSA modulus line into your config.h:
----------------------------------------------------------------------------------------------------
#define MODULUS "\xce\x4a\xaf\x65\x0d\x4a\x74\xda\xc1\x30\x59\x80\xcf\xdd\xe8\x2a\x2e\x1d\xf7\xa8\xc9\x6c\xa9\x4a\x2c\xb7\x8a\x5a\x2a\x25\xc0\x2b\x7b\x2f\x58\x4c\xa8\xcb\x82\x07\x06\x08\x7e\xff\x1f\xce\x47\x13\x67\x94\x5f\x9a\xac\x5e\x7d\xcf\x63\xf0\x08\xe9\x51\x98\x95\x01"
----------------------------------------------------------------------------------------------------
```
You must create your `yaota8266/config.h` (e.g.: make a copy of `yaota8266/config.h.example`)
Copy&paste RSA modulus line into your `config.h`
To compile `yaota8266.bin` call:
```
~/docker-yaota8266& make build
```
The final `yaota8266.bin` is generated here: `~/docker-yaota8266/yaota8266/yaota8266.bin`
To display all make commands, type:
```
~/docker-yaota8266& make
make targets:
help This help page
docker-pull pull docker images
docker-build pull and build docker images
update update git repositories/submodules, docker images and build local docker images
shell start a bash shell in docker container "local/yaota8266:latest"
build compile the yaota8266/yaota8266.bin
```