Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-09 Thread Wolfgang Denk
Dear Aneesh V, In message 4f33614d.8020...@ti.com you wrote: What exactly are you talking about here that was adding a considerable delay - the memory copy ? Are you really sure about that? I didn't measure it part by part, but removing relocation gave a noticeable speed-up, this

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-09 Thread Aneesh V
On Thursday 09 February 2012 05:14 PM, Wolfgang Denk wrote: Dear Aneesh V, In message4f33614d.8020...@ti.com you wrote: What exactly are you talking about here that was adding a considerable delay - the memory copy ? Are you really sure about that? I didn't measure it part by part, but

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-08 Thread Wolfgang Denk
Dear Aneesh V, In message 4f3219a8.7090...@ti.com you wrote: As for ignoring comments, I think you are culpable of that more than me in this specific instance:) (of course I know you are busy person, but still..). For instance, my arguments in the previous round [1] never got an answer from

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-08 Thread Aneesh V
Dear Wolfgang, On Wednesday 08 February 2012 07:28 PM, Wolfgang Denk wrote: Dear Aneesh V, In message4f3219a8.7090...@ti.com you wrote: As for ignoring comments, I think you are culpable of that more than me in this specific instance:) (of course I know you are busy person, but still..).

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-08 Thread Wolfgang Denk
Dear Aneesh V, In message 4f328b41.2050...@ti.com you wrote: But since then I changed my mind due to some other factors: 1. Difficulty in debugging. I use JTAG debuggers. The workarounds available are still painful and not many people know about it. We use JTAG debuggers all day, and have

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-08 Thread Aneesh V
On Wednesday 08 February 2012 09:53 PM, Wolfgang Denk wrote: Dear Aneesh V, In message4f328b41.2050...@ti.com you wrote: But since then I changed my mind due to some other factors: 1. Difficulty in debugging. I use JTAG debuggers. The workarounds available are still painful and not many

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-07 Thread Wolfgang Denk
Dear Aneesh V, In message 4f30d06e.8060...@ti.com you wrote: I agree. Even on some platforms that are not fully static (such as having variants with different memory sizes) the minimum available memory is more than enough to allocate big enough partitions for each need at U-Boot level. And

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-07 Thread Aneesh V
Dear Wolfgang, On Wednesday 08 February 2012 04:56 AM, Wolfgang Denk wrote: Dear Aneesh V, In message4f30d06e.8060...@ti.com you wrote: I agree. Even on some platforms that are not fully static (such as having variants with different memory sizes) the minimum available memory is more than

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Aneesh V
On Sunday 05 February 2012 11:49 AM, Simon Glass wrote: Hi, On Sat, Feb 4, 2012 at 1:15 AM, Aneesh Vane...@ti.com wrote: Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Tom Rini
On Sat, Feb 4, 2012 at 4:00 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Le 04/02/2012 10:15, Aneesh V a écrit : Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Albert ARIBAUD
Hi Tom, Le 06/02/2012 15:34, Tom Rini a écrit : On Sat, Feb 4, 2012 at 4:00 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Le 04/02/2012 10:15, Aneesh V a écrit : Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4f304463.1050...@aribaud.net you wrote: In my experience, the offset is consistent on a given platform so once you do the dance once to figure out where it'll be placed you can just start off debugging post-relocation. That's for a given platform *and* a

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Graeme Russ
Hi Wolfgang, On Tue, Feb 7, 2012 at 9:27 AM, Wolfgang Denk w...@denx.de wrote: Dear Albert ARIBAUD, In message 4f304463.1050...@aribaud.net you wrote: In my experience, the offset is consistent on a given platform so once you do the dance once to figure out where it'll be placed you can

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-06 Thread Aneesh V
On Tuesday 07 February 2012 04:11 AM, Graeme Russ wrote: Hi Wolfgang, On Tue, Feb 7, 2012 at 9:27 AM, Wolfgang Denkw...@denx.de wrote: Dear Albert ARIBAUD, In message4f304463.1050...@aribaud.net you wrote: In my experience, the offset is consistent on a given platform so once you do the

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-04 Thread Aneesh V
Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This does mean that U-Boot is started in RAM. With this, one might wonder why

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-04 Thread Aneesh V
On Saturday 04 February 2012 04:30 PM, Albert ARIBAUD wrote: Le 04/02/2012 10:15, Aneesh V a écrit : Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-04 Thread Albert ARIBAUD
Le 04/02/2012 12:14, Aneesh V a écrit : On Saturday 04 February 2012 04:30 PM, Albert ARIBAUD wrote: Le 04/02/2012 10:15, Aneesh V a écrit : Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-04 Thread Simon Glass
Hi, On Sat, Feb 4, 2012 at 1:15 AM, Aneesh V ane...@ti.com wrote: Hi Dirk, On Friday 03 February 2012 12:55 PM, Dirk Behme wrote: Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Stefano Babic
On 03/02/2012 08:25, Dirk Behme wrote: Hi, Hi Dirk, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This does mean that U-Boot is started in RAM. The same happens on MX5 and on several

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Dirk Behme
On 03.02.2012 09:51, Stefano Babic wrote: On 03/02/2012 08:25, Dirk Behme wrote: Hi, Hi Dirk, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This does mean that U-Boot is started in RAM.

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Stefano Babic
On 03/02/2012 11:18, Dirk Behme wrote: Ok, understood :) Do you have any pointers or hints how to implement a board specific relocation skip? Just in case somebody wants us to implement this for a specific i.MX6 board ... Not really - I think you have to dig into the git history, when we

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Mike Frysinger
On Friday 03 February 2012 06:00:57 Stefano Babic wrote: On 03/02/2012 11:18, Dirk Behme wrote: Ok, understood :) Do you have any pointers or hints how to implement a board specific relocation skip? Just in case somebody wants us to implement this for a specific i.MX6 board ... Not

[U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-02 Thread Dirk Behme
Hi, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This does mean that U-Boot is started in RAM. With this, one might wonder why any relocation RAM - RAM is done anyway and if this could be