[U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

Tom Rini trini at ti.com
Wed Jul 17 15:32:45 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/17/2013 08:58 AM, Mark Jackson wrote:
> On 11/07/13 14:06, Mark Jackson wrote:
>> On 18/06/13 13:11, Mark Jackson wrote:
>>> On 17/06/13 15:43, Mark Jackson wrote:
>>>> On 13/05/13 19:28, Tom Rini wrote:
>>>>> From: Steve Kipisz <s-kipisz2 at ti.com>
>>>>> 
>>>>> NOR requires that s_init be within the first 4KiB of the 
>>>>> image so that we can perform the rest of the required 
>>>>> pinmuxing to talk with the rest of NOR that we are found 
>>>>> on.  When NOR_BOOT is set we save our environment in NOR at
>>>>> 512KiB and a redundant copy at 768KiB.  We avoid using SPL
>>>>> for this case and u-boot.bin is written directly to the
>>>>> start of NOR.
>>>> 
>>>> I'm trying to get this up and running our NanoBone platform,
>>>>  but I'm having no success.
>>> 
>>> Just an update ... I now have it working ... yay !!
>>> 
>>> The main (and possibly the *only*) culprit was that SYSBOOT[8]
>>>  (which selects 8/16bit mode) was being incorrectly influenced
>>>  by a hardware fault.
>>> 
>>> I have pulled quite a few patches from various places, some of
>>>  which might not be required.  Now I have a working base, I'll
>>>  work out what is needed on top of Tom's original patch set.
>> 
>> Okay ... I've now got NOR booting rebased to master using the 
>> patch set below. This doesn't include my board code as that's of
>>  no interest until NOR booting is added to the mainline code.
>> 
>> Sorry, Tom, I'm no git expert, so I'm not sure how to compare 
>> this to your previous patches ... I hope this is useful in some 
>> way ??
> 
> Tom ... any idea when NOR booting will be merged into the mainline
>  code ?

I've been working this week on things, and I'm hopeful about
re-posting the series today.  The only minor issue I have is that
calling save_omap_boot_params and the asm() bits for finishing NOR
pinmux seem to conflict and leave me in a bad state.  But, since we
don't make use of the boot_params info yet in full U-Boot, that's not
a blocker to me.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJR5pz8AAoJENk4IS6UOR1WVjgP/AjmJE/HMX5MGhR4xUYmr8ae
XOJRJmwHhw6Y+nJdiwNwoVJtdA4xQErwtLGJvFvRVqocKJZGJvhHtu0BnnilsAQQ
e9eyC4l1kGowSV2HPLVGjkxpgRSSPxo8fGXVw1DBOE12mcAh2U75QvONZwcG6L/w
ZW/d1E97pCL0Wfunj6/QA3BJROpzNnRbmGsMpTp+l/2HES7xHwVf5WLl+aUB/Zy7
VtKHc61XUHYLxvGAisaruPZfhJMfT0cCNc7XAB/HvZGYrSX4ed/XVWZr5FouGV42
yx0grjihAfd+JLSN1wIvtSFxdGw/y3fGJ6lOXsBI9D4k07JE7AHniQg4o+VQM6Fw
9/z17d4wm6BR2zwBdSnjek24OTM3bBzGjYkcQHJEwghzyQgglifbX7emDCqvObvb
kRidZ8WqHlVbbKi69namInZ1f5tgoFbRlTdpxKpXxEUuArRJQwFoPTWKoVeANJjE
ToltaHJa1g9Yqr2fI17Y8K2cjFeEid/64/Yd3LLtJFN22jsFetc1nJj/INkZI1CU
QPgB445+eWiZWVae8PUXyaH8CKkMCa4pYilY+l2JQJAG1aCr0yPP7+1706LheQKY
3qjLsb9jCNLoZ/Sn+jZg4VgK3LfDhp0CyVZafeRQbjGfhuqAT3QBdXi9biBN81zl
EvoUyWaSmbQkzq53xFs6
=+Uko
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list