1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 06:51:51 +02:00

qi-gta01-02-03-always-tty0-console.patch

tty0 is the LCM... this patch changes the defaults so that the kernel
always treats tty0 as a console, but it also sets the loglevel so that
only KERN_ERR or worse will be printed there.  With matching changes
to the kernel, most of the noise at KERN_ERR is reduced to KERN_INFO,
so it gets the behviour the LCM by default is not cluttered with
messages unless they are important during boot.

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-12-01 01:26:07 +00:00 committed by Andy Green
parent b4d381380c
commit 3867e3d4ce
3 changed files with 16 additions and 11 deletions

View File

@ -259,10 +259,12 @@ const struct board_api board_api_gta01 = {
"0x00200000(kernel)," \ "0x00200000(kernel)," \
"0x000a0000(splash)," \ "0x000a0000(splash)," \
"0x03d1c000(rootfs) " \ "0x03d1c000(rootfs) " \
"loglevel=4 " \
"console=tty0 "\
"console=ttySAC0,115200 " \ "console=ttySAC0,115200 " \
"init=/sbin/init "\ "init=/sbin/init "\
"ro ", "ro ",
.commandline_board_debug = " loglevel=8 console=tty0", .commandline_board_debug = "loglevel=8 ",
.noboot = "boot/noboot-GTA01", .noboot = "boot/noboot-GTA01",
.append = "boot/append-GTA01", .append = "boot/append-GTA01",
/* these are the ways we could boot GTA01 in order to try */ /* these are the ways we could boot GTA01 in order to try */

View File

@ -455,11 +455,12 @@ const struct board_api board_api_gta02 = {
"0x000a0000(extra)," \ "0x000a0000(extra)," \
"0x00040000(identity)," \ "0x00040000(identity)," \
"0x0f6a0000(backuprootfs) " \ "0x0f6a0000(backuprootfs) " \
"loglevel=4 " \
"console=tty0 " \
"console=ttySAC2,115200 " \ "console=ttySAC2,115200 " \
"init=/sbin/init " \ "init=/sbin/init " \
"ro ", "ro ",
.commandline_board_debug = " console=tty0 " \ .commandline_board_debug = "loglevel=8",
"loglevel=8",
.noboot = "boot/noboot-GTA02", .noboot = "boot/noboot-GTA02",
.append = "boot/append-GTA02", .append = "boot/append-GTA02",
/* these are the ways we could boot GTA02 in the order to try */ /* these are the ways we could boot GTA02 in the order to try */

View File

@ -85,9 +85,11 @@ const struct board_api board_api_gta03 = {
.noboot = "boot/noboot-GTA03", .noboot = "boot/noboot-GTA03",
.append = "boot/append-GTA03", .append = "boot/append-GTA03",
.get_ui_keys = get_ui_keys_gta03, .get_ui_keys = get_ui_keys_gta03,
.commandline_board = "console=ttySAC3,115200 " \ .commandline_board = "console=tty0 " \
"console=ttySAC3,115200 " \
"init=/sbin/init " \ "init=/sbin/init " \
"loglevel=8 ", "loglevel=8 " \
"ro ",
.kernel_source = { .kernel_source = {
[0] = { [0] = {
.name = "SD Card rootfs", .name = "SD Card rootfs",