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

lheckemann commented Oct 27, 2019

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!"

This comment has been minimized.

Copy link
@samueldr

samueldr Oct 30, 2019

Member

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.

This comment has been minimized.

Copy link
@lheckemann

lheckemann Nov 16, 2019

Author Member

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?

This comment has been minimized.

Copy link
@samueldr

samueldr Nov 17, 2019

Member

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 :)
@lheckemann lheckemann force-pushed the lheckemann:fbterm branch from fc65911 to 2b300b3 Nov 16, 2019
@samueldr samueldr merged commit 1c55e43 into NixOS:master Nov 18, 2019
@lheckemann lheckemann deleted the lheckemann:fbterm branch Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.