Updated README to remove /flash2 and update /flash instructions

pull/395/head
Colin Kuebler 2019-11-14 14:32:08 -05:00
parent 9024ca4b2d
commit 852e6df428
1 changed files with 4 additions and 11 deletions

View File

@ -60,16 +60,9 @@ You can show this information again by executing:
# curl http://10.42.42.42 # curl http://10.42.42.42
### BACKUP only and UNDO ### BACKUP only and UNDO
You can use the flash loader to create a backup only. You can use the flash loader to create a backup only.
If you want to delete the FLASH loader out of the flash again and go back to the stock software just do following: If you want to go back to the stock software just do following:
# curl http://10.42.42.42/undo # curl http://10.42.42.42/undo
### FLASH loader to user2
The FLASH loader only allows flashing the third party firmware if the loader is running in the userspace user2 starting from 0x81000.
This will flash the FLASH loader in user2 if it is not already there.
It will destroy your ability to undo and go back to the original firmware
# curl http://10.42.42.42/flash2
### FLASH third-party firmware ### FLASH third-party firmware
BE SURE THE FIRMWARE FITS YOUR DEVICE! BE SURE THE FIRMWARE FITS YOUR DEVICE!
1. Place or link your binary file to ./files/thirdparty.bin. 1. Place or link your binary file to ./files/thirdparty.bin.
@ -79,16 +72,16 @@ BE SURE THE FIRMWARE FITS YOUR DEVICE!
An ESPurna [1.13.5](https://github.com/xoseperez/espurna/releases/tag/1.13.5) binary is also included (`espurna-base.bin`). Like before, the binary included does not have any specific hardware defined. Once flashed using Tuya-Convert you can update to the device-specific version via any of the means that ESPurna provides (OTA, web interface update, update via telnet or MQTT). Please refer to the [ESPurna project page](http://espurna.io) for more info and support. An ESPurna [1.13.5](https://github.com/xoseperez/espurna/releases/tag/1.13.5) binary is also included (`espurna-base.bin`). Like before, the binary included does not have any specific hardware defined. Once flashed using Tuya-Convert you can update to the device-specific version via any of the means that ESPurna provides (OTA, web interface update, update via telnet or MQTT). Please refer to the [ESPurna project page](http://espurna.io) for more info and support.
Binary requirements: Binary requirements:
* full binary including first-stage bootloader * full binary including first-stage bootloader (tested with Arduino eboot and Open-RTOS rBoot)
* maximum filesize 512KB for first flash * maximum filesize 512KB for first flash
2. Start flashing process 2. Start flashing process
# curl http://10.42.42.42/flash3 # curl http://10.42.42.42/flash
Alternatively you can request a certain file to be requested and flashed by the device: Alternatively you can request a certain file to be requested and flashed by the device:
# curl http://10.42.42.42/flash3?url=http://10.42.42.1/files/certain_file.bin # curl http://10.42.42.42/flash?url=http://10.42.42.1/files/certain_file.bin
3. Initial Configuration 3. Initial Configuration