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

Disabling interrupts in bios for serial boot, re-enabling when files are uploaded completely. #2149

Open
Rajnesh28 opened this issue Dec 23, 2024 · 1 comment

Comments

@Rajnesh28
Copy link

Does anyone have any thoughts on the value of creating a PR that disables interrupts in the bios before it begins serial booting and downloading files via serial? I am afraid that I will press a key in the terminal and cause the transfer to corrupt after spending precious time uploading the files.

I can look into making a PR if you guys think this might be a good idea.

@AndrewD
Copy link
Collaborator

AndrewD commented Dec 23, 2024

Probably better to enforce policy like this from the tool doing the sending, target then baking it into the remote device.

For example, you could do something like the policy you are describing in litex term. One idea would be to ignore keystrokes other than ^C when serial load is in progress. Higher baud rates also make this process much nicer.

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

No branches or pull requests

2 participants