> -----Original Message-----
> From: openwrt-devel [mailto:[email protected]]
> On Behalf Of Stijn Segers
> Sent: Donnerstag, 8. April 2021 13:10
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [PATCH v2 1/3] uboot-envtools: add support for GS108T v3 &
> GS110TPP v1
> 
> Hi,
> 
> Op donderdag 8 april 2021 om 12u33 schreef Stijn Segers
> <[email protected]>:
> > The Netgear GS108T v3 and its GS110TPP v1 sibling apparently label
> > their u-boot environment parition 'bdinfo' instead of 'u-boot-env'.
> >
> 
> I was still carrying prior to Bjorn's last rebase, but this isn't needed 
> anymore.
> Both devices fully match the generic case. Will update accordingly in
> Patchwork.

Okay, because I was wondering why you talk about bdinfo being needed and then 
add code based on u-boot-env below ...

Best

Adrian

> 
> Cheers
> 
> Stijn
> 
> 
> 
> > Signed-off-by: Stijn Segers <[email protected]>
> > ---
> >  package/boot/uboot-envtools/files/realtek | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/package/boot/uboot-envtools/files/realtek
> > b/package/boot/uboot-envtools/files/realtek
> > index 75a399208e..0ee81fe791 100644
> > --- a/package/boot/uboot-envtools/files/realtek
> > +++ b/package/boot/uboot-envtools/files/realtek
> > @@ -22,6 +22,12 @@ zyxel,gs1900-10hp)
> >     [ -n "$idx2" ] && \
> >             ubootenv_add_uci_sys_config "/dev/mtd$idx2" "0x0"
> "0x1000"
> > "0x10000"
> >     ;;
> > +netgear,gs108t-v3|\
> > +netgear,gs110tpp-v1)
> > +   idx="$(find_mtd_index u-boot-env)"
> > +   [ -n "$idx" ] && \
> > +           ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000"
> "0x10000"
> > +   ;;
> >  *)
> >     idx="$(find_mtd_index u-boot-env)"
> >     [ -n "$idx" ] && \
> > --
> > 2.30.2
> >
> >
> > _______________________________________________
> > openwrt-devel mailing list
> > [email protected]
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to