From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Martin Date: Wed, 6 Jun 2012 15:00:37 -0700 Subject: [U-Boot] [PATCH v2 08/10] tegra20: add u-boot.t2 target In-Reply-To: <4FCFB611.7010505@wwwdotorg.org> References: <1338931225-12246-1-git-send-email-amartin@nvidia.com> <1338931225-12246-9-git-send-email-amartin@nvidia.com> <4FCF89D7.2060404@wwwdotorg.org> <20120606193719.GG13311@nvidia.com> <5FBF8E85CA34454794F0F7ECBA79798F379C416A7D@HQMAIL04.nvidia.com> <4FCFB611.7010505@wwwdotorg.org> Message-ID: <20120606220037.GJ13311@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jun 06, 2012 at 12:57:05PM -0700, Stephen Warren wrote: > On 06/06/2012 01:53 PM, Tom Warren wrote: > >> > >> I'll move the SPL to 0x108000 and the normal u-boot to 0x208000 if that > >> sounds more acceptable. > > The current flash tools everyone is using expect to flash U-Boot to 0x0108000 (on T20). This works with the non-SPL (current) upstream U-Boot for Tegra, and should continue to work for any new SPL Tegra U-Boot, so that people can use the same flash tools for either build. > > > > Note that the above statement assumes we'll still be able to build either a 'normal' non-SPL build of Tegra U-Boot and a SPL build with your patchset, at least in the interim while we're testing/reviewing these major changes. > > I assume that once a board is converted to SPL, you always use a > matched/concatenated pair of SPL+non-SPL, i.e. never SPL on its own or > non-SPL on its own? Yes, that's the intention. Although I do have plans down the road for adding memory initialization to the SPL so I can use it for boot/flashing when in recovery mode and there's no BCT. In the normal case they have to be used together. > > But that does bring up one point - boards which haven't yet converted to > SPL need to still build/link for the original 00108000 address, so the > addresses need to depend on config data. > > Either that, or just convert all boards at once? I'll need to convert all the boards. Since I removed the Cortex A9 init from the normal u-boot it will no longer work for non SPL boot. I think that's what we want anyway, I just may need some help testing some of the boards I don't have. -Allen -- nvpublic