Merge pull request #8173 from dezgeg/pr-kernel-config
kernel-config: Enable framebuffer console for BIOS systems & /proc/config.gz for ARM
commit514a9fdf878a65bca0e329cbb733070f3bd0ab0f
authorWilliam A. Kennington III <william@wkennington.com>
dateSun 7 Jun 2015, 10:14 (11 years ago)
parent42c65fd6be70d1
nixos/doc/manual/installation/installing-uefi.xml−4
@@ -41,10 +41,6 @@ changes:
4141 <option>boot.loader.efi</option> and <option>boot.loader.gummiboot</option>
4242 as well.</para>
4343 </listitem>
44− <listitem>
45− <para>To see console messages during early boot, add <literal>"fbcon"</literal>
46− to your <option>boot.initrd.kernelModules</option>.</para>
47− </listitem>
4844</itemizedlist>
4945</para>
5046
nixos/modules/installer/cd-dvd/installation-cd-base.nix−3
@@ -42,9 +42,6 @@ with lib;
4242 # Add Memtest86+ to the CD.
4343 boot.loader.grub.memtest86.enable = true;
4444
45− # Get a console as soon as the initrd loads fbcon on EFI boot.
46− boot.initrd.kernelModules = [ "fbcon" ];
47−
4845 # Allow the user to log in as root without a password.
4946 users.extraUsers.root.initialHashedPassword = "";
5047}
pkgs/os-specific/linux/kernel/common-config.nix+3
@@ -54,6 +54,7 @@ with stdenv.lib;
5454 STANDALONE n
5555
5656 # Make /proc/config.gz available.
57+ IKCONFIG y
5758 IKCONFIG_PROC y
5859
5960 # Optimize with -O2, not -Os.
@@ -131,6 +132,8 @@ with stdenv.lib;
131132 FB_SIS_300 y
132133 FB_SIS_315 y
133134 FB_3DFX_ACCEL y
135+ FB_VESA y
136+ FRAMEBUFFER_CONSOLE y
134137 ${optionalString (versionOlder version "3.9" || stdenv.system == "i686-linux") ''
135138 FB_GEODE y
136139 ''}