[PATCH] mx31moboard: fix typo

Valentin Longchamp valentin.longchamp at epfl.ch
Wed Dec 9 07:44:50 EST 2009


Daniel Mack wrote:
> On Fri, Dec 04, 2009 at 06:30:37PM +0100, Valentin Longchamp wrote:
>> Guennadi Liakhovetski wrote:
>>> ...to second that, yesterday's next also locks up hard on boot on
>>> pcm037. .config available on request.
>>>
>> Same problem here. As a matter of fact, it comes from the mxc-master
>> branch. I have bisected out the culprit:
>>
>> http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commit;h=52939c03e53b151848da9e83fd839bddfda29e78
>>
>> It seems conform with the lock syndrom: very early at boot right
>> after Uncompessing Linux and before any other message.
>>
>> The proc stalls on this read:
>> srev = __raw_readl(IO_ADDRESS(IIM_BASE_ADDR) + MXC_IIMSREV);
>>
>> Maybe Guennadi and I have silicon revisions that do not work well
>> with this patch (because I assume it worked well for Daniel).
> 
> Grmpf. Yes, it does work right on my LiteKit board, and the reference
> manual reads like the register is there for a very long time (as it has
> possible values for very old silicon revisions).

Well, there are not a lot of information about the IIM in the reference 
manual (only Tables 13-1 for the different fuses and 13-2 for the 
silicon revisions). I wanted to check for the registers to find maybe a 
problem, but found nothing more

> 
> Could you double check whether the clock is running? The only thing I can
> think of is differences in the bootloaders. I still have the proprietary
> 'losh' running here, which I have no sources for.
> 

The clock is running (well, at least the parent ipg_clk and the gating 
is configured for the clock running, thanks to clk_enable(&iim_clk);

About the bootloader, on our boards we have redboot, adapted from the 
release Freescale did for the ADS. So it may be a bootloader issue. What 
could be missing in my bootloader that makes this read fail ?

I would say that maybe someting the EMI or SPBA configuration is missing 
so that I can access the addresses in this range. Any ideas ?

Val

-- 
Valentin Longchamp, PhD Student, EPFL-STI-LSRO1
valentin.longchamp at epfl.ch, Phone: +41216937827
http://people.epfl.ch/valentin.longchamp
MEA3485, Station 9, CH-1015 Lausanne



More information about the linux-arm-kernel mailing list