Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-07-05 Thread Bin Meng
. >> > >> >> -Original Message- >> >> From: Bin Meng [mailto:bmeng...@gmail.com] >> >> Sent: Friday, June 29, 2018 7:03 AM >> >> To: York Sun >> >> Cc: Simon Glass ; Prabhakar Kushwaha >> >> ; u-boot@l

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-07-04 Thread Jagdish Gediya
Hi Bin, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Bin Meng > Sent: Tuesday, July 3, 2018 8:11 PM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Support of device-tree for PowerPC platform: Query

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-07-03 Thread Bin Meng
;> Cc: Simon Glass ; Prabhakar Kushwaha >> ; u-boot@lists.denx.de >> Subject: Re: [U-Boot] Support of device-tree for PowerPC platform: Query >> >> Hi York, >> >> On Thu, Jun 28, 2018 at 11:32 PM, York Sun wrote: >> > On 06/27/2018 10:53 PM, Bin Meng wr

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-07-02 Thread Prabhakar Kushwaha
Dear Bin, Coming back to x86 example. > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, June 29, 2018 7:03 AM > To: York Sun > Cc: Simon Glass ; Prabhakar Kushwaha > ; u-boot@lists.denx.de > Subject: Re: [U-Boot] Support of de

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-07-01 Thread Prabhakar Kushwaha
Dear Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, June 29, 2018 9:09 AM > To: Prabhakar Kushwaha > Cc: York Sun ; Simon Glass ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] Support of device-tree for PowerPC platform: Qu

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread Bin Meng
Hi Prabhakar, On Fri, Jun 29, 2018 at 10:55 AM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: York Sun >> Sent: Thursday, June 28, 2018 9:07 PM >> To: Prabhakar Kushwaha ; Simon Glass >> >> Cc: u-boot@lists.denx.de; Poonam Aggrwal ; >> Jagdish Gediya >> Subject: Re:

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread Prabhakar Kushwaha
> -Original Message- > From: York Sun > Sent: Thursday, June 28, 2018 9:07 PM > To: Prabhakar Kushwaha ; Simon Glass > > Cc: u-boot@lists.denx.de; Poonam Aggrwal ; > Jagdish Gediya > Subject: Re: Support of device-tree for PowerPC platform: Query > > On 06/27/2018 11:30 PM, Prabhakar

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread Bin Meng
Hi York, On Thu, Jun 28, 2018 at 11:32 PM, York Sun wrote: > On 06/27/2018 10:53 PM, Bin Meng wrote: > >> >>> Can the DT perhaps go before U-Boot in the flash? We would need a way >>> to find it though. >>> >> >> I don't see any issue that DT go after U-Boot in the flash. x86 does >> this way,

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread York Sun
On 06/27/2018 11:30 PM, Prabhakar Kushwaha wrote: >> Thanks for the direction. >> >> We will be following approach "a" with updated flash map. >> We will allocate 1MB for uboot in flash. Out which 64K for DTB and 960KB for >> u-boot for future increase. >> >> We will also update location of env

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread York Sun
On 06/27/2018 10:53 PM, Bin Meng wrote: > >> Can the DT perhaps go before U-Boot in the flash? We would need a way >> to find it though. >> > > I don't see any issue that DT go after U-Boot in the flash. x86 does > this way, and its reset vector is also the last address of flash. > Big issue.

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-28 Thread Prabhakar Kushwaha
Hi Simon, > -Original Message- > From: Prabhakar Kushwaha > Sent: Thursday, June 28, 2018 11:17 AM > To: Simon Glass ; York Sun > Cc: u-boot@lists.denx.de; Poonam Aggrwal ; > Jagdish Gediya > Subject: RE: Support of device-tree for PowerPC platform: Query > > Hi Simon, > > > >

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread Bin Meng
Hi Prabhakar, On Thu, Jun 28, 2018 at 6:05 AM, Simon Glass wrote: > Hi, > > On 27 June 2018 at 08:06, York Sun wrote: >> >> +Simon >> >> On 06/27/2018 01:05 AM, Prabhakar Kushwaha wrote: >> > Hi All, >> > >> > We are trying to add support of device-tree for PowerPC platforms. As per >> > our

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread Prabhakar Kushwaha
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Thursday, June 28, 2018 3:36 AM > To: York Sun > Cc: Prabhakar Kushwaha ; u- > b...@lists.denx.de; Poonam Aggrwal ; Jagdish > Gediya > Subject: Re: Support of device-tree

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread Simon Glass
Hi, On 27 June 2018 at 08:06, York Sun wrote: > > +Simon > > On 06/27/2018 01:05 AM, Prabhakar Kushwaha wrote: > > Hi All, > > > > We are trying to add support of device-tree for PowerPC platforms. As per > > our analysis following 2 options can be used. > > > > a) CONFIG_OF_SEPARATE > > b)

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread York Sun
+Simon On 06/27/2018 01:05 AM, Prabhakar Kushwaha wrote: > Hi All, > > We are trying to add support of device-tree for PowerPC platforms. As per our > analysis following 2 options can be used. > > a) CONFIG_OF_SEPARATE > b) CONFIG_OF_EMBED > > In PowerPC platforms, reset_vector is always

[U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread Prabhakar Kushwaha
Hi All, We are trying to add support of device-tree for PowerPC platforms. As per our analysis following 2 options can be used. a) CONFIG_OF_SEPARATE b) CONFIG_OF_EMBED In PowerPC platforms, reset_vector is always expected at the **last** address of flash. U-boot binary has reset_vector