-
Notifications
You must be signed in to change notification settings - Fork 107
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
[ webgui flashing ] #93
Comments
i bypassed the issue with this code
|
care to make a pull request? |
give me a few days and i'll rewrite it into the format you guys already had written. |
That would be great. If it helps, there is a |
the problem is the line
this works fine for image.elf-0x00000.bin, or image.elf-0x10000.bin because they align to 65536 evenly. 0x00000 = 0, 0 / 65536 no problem. 0x82000 = 532480
sending 'FB8.125' still works, but ideally it should be 'FB8', that .125 is equal to 8192 bytes. first pass. pushop.place = 0 erase sector 8 or 8.125 in this case. i cheated and realigned things.. #esp82xx/include/spi_memory_addrs.h this gives back 8192 bytes, and evenly aligns things. #user.cfg this compensates for the realignment in spi_memory_addrs.h #web/page/menuinterface.js
to
also
to
also
this keeps all the code written pretty much the same, it's updated to new esp82xx. you can flash
|
here's the pull request, again thank you for this code. :) |
new esp82xx flashing via webgui is nice, i had to make some changes a bit to work on 8285.
i adjusted menuinterface.js to reflect 0x10000 rather than 0x40000 instances. i adjusted mpfs_start_at location because it is in different spot, you'll get file not found flashing page.mpfs otherwise. i also had to move the scratchpad location because if you flash bin pairs it will overwrite the page.mpfs and then you're left with no webgui unless you flash via esptool. this at least leaves the webgui ;p.. so firmware flashing is working gr8, even webgui flashing page.mpfs is great.. the issue is if you exceed 60k filesize. it will be missing data. every 65536 - 4096 x 2 will be 0xFF'd. :*[ i guess my question is without using esptool.py to flash page.mpfs, is there way around this boundary via webgui? is there a way to use a pointer system to the missing chunks if there is a boundary? im not 100% sure how to tackle this. i used a 390k page.mpfs as an example, the real page.mpfs size im using is 109k or 80k.. either are still above 60k.
** esp8285 - 1048576 **
[ user.cfg ]
[ menuinterface.js ]
[ page.mpfs ]
[ flash ]
[ reflash ]
[ dump ]
[ compare page.mpfs versus mpfs.bin extraction ]
[ visually compare the differences ]
[ switch visual modes ]
[ analyze differences ]
The text was updated successfully, but these errors were encountered: