
Dear Bin,
Coming back to x86 example.
-----Original Message----- From: Bin Meng [mailto:bmeng.cn@gmail.com] Sent: Friday, June 29, 2018 7:03 AM To: York Sun york.sun@nxp.com Cc: Simon Glass sjg@chromium.org; Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; 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 york.sun@nxp.com wrote:
On 06/27/2018 10:53 PM, Bin Meng wrote:
<snip> > >> 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. e500 runs from the last address of the flash. We cannot put DT after U-Boot.
Looks you did not get it. I know e500 reset vector is the last 4 bytes below 4G. This is similar to x86. DTB can be put after the u-boot image without reset vector. You may check how x86 does this.
I tried to search thing for x86 but did not succeed ☹
I request you to help me with sample code and boot flow. I will try to understand and see how it can help PowerPC.
--pk