Skip to content
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

chore(seed): handle reboot character properly #60

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

anarchuser
Copy link
Owner

BREAKING CHANGE: rename CHAINLAODER to SEED

NOTE:

  • make send now always sends reboot command
  • seed now expects one extra char before the length

* `make send` now always sends reboot command
* seed now expects one extra char before the length
@AtomToast
Copy link
Collaborator

Should solve #54

I will test this in a bit

@AtomToast
Copy link
Collaborator

make resend when freshly booted does not seem to send a full kernel image now. It just gets stuck during "loading kernel..." (both leds on).
make send doesn't have a sleep so it is effectively just a reboot and you have to use it twice. Which isn't that useful but it's still better than a freeze I guess.

@anarchuser
Copy link
Owner Author

I had a stupid thought mistake

@anarchuser
Copy link
Owner Author

should work now

@anarchuser
Copy link
Owner Author

NOTE: if kernel size coincidentally starts with reboot character, we have an issue

@AtomToast
Copy link
Collaborator

using resend first still does not work and now send doesn't reboot anymore either but just makes it send random characters on the screen

@anarchuser
Copy link
Owner Author

normal send should have worked just like before. Random output is fine if the normal init print statements are there too

@anarchuser
Copy link
Owner Author

resend should work too, now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants