From: Tom Warren Date: Thu, 1 Sep 2016 22:36:12 +0000 Subject: [U-Boot] [PATCH] Trimslice config: update for Trimslice so SPI flash works In-Reply-To: <862b69e2-e7e4-1ac9-e68e-44a406b83b5f@wwwdotorg.org> References: <20160725190230.13937-1-sarnold@vctlabs.com> <231ebc19-d26a-1b8c-d7b6-8a739998c9fd@wwwdotorg.org> <2d078697-c145-f206-5821-c82ab6cd4183@wwwdotorg.org> <862b69e2-e7e4-1ac9-e68e-44a406b83b5f@wwwdotorg.org> Message-ID: <67f04389cd9b4068bc005255a1d01e43@HQMAIL103.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 Steve/Stephen, > -----Original Message----- > From: Stephen Warren [mailto:swarren at wwwdotorg.org] > Sent: Tuesday, July 26, 2016 2:57 PM > To: Steve Arnold > Cc: Stephen Arnold ; u-boot at lists.denx.de; Stephen L > Arnold ; Tom Warren ; Simon > Glass > Subject: Re: [U-Boot] [PATCH] Trimslice config: update for Trimslice so SPI flash > works > > On 07/26/2016 03:45 PM, Steve Arnold wrote: > > So is there a fix to be had by maybe shifting both > > CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE a little bit? > > > > Steve > > > > On Tue, Jul 26, 2016 at 2:14 PM, Stephen Warren > > wrote: > > > > On 07/26/2016 12:49 PM, Steve Arnold wrote: > > > > I did mention it was black and showed nothing on serial console > > with the > > default values, ie, building as-is doesn't even show u-boot > > trying to > > load (after flashing it to the SPI flash the last thing you see is > > "Resetting..."). Power it back up and nothing happens, no > > u-boot, nada. > > > > > > It looks like there's some issue if the total flash image size is > > over 512KiB. (The physical flash chip is 1MiB). I'm investigating > > whether this is expected and what to do about it. The change to > > CONFIG_SYS_TEXT_BASE accidentally solves this, since it currently > > happens to shrink the image size enough not to hit this apparent limit. > > Changing CONFIG_SPL_TEXT_BASE won't have any effect on this; size matters > not location. > > As I mentioned, changing CONFIG_SYS_TEXT_BASE currently avoids the issue, > but hopefully we can find something better. Was this ever resolved? If so please post an updated patch. I' like to get this out of my Patchwork queue. Thanks, Tom -- nvpublic