[OpenWrt-Devel] [PATCH 4/4] lantiq: fall back to a more appropriate default dsl firmware

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Dec 2 16:13:31 EST 2015



Am 02.12.2015 um 21:38 schrieb Andre Heider:
> Signed-off-by: Andre Heider <a.heider at gmail.com>
> ---
> 
> What I'm not sure about is annex j.
> Is that using the a or b firmware or will it get its own?

Annex J is only valid with B firmware. It is only additionally enabled
along with Annex B.

> 
>  package/network/config/ltq-vdsl-app/files/dsl_control | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>  mode change 100644 => 100755 package/network/config/ltq-vdsl-app/files/dsl_control
> 
> diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
> old mode 100644
> new mode 100755
> index d7eb4cd..48815ab
> --- a/package/network/config/ltq-vdsl-app/files/dsl_control
> +++ b/package/network/config/ltq-vdsl-app/files/dsl_control
> @@ -69,11 +69,12 @@ start_service() {
>  	eval "xtse_adsl=\"\${xtse_adsl_$annex}\""
>  	if [ "${xtse_adsl}" ]; then
>  		xtse=$xtse_adsl
> +		[ -z "${firmware}" ] && firmware=/lib/firmware/adsl-${annex}.bin
>  	else
>  		xtse=$xtse_vdsl
> +		[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
>  	fi
>  
> -	[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
>  	[ -f "${firmware}" ] || {
>  		echo failed to find $firmware
>  		return 1
> 

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



More information about the openwrt-devel mailing list