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

Tom Rini
2013-06-17T14:49:39Z

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

On 06/17/2013 10:43 AM, Mark Jackson wrote:
> On 13/05/13 19:28, Tom Rini wrote:
>> From: Steve Kipisz <s-kipisz2@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.
>
> Using a non "NOR_BOOT" version, I can boot u-boot and read / write
> to the NOR device (located at 0x08000000).
>
> So I've compiled my "NOR_BOOT" version and stored it at the start
> of the flash device.
>
> But when I switch to booting from NOR (rather than SD) I get no
> output on the serial console.
>
> Using an oscilloscope, I can see the NOR chip select is active for
> a while (approx 350us), so *something* is trying to boot.
>
> How can I debug such an early part of the boot process ?

Did you copy the parts that setup the pinmuxing in s_init for NOR?

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

iQIcBAEBAgAGBQJRvyIDAAoJENk4IS6UOR1W0v4P/0Nudkj1/7PhxndIRr3z1pXa
pbEDg3leDIiWHgoM5Z1Ruxti6s6l2LH+vzZ15Sl2XF4xrU8BQ6pxdBuMpbluiv2W
ePr3P2iQ/C67pT5WqXwXO2uIXzTxtUWNc6VOcd1ejDUWfHOAPZjWa7ObpPnklc/o
pGkN01xYuv+9Na/aLPVO2fB9KPE0t1xiVrAwReWaEGC8JaOMCN7XFslYjKSBOkRh
yai3NycmR6N12JcZVvzpRkA5WbcI4GdGC0TK/RywmF3bP6DdgNmc1GMCfKyQRs0c
h26S87AzUO4NyoEfecExLEhS8eP3LU0I5um2tp0kbLBOX/Wdy6hQ/Vn/LNGGFrDs
+urLVetNZweznxlyDn+dtxvo7dEQyiiIHN0xzOVwONUhz9mTnhDk8HBQAPRAqwOK
PVom+jNaG9UYxks4S0qjJvSiJR4VqvYdlOqMxwfPphIb0Nt1a/cVnhm7PCwWvvw2
q3bOAxq11+5aRDeBCOG+8rdFqotgXZ7ig4vwFb5qg4AFJE7wbJLoyAgxhO2o4KNe
Opa8DZsA4Joier1tC2fVuqPcl00tsg9JOqMDug4pgKyCz0EGWtREgy4/KKLT0/9J
JBXrv6h3D+tfUbNjNR7b5seMhK3WxYAMQQwgDGSLgs5Vwnydz5iI0Vp3xH21HSar
2SxW1hU4pMkAjBm2V4OA
=BJ51
-----END PGP SIGNATURE-----