-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what is OTA_FILE ? #1
Comments
OTA_FILE is used to specify an arbitrary file(not the firmware binary) that needs to be loaded into the flash. See rboot-ota.c comments for more info. If you are looking for doing a Firmware OTA, then it doesn't matter whatever name you define for OTA_FILE. In case you are looking to transfer and arbitrary file, then the necessary the OTA_FILE needs to be updated with the files name you want to transfer. |
I have ported the directly to non is sdk? I am using esp bootloader not rboot ? I am able to download the binary but while writing to flash it fails. Rboot_get_config() should return the current rom address I suppose. I am not very clear how that part is working and how do.you get the partition you need to write the OTA binary to? I am using 2048kb esp8266 version and my OTA partitions are at address 0x1000 (ota1) and 0x81000 (ota2). |
See here on how the partition onto which the newer image needs to be copied is figured out. Since the flash sizes you are using is different from the one used in this example, you would need to edit the linker command files |
Hi Sudeep, eagle.app.v6.new.1024.app1.ld.txt Note: My OTA address are 0x1000 and 0x81000 as per the espressif documentation here, ref. section 4.2.1. Thank you in advance. |
Which is the bootloader you are trying to use: expressif or rboot ? |
what is file.bin in rboot_ota.h ?what is its significance and how do you generate it ?Why are you loading it at 0xff address. Please explain.
The text was updated successfully, but these errors were encountered: