Hello,

It is attached the patch file.

Best regards,

Flavio

Flavio de Castro Alves Filho
Phi Innovations
www.phiinnovations.com
Phone: +55 19 3709 1358
Mobile: +55 19 9823 9332
Skype: flavio.de.castro.alves.filho


2012/6/12 Stephan Linz <linz@li-pro.net>
Hi Flavio,

sorry for the delay. I've read your email today.

Am Donnerstag, den 07.06.2012, 16:56 -0300 schrieb Flavio de Castro
Alves Filho:
> Hello,
>
>
> I'm affraid that the file x-load-f243938.tar.bz2 located at the
> repository is not fine.
>
>
> I was unable to build MLO file with that file. Comparing with the git
> repository (https://git.gitorious.org/x-load-omap3/mainline.git), I
> could find the ift target.

First of all, read the help pages in menuconfig:

config X_LOAD_MAKE_IFT
 bool
 prompt "generate signed ift file"
 help
   When this option is enabled, a so-called IFT file is generated. You
   need a X-Loader source tree that supports this. This must know about
   the make target 'ift' so ptxdist can do the following: "make ift".

   In details you will need the tool signGP from
   http://beagleboard.googlecode.com/files/signGP.c

So, you have to present a patch in your private BSP to do that!


Some comments to the file x-load-f243938.tar.bz2:

The source package x-load-f243938.tar.bz2 located on the Pengutronix
mirror is a snapshot of this git repo by Steve Sakoman:

https://gitorious.org/x-load-omap3/mainline/commit/f243938

PTXdist is a distribution build and management system and requires
source tarballs in a specific given version. The problem with x-load is,
that there is nowhere a official source tarball storage with latest
releases. That's why Pengutronix (Marc) have upload this snapshot.

Feel free to submit a patch (and a new source tarball) for a newer
x-load version to ptxdist mailing list that solves your problems.

br,
Stephan

>
>
>
> Best regards,
>
>
> Flavio
>
> Flavio de Castro Alves Filho
> Phi Innovations
> www.phiinnovations.com
> Phone: +55 19 3709 1358
> Mobile: +55 19 9823 9332
> Skype: flavio.de.castro.alves.filho
>
>
> 2010/8/6 Stephan Linz <linz@li-pro.net>
>         Am Freitag, 6. August 2010, um 09:20:17 schrieb Marc
>         Kleine-Budde:
>         > ---snip--
>         >
>         > tnx, pushed to master.
>         >
>         > but, crap, it doesn't work :(...see inline comments:
>
>         > > --snip--
>         > > +X_LOAD_MAKE_OPT    := CROSS_COMPILE=
>         $(BOOTLOADER_CROSS_COMPILE)
>         > > HOSTCC=$(HOSTCC) +X_LOAD_MAKE_PAR   := NO
>         > > +
>         > > +$(STATEDIR)/x-load.prepare:
>         > > +   @$(call targetinfo)
>         > > +   @$(call compile, X_LOAD, $(PTXCONF_X_LOAD_CONFIG))
>         >
>         >                                  ^^^^^^^^^^^^^^^^^^^^^^^^
>         >
>         > I think the second parameter overwrites _MAKE_OPT. I'm not
>         sure why it
>         > does this, looks like a bug. It should be fixed, but that
>         requires some
>         > time and testing...
>         >
>         > However I can work around this limitation by changing
>         _MAKE_OPT to
>         > _MAKE_ENV.
>
>
>         This surprises me because it has properly compiled for me
>
>         >
>         > I'll push this fix.
>         >
>
>         tnx a lot.  I'll try out your fix. Give me a hint (here).
>
>
>         --
>         Viele Grüße,
>         Stephan Linz
>         ______________________________________________________________________________
>         OpenDCC: http://www.li-pro.net/opendcc.phtml
>         PC/M: http://www.li-pro.net/pcm.phtml
>         CDK4AVR: http://cdk4avr.sourceforge.net/
>         CDK4NIOS: http://cdk4nios.sourceforge.net/
>         CDK4MSP: http://cdk4msp.sourceforge.net/
>         CPM4L:
>         http://download.opensuse.org/repositories/home:/rexut:/CPM4L
>
>
>         --
>         ptxdist mailing list
>         ptxdist@pengutronix.de
>
>
>