-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
A Lua Cross-Compile Web Service Generates Unusable Images #3080
Comments
Thanks for all the work on NodeMCU |
Sorry, but the cross-compile service is something that I created outside of the project which is why it is hosted on a personal RPi4 on my (ellisons) domain rather than a project one. A limitation or feature if you will is that it supports the current This can mean that any non-backwards compatible change can mean that the generated LFS images can fail to load with a firmware build on an older version of Off the top of my head the only change that I have added to luac.cross is the extra check to throw a compile error if duplicated module names occur in a file list. Really the best thing to do is to generate your LFS images locally on your own PC. The documentation explains how you can use a range of compile options to build this locally using WSL, MinGW, Cygwin or native MSC. My own challenge is that I don't really own any WinX H/W. I have kept one old Laptop which can dual boot into Win7 and which I've used to checked these out. I have asked for anyone else who does use WinX as their primary development environment to take this on, but no takers :( Needs a bit more thought. |
Thanks for getting to this. First things first. I have extra hardware at home. I am most comfortable in windows. I have 2 RPi-2bs and 2 PiZeroWs. Not sure if they have enough horsepower. I periodically considered running the cross compiler on a windows box but without a bit of guidance, I was apprehensive. Going from hello world to the more advanced stuff takes a bit of trial and error for regular people. I also believe that your service is a big help to users. Supporting that with feedback is a honorable thing for me to do. I would also consider getting a domain and setting up a secondary/backup service in case 1 is down... Second thing. I generated the sample LFS again. Here is a symptom I did not include originally. I expected a list of "module" names and get this instead with newly compiled images. And of course the esp panics if I try to index to what I expect to be there.
|
One last thing, brand new firmware also
|
One additional thought. Although Marcel (https://nodemcu-build.com/index.php) updated the front end to support 256k LFS images (nice) in the last day (so I would hope the back end is current), is it possible that firmware build service and the LFS web service are misaligned regarding "the current dev and master versions"? Custom firmware build work with 4/26 LFS images (and earlier), just not the new ones (starting 4/28 for me). |
@pnkowl: The resources required by |
@TerryE : Having the same problem as @pnkowl, even using latest firmware build (2020-05-06 07:43) from Marcel (https://nodemcu-build.com/index.php) and creating the LFS via TerryE web-service. "Old" LFS builds from April 2nd work fine with this firmware build.
Thanks for supporting us! |
There's definitely something broken which I am retracking down. Sorry for the delay |
How is the solution progressing? Thoughts
Notwithstanding the comments above, thanks to all for spending thousands of hours and making the hard choices on what gets your time in any moment. |
Moved to #3108 |
@pnkowl, thanks for all of this great info. I've got all of the error handling stuff working now, so I will get onto this next 😄 |
@pnkowl @jiri-koptik, can you double check the service now. I've just done some load tests against a current cloud builder |
@TerryE, okay, will do. I was wondering how the notice of the change would ripple through the various service providers. Thanks for the ping. |
@TerryE, You reference the dev branch in the "give it a try" announcement above. This issue was opened against the master branch. It is my understanding that the dev branch was never afflicted with the same issue (irrepective of some of my comments above). Should master branch be working also and therefore be tested as well? If not, is there an estimate for when the master branch will be re-supported through the web service? I am just trying to be clear on intent and expectations. Also, does this also fix the ftp/telnet issue #3108? I originally thought that was the purpose, but now I am entirely unsure. That all being said, I will test both dev/dev and master/master configurations. Thanks for your time on this. |
@pnkowl, we are just trying to clear down any outstanding issues impacting |
Is presumably a request to test the firmware/LFS master/master case, which is this issue.
This implies a dev/dev test case. But dev/dev was not broken for this issue. So I am at a loss as to what testing is being requested at this time regarding this issue. Is there a suspicion that master/master may work and should be tested? |
OK, that explains why it works fine. 😄 |
I had a problem on the RPi4 server which runs etckeeper but one of my regular apps dumps big updates to its |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Expected behavior
node.flashindex("_init")()
-- do it from flash results in access to LFSActual behavior
node.flashindex("_init")()
-- do it from flashTest code
NodeMCU startup banner
Hardware
ESP8266 Wemos D1 mini (ESP-12F) plug and play, just connect to usb adapter
When
Issue did not exist on April 26. Images created prior to today still work fine. Using the web service on zip files that created working images in the past, no longer create working images now
The text was updated successfully, but these errors were encountered: