diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-05-30 11:48:28 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-05-30 11:48:28 +0000 |
commit | 6d1ccaedf11fd6c92f6a7fd419809e076c1dc480 (patch) | |
tree | 856105e4afab7ff1a4b44ef96dae8da0eab0138d | |
parent | 3cefaa021b98382cdc4a03cd9a5eeaf6d43d858e (diff) | |
download | mtk-20170518-6d1ccaedf11fd6c92f6a7fd419809e076c1dc480.zip mtk-20170518-6d1ccaedf11fd6c92f6a7fd419809e076c1dc480.tar.gz mtk-20170518-6d1ccaedf11fd6c92f6a7fd419809e076c1dc480.tar.bz2 |
Update YAFFS config, wget2nand should use br-lan since eth0 is always bridged now, vmlinux.elf has to be used
SVN-Revision: 7404
-rwxr-xr-x | package/wget2nand/src/wget2nand | 6 | ||||
-rw-r--r-- | target/linux/adm5120-2.6/config/default | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/package/wget2nand/src/wget2nand b/package/wget2nand/src/wget2nand index 5197dba..0dffa8a 100755 --- a/package/wget2nand/src/wget2nand +++ b/package/wget2nand/src/wget2nand @@ -13,9 +13,9 @@ exit 1 } -# first get an address for eth0 using udhcpc +# first get an address for br-lan using udhcpc killall udhcpc -/sbin/udhcpc -i eth0 +/sbin/udhcpc -i br-lan # need to find the wget server from the command line url=$1 @@ -45,7 +45,7 @@ mount -t yaffs2 "$boot" /tmp/wget2nand-boot echo "Copying filesystem..." ( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz ) -wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-vmlinux +wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-vmlinux.elf # update the command line on the kernel to boot from the right place [ ! -e /sbin/patch-cmdline ] && { diff --git a/target/linux/adm5120-2.6/config/default b/target/linux/adm5120-2.6/config/default index 81ea813..f4361a9 100644 --- a/target/linux/adm5120-2.6/config/default +++ b/target/linux/adm5120-2.6/config/default @@ -271,11 +271,12 @@ CONFIG_USB_ADM5120_HCD=y CONFIG_USB_YEALINK=m # CONFIG_USB_ZD1201 is not set CONFIG_VM_EVENT_COUNTERS=y +CONFIG_YAFFS_9BYTE_TAGS=y # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set CONFIG_YAFFS_AUTO_YAFFS2=y +CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10 # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set -# CONFIG_YAFFS_DOES_ECC is not set CONFIG_YAFFS_FS=y CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y CONFIG_YAFFS_YAFFS1=y |