Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-12-01 Thread Simon Glass
Hi Joakim, On 29 November 2017 at 03:48, Joakim Tjernlund wrote: > On Wed, 2017-11-29 at 19:11 +0900, Masahiro Yamada wrote: >> CAUTION: This email originated from outside of the organization. Do not >> click links or open attachments unless you recognize the

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-29 Thread Joakim Tjernlund
On Wed, 2017-11-29 at 19:11 +0900, Masahiro Yamada wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi Simon, > > > 2017-11-28 2:13 GMT+09:00 Simon Glass

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-29 Thread Masahiro Yamada
Hi Simon, 2017-11-28 2:13 GMT+09:00 Simon Glass : > (Tom - any thoughts about a more expansive cc list on this?) > > Hi Masahiro, > > On 26 November 2017 at 07:16, Masahiro Yamada > wrote: >> 2017-11-26 20:38 GMT+09:00 Simon Glass

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-29 Thread Masahiro Yamada
Hi Wolfgang, 2017-11-27 22:21 GMT+09:00 Wolfgang Denk : > Dear Masahiro, > > In message > you > wrote: >> >> When we talk about "relocation", two things are happening. >> >> [1] U-Boot proper copies itself to

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-28 Thread Peter Robinson
>> (Tom - any thoughts about a more expansive cc list on this?) >> >> Hi Masahiro, >> >> On 26 November 2017 at 07:16, Masahiro Yamada >> wrote: >> > 2017-11-26 20:38 GMT+09:00 Simon Glass : >> >> Hi Philipp, >> >> >> >> On 25 November 2017 at

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-28 Thread Lukasz Majewski
On Mon, 27 Nov 2017 10:13:09 -0700 Simon Glass wrote: > (Tom - any thoughts about a more expansive cc list on this?) > > Hi Masahiro, > > On 26 November 2017 at 07:16, Masahiro Yamada > wrote: > > 2017-11-26 20:38 GMT+09:00 Simon Glass

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 10:13:09AM -0700, Simon Glass wrote: > (Tom - any thoughts about a more expansive cc list on this?) Not really, sorry. > Hi Masahiro, > > On 26 November 2017 at 07:16, Masahiro Yamada > wrote: > > 2017-11-26 20:38 GMT+09:00 Simon Glass

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Tom Rini
On Sun, Nov 26, 2017 at 11:16:45PM +0900, Masahiro Yamada wrote: [snip] > This discussion should have happened. > U-Boot boot sequence is crazily inefficient. > > > > When we talk about "relocation", two things are happening. > > [1] U-Boot proper copies itself to the very end of DRAM > [2]

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Simon Glass
(Tom - any thoughts about a more expansive cc list on this?) Hi Masahiro, On 26 November 2017 at 07:16, Masahiro Yamada wrote: > 2017-11-26 20:38 GMT+09:00 Simon Glass : >> Hi Philipp, >> >> On 25 November 2017 at 16:31, Dr. Philipp Tomsich >>

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Wolfgang Denk
Dear Masahiro, In message you wrote: > > When we talk about "relocation", two things are happening. > > [1] U-Boot proper copies itself to the very end of DRAM ...to the very end of DRAM minus space reserved for any memory

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Masahiro Yamada
2017-11-26 20:38 GMT+09:00 Simon Glass : > Hi Philipp, > > On 25 November 2017 at 16:31, Dr. Philipp Tomsich > wrote: >> Hi, >> >>> On 25 Nov 2017, at 23:34, Simon Glass wrote: >>> >>> +Tom, Masahiro, Philipp >>> >>>

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Andreas Färber
Hi Kever, Am 21.11.2017 um 10:33 schrieb Kever Yang: >     I try to understand why we need to do the relocate in U-Boot. > From the document README/crt0.S, I think the relocation feature comes > from some SoC have limited SRAM whose size is enough to load the whole > U-Boot, but not enough to run

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Dr. Philipp Tomsich
> On 26 Nov 2017, at 14:44, Dr. Philipp Tomsich > wrote: > > >> On 26 Nov 2017, at 12:38, Simon Glass wrote: >> >> Hi Philipp, >> >> On 25 November 2017 at 16:31, Dr. Philipp Tomsich >> >

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Dr. Philipp Tomsich
> On 26 Nov 2017, at 12:38, Simon Glass wrote: > > Hi Philipp, > > On 25 November 2017 at 16:31, Dr. Philipp Tomsich > > wrote: >> Hi, >> >>> On 25 Nov 2017, at 23:34, Simon Glass

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Simon Glass
Hi Philipp, On 25 November 2017 at 16:31, Dr. Philipp Tomsich wrote: > Hi, > >> On 25 Nov 2017, at 23:34, Simon Glass wrote: >> >> +Tom, Masahiro, Philipp >> >> Hi, >> >> On 22 November 2017 at 03:27, Wolfgang Denk wrote:

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-25 Thread Dr. Philipp Tomsich
Hi, > On 25 Nov 2017, at 23:34, Simon Glass wrote: > > +Tom, Masahiro, Philipp > > Hi, > > On 22 November 2017 at 03:27, Wolfgang Denk wrote: >> Dear Kever Yang, >> >> In message you wrote: >>> >>> I can

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-25 Thread Simon Glass
+Tom, Masahiro, Philipp Hi, On 22 November 2017 at 03:27, Wolfgang Denk wrote: > Dear Kever Yang, > > In message you wrote: >> >> I can understand this feature, we always do dram_init_banks() first, >> then we relocate to

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-22 Thread Wolfgang Denk
Dear Kever Yang, In message you wrote: > > I can understand this feature, we always do dram_init_banks() first, > then we relocate to 'known' area, then will be no risk to access memory. > I believe there must be some historical reason for

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-22 Thread Lukasz Majewski
Hi Kever, > Hi Lukasz, > > > Thanks for your quick comments on this topic. > On 11/21/2017 06:29 PM, Lukasz Majewski wrote: > > Hi Kever, > > > >> Hi Guys, > >> > >> I try to understand why we need to do the relocate in U-Boot. > >> From the document README/crt0.S, I think the

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-22 Thread Lokesh Vutla
+ Simon, On Wednesday 22 November 2017 07:29 AM, Kever Yang wrote: > Hi Lukasz, > > >     Thanks for your quick comments on this topic. > On 11/21/2017 06:29 PM, Lukasz Majewski wrote: >> Hi Kever, >> >>> Hi Guys, >>> >>>   I try to understand why we need to do the relocate in U-Boot. >>>  

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-22 Thread Lukasz Majewski
Hi Chris, > On Wed, Nov 22, 2017 at 2:59 PM, Kever Yang > wrote: > > Hi Lukasz, > > > > > > Thanks for your quick comments on this topic. > > On 11/21/2017 06:29 PM, Lukasz Majewski wrote: > >> > >> Hi Kever, > >> > >>> Hi Guys, > >>> > >>> I try to

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-21 Thread Chris Packham
On Wed, Nov 22, 2017 at 2:59 PM, Kever Yang wrote: > Hi Lukasz, > > > Thanks for your quick comments on this topic. > On 11/21/2017 06:29 PM, Lukasz Majewski wrote: >> >> Hi Kever, >> >>> Hi Guys, >>> >>> I try to understand why we need to do the relocate in

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-21 Thread Kever Yang
Hi Lukasz, Thanks for your quick comments on this topic. On 11/21/2017 06:29 PM, Lukasz Majewski wrote: Hi Kever, Hi Guys, I try to understand why we need to do the relocate in U-Boot. From the document README/crt0.S, I think the relocation feature comes from some SoC have

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-21 Thread Lukasz Majewski
Hi Kever, > Hi Guys, > > I try to understand why we need to do the relocate in U-Boot. > From the document README/crt0.S, I think the relocation feature comes > from some SoC have limited SRAM whose size is enough to load the whole > U-Boot, but not enough to run all the drivers. > >

[U-Boot] U-Boot proper(not SPL) relocate option

2017-11-21 Thread Kever Yang
Hi Guys, I try to understand why we need to do the relocate in U-Boot. From the document README/crt0.S, I think the relocation feature comes from some SoC have limited SRAM whose size is enough to load the whole U-Boot, but not enough to run all the drivers. I don't know how many

[U-Boot] U-Boot proper(not SPL) relocate option

2017-11-21 Thread Kever Yang
Hi Guys, I try to understand why we need to do the relocate in U-Boot. From the document README/crt0.S, I think the relocation feature comes from some SoC have limited SRAM whose size is enough to load the whole U-Boot, but not enough to run all the drivers. I don't know how many