Messing with the new MediaTek MT7687 chips (WiFi + Cortex-M4). Step one: rewrite the horrible Windows-only flasher.https://github.com/marcan/mt7687flash …
-
-
Replying to @marcan42
python makes it look so much cleaner than my C-based one for the 6260.
1 reply 0 retweets 0 likes -
-
Replying to @marcan42
roughly. They are all basically the same. You can ID the chip easily enough, at least.https://github.com/xobs/fernly/blob/master/fernly-usb-loader.c …
1 reply 0 retweets 0 likes -
Replying to @xobs
Looks pretty different actually, totally different command/response formats AFAICT, and this one uses XMODEM for the actual data.
1 reply 0 retweets 0 likes -
Basically, on these, the bootrom just takes a raw blob via XMODEM, dumps it into SRAM, and jumps to it. Rest is in their flasher blob.
1 reply 0 retweets 0 likes -
You can actually vanilla XMODEM the app bootloader (the stuff at 0 in flash) into the bootrom in recovery mode and it'll just run it.
3 replies 0 retweets 0 likes -
Replying to @marcan42
I was reading the command() function, which does seem similar. But I guess that's communicating with what's already uploaded?
1 reply 0 retweets 0 likes -
Replying to @xobs
Yup, that just talks to the "ATED" which is the flasher runtime that gets uploaded. The bootrom only speaks XMODEM.
1 reply 0 retweets 0 likes
Of course I could write my own runtime but no point in wasting time on that first, I want to ditch their SDK and port ChibiOS :)
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.