Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-18 Thread Stefano Babic
Hi Peng, On 18/09/2016 08:50, Peng Fan wrote: > Hi, > > On Sat, Sep 10, 2016 at 04:40:47PM -0700, Eric Nelson wrote: >> Hi Tom, >> >> On 09/06/2016 07:15 AM, Tom Rini wrote: >>> On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: On 09/06/2016 06:40 AM, Tom Rini wrote: > On Fri,

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-17 Thread Peng Fan
Hi, On Sat, Sep 10, 2016 at 04:40:47PM -0700, Eric Nelson wrote: >Hi Tom, > >On 09/06/2016 07:15 AM, Tom Rini wrote: >> On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: >>> On 09/06/2016 06:40 AM, Tom Rini wrote: On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > > >

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-10 Thread Eric Nelson
Hi Tom, On 09/06/2016 07:15 AM, Tom Rini wrote: > On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: >> On 09/06/2016 06:40 AM, Tom Rini wrote: >>> On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >>> >>> Would it be possible to implement having the next stage also be sen

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:12:55PM +0200, Petr Kulhavy wrote: > > > On 06/09/16 16:00, Eric Nelson wrote: > >Hi Tom, > > > >On 09/06/2016 06:40 AM, Tom Rini wrote: > >>On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> > >>Another place this doesn't work (which is where it doesn't

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: > Hi Tom, > > On 09/06/2016 06:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >>> You don't need u-boot.imx to boot the board wi

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Petr Kulhavy
On 06/09/16 16:00, Eric Nelson wrote: Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: Another place this doesn't work (which is where it doesn't work for me) is when the console is already open and I can't easily take it away to s

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Eric Nelson
Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >>> You don't need u-boot.imx to boot the board with imx_usb_loader. >>> Check the README update that Stefano did with this com

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:53:30AM -0300, Otavio Salvador wrote: > On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >> >You don't need u-boot.imx to boot the board w

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Otavio Salvador
On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >> >You don't need u-boot.imx to boot the board with imx_usb_loader. >> >Check the README update that Stefano did with this co

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > Hi Fabio, > > On 02/09/16 22:03, Fabio Estevam wrote: > >You don't need u-boot.imx to boot the board with imx_usb_loader. > >Check the README update that Stefano did with this commit: > > > >commit 40f4839ce12adfc0223d6e3035cf9c3a4754

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-04 Thread Stefano Babic
Hi Otavio, On 03/09/2016 22:27, Otavio Salvador wrote: > On Sat, Sep 3, 2016 at 6:40 AM, Stefano Babic wrote: >> On 03/09/2016 01:15, Petr Kulhavy wrote: >>> You are saying that in order to cover my use case(s) I need two >>> defconfigs. Well, ok... >>> But how do I integrate this into Buildroot?

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-03 Thread Otavio Salvador
On Sat, Sep 3, 2016 at 6:40 AM, Stefano Babic wrote: > On 03/09/2016 01:15, Petr Kulhavy wrote: >> You are saying that in order to cover my use case(s) I need two >> defconfigs. Well, ok... >> But how do I integrate this into Buildroot? For the sake of >> maintainability, simplification, reducing

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-03 Thread Stefano Babic
Hi Petr, On 03/09/2016 01:15, Petr Kulhavy wrote: > Hi Stefano, > > I need to build two set-ups: > 1) SPL + u-boot.img for normal device run out of flash > 2) u-boot.imx for initial device load together with fastboot > > For (2) SPL + kermit + u-boot.img is not an option for me, simply > because

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi Stefano, I need to build two set-ups: 1) SPL + u-boot.img for normal device run out of flash 2) u-boot.imx for initial device load together with fastboot For (2) SPL + kermit + u-boot.img is not an option for me, simply because it is too slow. I agree that the u-boot images in case (1) and

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Stefano Babic
Hi Petr, On 02/09/2016 20:57, Petr Kulhavy wrote: > Hi, > > you have already brought it to the point - it needs two defconfigs. > This means double the files in U-boot and second and more important, how > does it integrate into a tool like Buildroot? > In other words I'm trying to do it with just

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi Fabio, On 02/09/16 22:03, Fabio Estevam wrote: You don't need u-boot.imx to boot the board with imx_usb_loader. Check the README update that Stefano did with this commit: commit 40f4839ce12adfc0223d6e3035cf9c3a4754a0ec Author: Stefano Babic Date: Fri Dec 11 17:30:42 2015 +0100 imx_c

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Fabio Estevam
Hi Petr, On Fri, Sep 2, 2016 at 3:57 PM, Petr Kulhavy wrote: > Hi, > > you have already brought it to the point - it needs two defconfigs. > This means double the files in U-boot and second and more important, how > does it integrate into a tool like Buildroot? Buildroot is capable of booting SP

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi, you have already brought it to the point - it needs two defconfigs. This means double the files in U-boot and second and more important, how does it integrate into a tool like Buildroot? In other words I'm trying to do it with just one defconfig. Alltogether I want to build 3 files: * SPL

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Stefano Babic
Hi, On 02/09/2016 18:46, Petr Kulhavy wrote: > Hi, > > I'm facing a problem that the iMX Makefile does not allow to build > u-boot.imx and the SPL binary simultaneously. ...I am missing why you need to build them at the same time. Can you start with a detailed description of the problem ? Why is