1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

add fw_setenv_default for set all u-boot variable to default

This commit is contained in:
Xiangfu Liu 2010-11-25 13:38:27 +08:00
parent be3afdef9f
commit d2a16439ca
3 changed files with 15 additions and 0 deletions

View File

@ -259,6 +259,7 @@ CONFIG_PACKAGE_tune2fs=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_nfs-utils=y
CONFIG_PACKAGE_netcat=y
CONFIG_PACKAGE_sshfs=y
#
CONFIG_KEXEC_TOOLS_TARGET_NAME="mipsel"
CONFIG_PACKAGE_lsof=y

View File

@ -33,3 +33,4 @@ CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA=y
# CONFIG_BUILD_PATENTED is not set
CONFIG_PACKAGE_mtd-utils=y
CONFIG_PACKAGE_sshfs=y

View File

@ -0,0 +1,13 @@
#!/bin/sh
fw_setenv bootargs mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
fw_setenv bootcmd nand read 0x80600000 0x400000 0x200000\;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
fw_setenv bootdelay 0
fw_setenv baudrate 57600
fw_setenv loads_echo 1
fw_setenv stdin serial
fw_setenv stderr serial
fw_setenv stdout serial