Re: gpmc_cs_request() causes early boot hang

2012-09-24 Thread Mark Jackson
On 24/09/12 12:13, Mohammed, Afzal wrote: > Hi Mark, > > On Mon, Sep 24, 2012 at 16:21:40, Mark Jackson wrote: >> On 24/09/12 05:51, Mohammed, Afzal wrote: > >>> It seems you are using PSP Kernel. >>> >>> Invoking omap_init_gpmc before gpmc request should help. >> >> Okay ... I'm now using earlyp

RE: gpmc_cs_request() causes early boot hang

2012-09-24 Thread Mohammed, Afzal
Hi Mark, On Mon, Sep 24, 2012 at 16:21:40, Mark Jackson wrote: > On 24/09/12 05:51, Mohammed, Afzal wrote: > > It seems you are using PSP Kernel. > > > > Invoking omap_init_gpmc before gpmc request should help. > > Okay ... I'm now using earlyprintk and omap_init_gpmc(), but I still get boot >

Re: gpmc_cs_request() causes early boot hang

2012-09-24 Thread Mark Jackson
On 24/09/12 05:51, Mohammed, Afzal wrote: > > It seems you are using PSP Kernel. > > Invoking omap_init_gpmc before gpmc request should help. Okay ... I'm now using earlyprintk and omap_init_gpmc(), but I still get boot hangs. My test code is as follows:- diff --git a/arch/arm/mach-omap2/boar

RE: gpmc_cs_request() causes early boot hang

2012-09-23 Thread Mohammed, Afzal
Hi Mark, On Sat, Sep 22, 2012 at 00:57:38, Mark Jackson wrote: > I'm developing a beaglebone cape board which requires the use of a GPMC > chip select. > > I've chosen GPMC_CS0, and in board-am335xevm.c, I have added the following:- > > static void gpmc_test() > { > unsigned long base = 0x

Re: gpmc_cs_request() causes early boot hang

2012-09-21 Thread Tony Lindgren
* Mark Jackson [120921 12:29]: > I'm developing a beaglebone cape board which requires the use of a > GPMC chip select. > > I've chosen GPMC_CS0, and in board-am335xevm.c, I have added the following:- > > static void gpmc_test() > { > unsigned long base = 0x12345678; > gpmc_cs_request(0,

gpmc_cs_request() causes early boot hang

2012-09-21 Thread Mark Jackson
I'm developing a beaglebone cape board which requires the use of a GPMC chip select. I've chosen GPMC_CS0, and in board-am335xevm.c, I have added the following:- static void gpmc_test() { unsigned long base = 0x12345678; gpmc_cs_request(0, SZ_16M, &base); printk(KERN_INFO "gpmc base