r1112 - trunk/src/target/u-boot/patches
werner at sita.openmoko.org
werner at sita.openmoko.org
Sun Feb 25 07:29:28 CET 2007
Author: werner
Date: 2007-02-25 07:29:09 +0100 (Sun, 25 Feb 2007)
New Revision: 1112
Modified:
trunk/src/target/u-boot/patches/boot-menu.patch
Log:
board/neo1973/bootmenu.c: fixed file header
board/neo1973/bootmenu.c (bootmenu): run "dynpart" in factory default mode
board/neo1973/bootmenu.c (bootmenu): when starting, switch stdout and stderr to
"vga"
Modified: trunk/src/target/u-boot/patches/boot-menu.patch
===================================================================
--- trunk/src/target/u-boot/patches/boot-menu.patch 2007-02-25 00:42:30 UTC (rev 1111)
+++ trunk/src/target/u-boot/patches/boot-menu.patch 2007-02-25 06:29:09 UTC (rev 1112)
@@ -14,9 +14,9 @@
===================================================================
--- /dev/null
+++ u-boot/board/neo1973/bootmenu.c
-@@ -0,0 +1,181 @@
+@@ -0,0 +1,185 @@
+/*
-+ * bootmenu.c - Convert a 480x640 PNG to a splash screen raw dump
++ * bootmenu.c - Boot menu
+ *
+ * Copyright (C) 2006-2007 by OpenMoko, Inc.
+ * Written by Werner Almesberger <werner at openmoko.org>
@@ -174,6 +174,8 @@
+
+void bootmenu(void)
+{
++ console_assign(stdout, "vga");
++ console_assign(stderr, "vga");
+ while (1) {
+ int n, seconds;
+
@@ -184,8 +186,10 @@
+
+ printf(ANSI_CLEAR ANSI_GOTOYX, 1, 1);
+ if (!n || n == options+1) {
-+ if (n)
++ if (n) {
+ default_env();
++ run_command("dynpart", 0);
++ }
+ run_command("bootd", 0);
+ }
+ else
More information about the commitlog
mailing list