linux 2.6 hangs at __delay function on Viretx 4 board

John Linn John.Linn at
Thu May 29 00:07:59 EST 2008

Hi Swamy,

Sorry for the long delay. Sounds like the console is not setup

I notice in your command line it appears that you have 2 console
statements.  I have not tested this ever and I would change it to only
have the console=ttyS0,9600.  I have seen other mailings, no Xilinx
specific, related to this causing problems.

This console setup assumes you're using the Xilinx 16550 UART.  It could
be an issue with the xparameters*.h file with the address of the UART.

Have you compared your arch/ppc/platforms/4xx/xparameters/xparameters*.h
file, whichever one it's setup to use, to the ones that we provided in
the Git tree?

I'm assuming you have the kernel configured correctly to use the
UART16550 driver and the console is turned on, both are needed.  The
16550 is 8250 compatible (mostly) and works with it's driver from Linux.



-----Original Message-----
From: at
[ at] On
Behalf Of swamydp
Sent: Monday, May 26, 2008 10:12 PM
To: linuxppc-embedded at
Subject: RE: linux 2.6 hangs at __delay function on Viretx 4 board

Hi John

Please ignore my previous message. The kernel boots until initializing
root files system and then hangs. Thats expected since I do not have
file system set up yet. I dumped the __log_buf and found it. 

I don't understand why no message is printed by printk after "Now
Does console init occur after root file system init ?


swamydp wrote:
> Hi John
> Sorry for getting back late. 
> I have been debugging further using the UART to send output directly
> serial post. Now I see that just after entering start_kernel, a ITLB
> exception occurs and linux hangs at that point. 
> Looks like the kernel is probably not running at all yet, may stuck in
> early initialization.
>>> Yes
> 1. Has the kernel ever ran on this board or is this development to get
> it running?
>>> No. This is a new board and I am trying to build a simple EDK system
>>> with only
> PPC, UART, PIC as the devices.
> 2. Not sure on the tools you are using to build it.  You mention the
> EDK, but you must not be using it's compiler as it's not configured in
> the EDK to build Linux. 
>>> EDK 9.2 version, XMD for debug. Kernel 2.6 version is built in linux
>>> machine and zImage.elf is downloaded
> to the board.
> Thanks for the UART suggestion, works well. Any suggestions as to what
> might be wrong in start_kernel function ? I will continue debugging
> meanwhile.
> Thanks
> swamy

View this message in context:
Sent from the linuxppc-embedded mailing list archive at

Linuxppc-embedded mailing list
Linuxppc-embedded at

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

More information about the Linuxppc-embedded mailing list