[OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

John Crispin john at phrozen.org
Mon Apr 25 09:00:49 EDT 2016



On 24/04/2016 21:29, Ben Mulvihill wrote:
> Remove read-only flag on two partitions on BTHOMEHUBV3A:
>   uboot-config - otherwise fw_setenv command cannot be used.
>   ath9k-cal    - so that ath9k calibration data can be copied
>                  to the partition on a newly installed board.
>  
> Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
> ---
> --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts	2016-04-24 17:30:44.117072962 +0200
> +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts	2016-04-24 17:30:08.483732762 +0200
> @@ -61,12 +61,10 @@
>  				partition at 64000 {
>  					label = "uboot-config";
>  					reg = <0x64000 0x004000>;
> -					read-only;
>  				};
>  				ath9k_cal: partition at 68000 {
>  					label = "art-copy";
>  					reg = <0x68000 0x004000>;
> -					read-only;
>  				};

is this not a bit risky ? normally we try to keep them read-only so that
users cannot accidentally kill them. is the calib data normally not
located in the art partition or why do you need to copy it after flashing ?



>  				partition at 6c000 {
>  					label = "kernel";
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
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