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 <[email protected]>
> ---
> --- 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@64000 {
>                                       label = "uboot-config";
>                                       reg = <0x64000 0x004000>;
> -                                     read-only;
>                               };
>                               ath9k_cal: partition@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@6c000 {
>                                       label = "kernel";
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to