From bab2d7511fdb310fa3eb5837f75535101983b7b1 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 14 Nov 2011 15:15:45 +0800 Subject: [PATCH] nanonote-files without console option make /dev/console un-readable --- nanonote-files/script-files/usr/bin/mtd.nn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanonote-files/script-files/usr/bin/mtd.nn b/nanonote-files/script-files/usr/bin/mtd.nn index d0caa34..aa62ae7 100755 --- a/nanonote-files/script-files/usr/bin/mtd.nn +++ b/nanonote-files/script-files/usr/bin/mtd.nn @@ -60,7 +60,7 @@ if [ "$1" == "format_data_default" ]; then fi if [ "$1" == "fw_setenv_default" ]; then - fw_setenv bootargs mem=32M ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait consoleblank=30 quiet + fw_setenv bootargs mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait consoleblank=30 quiet fw_setenv bootcmd nand read 0x80600000 0x400000 0x280000\;bootm fw_setenv bootargsfromsd mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p1 rw rootwait fw_setenv bootcmdfromsd mmc init\; ext2load mmc 0 0x80600000 /boot/uImage\; bootm