[OpenWrt-Devel] [PATCH v3] gemini: Support sysupgrade on DIR-685

Petr Štetiar ynezz at true.cz
Mon May 20 16:56:44 EDT 2019


Linus Walleij <linus.walleij at linaro.org> [2019-05-20 22:25:21]:

Hi,

I don't want to drag out more of your time so,

> +platform_find_part_size() {
> +	local first dev size erasesize name
> +	while read dev size erasesize name; do
> +		name=${name#'"'}; name=${name%'"'}
> +		[ "$name" = "$1" ] && {
> +			echo "$size"
> +			break
> +		}
> +	done < /proc/mtd
> +}

I've removed this (as we've agreed in v2)

> +platform_do_upgrade() {
> +	local board=$(board_name)
> +
> +	v "board=$board"

Fixed this leftover.

> +	case "$board" in
> +	dlink,dir-685 )
> +		PART_NAME=firmware
> +		default_do_upgrade "$ARGV"
> +		;;
> +	*)
> +
> +		;;
> +	esac

Cleaned up this.

> @@ -143,9 +144,11 @@ define Device/dlink_dir-685
> +	SUPPORTED_DEVICES += dlink,dir-685

Removed this.

>  endef
>  TARGET_DEVICES += dlink_dir-685

And merged[1] it into my staging tree, so please check it and let me know if
it's ok with you or if you prefer to go with v4, thanks.

1. https://git.openwrt.org/5f456d7acc

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list