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

initrd: add fbterm module #46

Merged
merged 1 commit into from Nov 18, 2019
Merged

initrd: add fbterm module #46

merged 1 commit into from Nov 18, 2019

Conversation

lheckemann
Copy link
Member

Requires a cross-compilation fix for fbterm (NixOS/nixpkgs#72107).

This may stop the display-manager from starting correctly, I think it
prevents X from automatically switching to the correct vt. Requires
some further investigation :)

modules/module-list.nix Outdated Show resolved Hide resolved
touch /init.log
echo "Starting fbterm!"
env FB=${cfg.fb} fbterm -n terminus -s 32 </dev/tty1 -- tail -n 200 -f /init.log &
echo "Started fbterm!"
Copy link
Member

@samueldr samueldr Oct 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard-mode: could we get a real usable console attached so that an attached keyboard can work with it? Thinking about breaking to a shell in initrd, allowing keyboard input on-device, in case there's issues with adb and rndis.

I mean, I'm not sure what's up with </dev/tty1 -- tail ... here. Probably need to test and RT(fine)M.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that should be possible (drivers permitting) and I'll give it a shot at some point. Though maybe that's material for a follow-up PR?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely for a future PR!

Requires a cross-compilation fix for fbterm (NixOS/nixpkgs#72107).

This may stop the display-manager from starting correctly, I think it
prevents X from automatically switching to the correct vt. Requires
some further investigation :)
@samueldr samueldr merged commit 1c55e43 into NixOS:master Nov 18, 2019
@lheckemann lheckemann deleted the fbterm branch November 18, 2019 11:22
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.

None yet

2 participants