Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefano Babic
Hi Stefan, On 23/04/2014 11:55, Stefan Agner wrote: >> Have you tried to ask Freescale about this issue ? It is quite strage >> and it seems Vybrid-related. > > No not yet. I need to setup an example. However, in the end they will > not change the ROM anyway, especially not on Vybrids already del

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefan Agner
Hi Stefano, Am 2014-04-23 17:19, schrieb Stefano Babic: > Hi Stefan, > > On 23/04/2014 04:34, Stefan Agner wrote: > The header total size is 0x3fc (sizeof(imx_header_v2_t)) right now. This patch would make alter it to be exactly 0x400. >>> >>> This renforces my suspect. Making t

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefano Babic
Hi Stefan, On 23/04/2014 04:34, Stefan Agner wrote: >>> >>> The header total size is 0x3fc (sizeof(imx_header_v2_t)) right now. This >>> patch would make alter it to be exactly 0x400. >> >> This renforces my suspect. Making the image bigger, it seems that the >> SOC loads more data as before. >>

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefan Agner
Hi Stefano, Am 2014-04-17 10:50, schrieb Stefano Babic: > On 16/04/2014 15:36, Stefan Agner wrote: Can you better explain this ? There is only one board in mainline with vf610. CONFIG_SYS_TEXT_BASE is set to 0x3f008000. I cannot get the offset in your example. Are you referring to N

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-17 Thread Stefano Babic
Hi Stefan, On 16/04/2014 15:17, Stefan Agner wrote: > > Quite possible that an altered/correct FCB would actually work. But > speaking about FCB, is there already something for Vybrid? I'm currently > try to create an Image with FCB+IVT V2 header using the mxsboot utility, mxsboot is not the rig

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-17 Thread Stefano Babic
Hi Stefan, On 16/04/2014 15:36, Stefan Agner wrote: >>> >>> Can you better explain this ? There is only one board in mainline with >>> vf610. CONFIG_SYS_TEXT_BASE is set to 0x3f008000. I cannot get the >>> offset in your example. Are you referring to NAND page ? But if the >>> header must be alig

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread Stefan Agner
Am 2014-04-16 15:17, schrieb Stefan Agner: > Hi Stefano, > > Am 2014-04-16 17:44, schrieb Stefano Babic: >> On 16/04/2014 15:29, ste...@agner.ch wrote: >>> From: Stefan Agner >>> >>> The i.MX V2 headers total size is 0x7fc. The header is placed >>> in front of the U-Boot binary which of course is

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread Stefan Agner
Hi Stefano, Am 2014-04-16 17:44, schrieb Stefano Babic: > On 16/04/2014 15:29, ste...@agner.ch wrote: >> From: Stefan Agner >> >> The i.MX V2 headers total size is 0x7fc. The header is placed >> in front of the U-Boot binary which of course is aligned to >> text base. Hence the header starting po

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread Stefano Babic
Hi Stefan, On 16/04/2014 15:29, ste...@agner.ch wrote: > From: Stefan Agner > > The i.MX V2 headers total size is 0x7fc. The header is placed > in front of the U-Boot binary which of course is aligned to > text base. Hence the header starting point is not page > aligned (e.g. at 0x3f400404). Thi

[U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-16 Thread stefan
From: Stefan Agner The i.MX V2 headers total size is 0x7fc. The header is placed in front of the U-Boot binary which of course is aligned to text base. Hence the header starting point is not page aligned (e.g. at 0x3f400404). This is still a valid header, which boots fine using serial loader. How