1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 22:19:41 +02:00

nanonote-files without console option make /dev/console un-readable

This commit is contained in:
Xiangfu Liu 2011-11-14 15:15:45 +08:00
parent 4f35f78c37
commit bab2d7511f

View File

@ -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