From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jackson Date: Mon, 17 Jun 2013 16:23:02 +0100 Subject: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR. In-Reply-To: <51BF24E1.1070409@ti.com> References: <1368469719-22406-1-git-send-email-trini@ti.com> <1368469719-22406-7-git-send-email-trini@ti.com> <51BF2089.90605@newflow.co.uk> <51BF2203.20206@ti.com> <51BF244E.9020603@newflow.co.uk> <51BF24E1.1070409@ti.com> Message-ID: <51BF29D6.6050402@newflow.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17/06/13 16:01, Tom Rini wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/17/2013 10:59 AM, Mark Jackson wrote: >> On 17/06/13 15:49, Tom Rini wrote: >> >> >> >>> Did you copy the parts that setup the pinmuxing in s_init for >>> NOR? >> >> This bit ? >> >> #ifdef CONFIG_NOR_BOOT asm("stmfd sp!, {r2 - r4}"); asm("movw >> r4, #0x8A4"); asm("movw r3, #0x44E1"); asm("orr r4, >> r4, r3, lsl #16"); asm("mov r2, #9"); asm("mov r3, >> #8"); asm("gpmc_mux: str r2, [r4], #4"); asm("subs r3, >> r3, #1"); asm("bne gpmc_mux"); asm("ldmfd sp!, {r2 - >> r4}"); #endif >> >> Yes ... :-) > > Right. Well, baring hints from Steve, time to hook up the JTAG and > see where it's stuck. Urm ... unfortunately, we have no JTAG on this board ... :-(