Patchwork quietening the ubuntu touch kernels and building framebuffer console into the kernel

login
register
mail settings
Submitter Oliver Grawert
Date June 19, 2013, 10:17 a.m.
Message ID <1371637036.22883.86.camel@chromebook>
Download mbox | patch
Permalink /patch/252541/
State New
Headers show

Comments

Oliver Grawert - June 19, 2013, 10:17 a.m.
hi,
On Mi, 2013-06-19 at 11:25 +0200, Oliver Grawert wrote:
> hi,
> 
> for the grouper kernel we recently had to enable a /dev/console in the
> kernel to make upstart happy in the new container model... the config
> change to do this sadly also enabled (among a bunch of other options we
> do not need) the framebuffer console as a module which we do not want at
> all, nothing should claim the framebuffer before Mir or surfaceflinger
> bring it up ...
> 
attached is a tested patch that turns off fbcon but still keeps us
booting fine on grouper ... 

ciao
	oli
Tim Gardner - June 19, 2013, 1:21 p.m.
On 06/19/2013 04:17 AM, Oliver Grawert wrote:
> hi,
> On Mi, 2013-06-19 at 11:25 +0200, Oliver Grawert wrote:
>> hi,
>>
>> for the grouper kernel we recently had to enable a /dev/console in the
>> kernel to make upstart happy in the new container model... the config
>> change to do this sadly also enabled (among a bunch of other options we
>> do not need) the framebuffer console as a module which we do not want at
>> all, nothing should claim the framebuffer before Mir or surfaceflinger
>> bring it up ...
>>
> attached is a tested patch that turns off fbcon but still keeps us
> booting fine on grouper ... 
> 
> ciao
> 	oli 
> 
> 
> 

FWIW - grouper has always had the 'quietening' patch, e.g., the log
level is set to 2 when 'quiet' is supplied on the boot command line.

rtg

Patch

diff -ruN linux-grouper-3.1.10/debian.grouper/config/config.common.ubuntu linux-grouper-3.1.10-nofbcon/debian.grouper/config/config.common.ubuntu

--- linux-grouper-3.1.10/debian.grouper/config/config.common.ubuntu	2013-06-17 21:17:31.000000000 +0200

+++ linux-grouper-3.1.10-nofbcon/debian.grouper/config/config.common.ubuntu	2013-06-19 11:32:56.852310731 +0200

@@ -724,13 +724,8 @@ 

 CONFIG_FLATMEM=y
 CONFIG_FLATMEM_MANUAL=y
 CONFIG_FLAT_NODE_MEM_MAP=y
-# CONFIG_FONTS is not set

-CONFIG_FONT_8x16=y

-CONFIG_FONT_8x8=y

 CONFIG_FORCE_MAX_ZONEORDER=11
-CONFIG_FRAMEBUFFER_CONSOLE=y

-# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set

-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y

+# CONFIG_FRAMEBUFFER_CONSOLE is not set

 CONFIG_FRAME_WARN=1024
 CONFIG_FREEZER=y
 # CONFIG_FSCACHE is not set
@@ -2755,7 +2750,6 @@ 

 # CONFIG_VIDEO_USBVISION is not set
 CONFIG_VIDEO_V4L2=y
 CONFIG_VIDEO_V4L2_COMMON=y
-# CONFIG_VIDEO_VIVI is not set

 # CONFIG_VIRTIO_BALLOON is not set
 # CONFIG_VIRTIO_PCI is not set
 # CONFIG_VIRT_DRIVERS is not set