1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 03:34:05 +02:00

nanonote-files mtd.nn silent u-boot

This commit is contained in:
Xiangfu Liu 2011-09-06 22:40:51 +08:00
parent c8dae9ec3a
commit 5b8344f8a6

View File

@ -78,6 +78,7 @@ if [ "$1" == "fw_setenv_default" ]; then
fw_setenv bootargsf3 mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p3 rw rootwait fw_setenv bootargsf3 mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p3 rw rootwait
fw_setenv bootcmdf4 mtdparts default\;ubi part rootfs\;ubifsmount rootfs\;ubifsload 0x80600000 /boot/uImage\; bootm fw_setenv bootcmdf4 mtdparts default\;ubi part rootfs\;ubifsmount rootfs\;ubifsload 0x80600000 /boot/uImage\; bootm
fw_setenv bootargsf4 mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait fw_setenv bootargsf4 mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
fw_setenv silent 1
echo "fw_setenv finished, check u-boot env by fw_printenv" echo "fw_setenv finished, check u-boot env by fw_printenv"
exit 0 exit 0
fi fi