{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/2535","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/2535/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/2535/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/2535/events","html_url":"https://github.com/micropython/micropython/issues/2535","id":184001835,"number":2535,"title":"esp8266: Architecture and implementation of OTA update","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"labels":[{"id":346835615,"url":"https://api.github.com/repos/micropython/micropython/labels/esp8266","name":"esp8266","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"assignees":[{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2016-10-19T15:51:17Z","updated_at":"2016-11-23T09:43:30Z","closed_at":null,"body":"I have a WIP prototype of OTA updates support for esp8266 port. The architecture is:\n1. First-stage bootloader. Decides which of 2 components below to boot.\n2. OTA server application.\n3. MicroPython application.\n\nThe distinctive difference from existing OTA solutions for esp8266 is that it doesn't require 2 areas for the main application, with a new OTA update being flashed to \"inactive\" area, and \"active area\" switch occurring only integrity of new flashed application is confirmed. With proposed scheme, OTA update overwrites area of the main application immediately. This is based on the requirement to utilize well resources of 1MB modules: support both file system and OTA.\n\nOf course, such scheme is much more risky, so all measures to preventing \"bricking\" by incomplete OTA update should be provided.\n"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/262469715","html_url":"https://github.com/micropython/micropython/issues/2535#issuecomment-262469715","issue_url":"https://api.github.com/repos/micropython/micropython/issues/2535","id":262469715,"user":{"login":"drasko","id":149944,"avatar_url":"https://avatars.githubusercontent.com/u/149944?v=3","gravatar_id":"","url":"https://api.github.com/users/drasko","html_url":"https://github.com/drasko","followers_url":"https://api.github.com/users/drasko/followers","following_url":"https://api.github.com/users/drasko/following{/other_user}","gists_url":"https://api.github.com/users/drasko/gists{/gist_id}","starred_url":"https://api.github.com/users/drasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drasko/subscriptions","organizations_url":"https://api.github.com/users/drasko/orgs","repos_url":"https://api.github.com/users/drasko/repos","events_url":"https://api.github.com/users/drasko/events{/privacy}","received_events_url":"https://api.github.com/users/drasko/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T09:43:30Z","updated_at":"2016-11-23T09:43:30Z","body":"@pfalcon how functional is your OTA at this point? Can you please add a small REAME.md over here: https://github.com/pfalcon/yaota8266 with instructions so we can test it / use it?"}}
{"actor":{"display_login":"drasko"}}