mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02:00
add fw_setenv_default for set all u-boot variable to default
This commit is contained in:
parent
8e4e309704
commit
49f1bbf698
@ -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
|
||||
|
@ -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
|
13
data/qi_lb60/files/usr/bin/fw_setenv_default
Executable file
13
data/qi_lb60/files/usr/bin/fw_setenv_default
Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user