-
Notifications
You must be signed in to change notification settings - Fork 281
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
Z180DMA uzero causes regression: login fails with error message #904
Comments
I've put some print statements into sh and init. It seems like init produces empty environment entries which sh does not accept. |
I changed the Z180 code to use DMA for the user memory transfers. Does reverting commit 861ed42 fix it ? |
Not sure what that is trying to say/show ? We know that
If that does make a difference it would mostly suggest env[] isn't clear (which would be perhaps a bug in the DMA changes although I can't duplicate it here at the moment), or a compiler specific problem (either a bug in the code elsewhere the compiler happens to show up or a compiler bug). |
My knowledge is not deep enough to understand in which contextes (forked, exec'd) this environment is used. It's just that after these changes my login problems went away. |
What sdcc version is in your Ubuntu (sdcc -v) ? |
After lots of syntax errors with "standard" sdcc as installed via apt, I've installed https://github.com/EtchedPixels/sdcc280. |
Yes, it works. |
Thanks. I will go back over that and try and reproduce it here. |
I forgot to mention two things:
|
I've built a diskimage for sc126 under Ubuntu 18.04.
When logging in as root I see:
Welcome to FUZIX.
: is not an identifier
This is an error message from sh.
My guess is that it comes from setname(),
called by sh_getenv().
Single user boot works.
The pre-built image does not show this error.
The text was updated successfully, but these errors were encountered: