[U-Boot] Compilation of env error u-boot 2015.07-rc2

Thirumalesha N thiru.linux at gmail.com
Wed Jun 17 08:34:16 CEST 2015


Hi Franklin,

Sorry for late response

On Wednesday, June 10, 2015, Cooper Jr., Franklin <fcooper at ti.com> wrote:

>
>
> > -----Original Message-----
> > From: Maxin B. John [mailto:maxin.john at enea.com <javascript:;>]
> > Sent: Wednesday, June 10, 2015 4:10 AM
> > To: Thirumalesha N
> > Cc: u-boot at lists.denx.de <javascript:;>; Cooper Jr., Franklin;
> trini at konsulko.com <javascript:;>
> > Subject: Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2
> >
> > Hi,
> >
> > On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
> > > Hi all,
> > >
> > > I have pulled latest code from u-boot main line through git.
> > >
> > > Using linaro tool chain for am335x board
> > >
> > > I'm trying to compile tools/env but its giving an error
> > >
> > > #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
> > >
> > > HOSTCC tools/env/fw_env.o
> > >
> > > arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
> > > 'NETARGS'
> > > make[1]: *** [ tools/env/few.env.o] error 1
> >
> > I have managed to re-create the same problem.
> >
> > Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
> > ie:
> > # git revert 2320866b978fc12904eeba37236f35d12b4aec30
> >
> > and then try building again.
> >
> > Apparently network arguments were moved to ti_armv7_common.h.
> > However, it wasn't included in the am335x config.
> [Franklin] I haven't used make env before but from my understanding there
> is no config for it. The other configs for am335x that I saw all had
> CONFIG_CMD_NET enabled. So I'm guessing that when doing make env
> CONFIG_CMD_NET isn't enabled which is why we get that error. I just sent a
> patch that fixed this error.


I agree, CONFIG_CMD_NET Is the issue. I have tried to include the
generated/autoconf.h in include/defaults.h that's solve the issue but I
didnt do thoroug test, if it gets effect for other configurations.



> >
> > >
> > > With same tool chain I'm able compile 2014 u-boot
> > >
> > > Regards,
> > > Thiru N
> >
> > Best Regards,
> > Maxin
>

Regards,
Thiru N


More information about the U-Boot mailing list