On Monday 24 May 2010 09:50:19 am Jon Povey wrote:
> Trying to get the git kernel running on our in-house board and have an
>  unpleasant crash somewhere between kernel start and console output, with
>  code jumping off to 0xffff000c.
> 
> This is using u-boot v2010.03 and kernel based on davinci master at
>  5954dd1d2cab4b378e22256edbfe132bf4f82f22
> 
> Sympoms are; this is the last output I get on the console:
> 
>   Starting kernel ...
> 
>   Uncompressing Linux... done, booting the kernel.
> 

Maybe you can use earlyprintk for getting more info from the kernel. i.e. 
earlyprintk=serial,ttyS0,115200 ...

Regards,
Caglar

> If I now halt the CPU over JTAG it tells me:
> 
>  target halted in ARM state due to debug-request, current mode: Abort
>  cpsr: 0x200000d7 pc: 0xffff000c
>  MMU: enabled, D-Cache: enabled, I-Cache: enabled
> 
> I tried both the vanilla EVM versions of bootloader and kernel, and
>  in-house modified (for different pinmuxing, board file etc). Both
>  combinations boot OK on the DM355EVM, both crash in the same way on our
>  in-house board. This in-house board and many like it were previously
>  running a MontaVista (DM355 Beta SDK) based setup, so is capable of
>  running linux and the board design should be sound.
> 
> There is no UBL on the board at present: I am doing initial setup and
>  loading u-boot over JTAG with OpenOCD.
> 
> I stepped through the code enough to determine that the uncompress,
>  relocate and jump to kernel (and several instructions after) seems OK.
> 
> I am looking into the ARM ETM/ETB + OpenOCD hoping that could give me a
>  trace of how I end up at 0xffff000c but not having any joy with that so
>  far.
> 
> Inspiration for approaches to debugging this problem would be much
>  appreciated, running low on ideas.
> 
> Thanks,
> 
> --
> Jon Povey
> [email protected]
> 
> Racelogic is a limited company registered in England. Registered number
>  2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way,
>  Buckingham, Bucks, MK18 1TB .
> 
> The information contained in this electronic mail transmission is intended
>  by Racelogic Ltd for the use of the named individual or entity to which it
>  is directed and may contain information that is confidential or
>  privileged. If you have received this electronic mail transmission in
>  error, please delete it from your system without copying or forwarding it,
>  and notify the sender of the error by reply email so that the sender's
>  address records can be corrected. The views expressed by the sender of
>  this communication do not necessarily represent those of Racelogic Ltd.
>  Please note that Racelogic reserves the right to monitor e-mail
>  communications passing through its network
> 
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to