On 29/01/2018 16:15, Radiya Dhaval wrote:
> Hi Stefano,
>
> Thanks for the quick reply.
>
> CONFIG_MONGOOSEIPV6 is already not set i.e disabled in swupdate
> "defconfig" file as you can see from the attached defconfig file. As I
> already done this approach on BeagleBone Black board and it is working
> as Expected on BBB, but for Bay trail board, the main difference is
> about IPV6 configuration is Linux kernel.
But are you sure that your defconfig is taken when Yocto builds ?
As far as I see in code, CONFIG_MONGOOSEIPV6 turns off USE_IPV6 - and
you can check this in Yocto's log if it is true.
But if this is true, the code mongoose/mongoose.c causing the error is
disabled at all:
#if defined(USE_IPV6)
setsockopt(so.sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *) &off,
sizeof(off)) != 0 ||
#endif
It looks like that SWUpdate was built *with* IPV6 support and your build
is taking another defconfig.
>
> So, please suggest how to resolve this error while using only IPV4
> configurations.
>
> Thanks.
>
Best regards,
Stefano Babic
>
sba...@denx.de <mailto:
sba...@denx.de>
> =====================================================================