On Fri, 2012-02-17 at 00:50 +0100, Luka Perkov wrote: > This patch makes several changes with uboot-envtools package: > > * bumps to version 2011.12 > * adds md5sum > * creates a menu so it will look better in 'make menuconfig' > * adds /etc/fw_env.config to conffile > * refresh patches > * removes init script because we should be using uci-defaults instead > > -board=$(lantiq_board_name) > - > -case "$board" in > -GIGASX76X) > - uboot_environment_configuration "/dev/mtd1" "0x0" "0x10000" "0x10000" > "1" > - ;;
Why not go for a more general mechanism, you will have a lot of board specific options here. Is there a convention (or majority) for naming the env partition? such as 'uboot_env': root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 00010000 00010000 "uboot" mtd1: 003e0000 00010000 "spare" mtd2: 00010000 00010000 "uboot_env" mtd3: 00c00000 00010000 "linux" mtd4: 00105026 00010000 "kernel" mtd5: 00afafda 00010000 "rootfs" mtd6: 00990000 00010000 "rootfs_data" Conor _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel