UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ahmadexp
Visitor
8,065 Views
Registered: ‎11-12-2008

linux booting problem

Jump to solution

hi everyone

 

i have a problem with booting the linux

 

i get this message in the console and after that the system in freezed

 

zImage starting: loaded at 0x00400000 (sp: 0x0060eeb0)                        
Allocating 0x348dec bytes for kernel ...                    
gunzipping (0x00000000 <- 0x0040d000:0x00588b5b)...done 0x3265e4 bytes         
Attached initrd image at 0x00589000-0x0060d60b  
initrd head: 0x1f8b0808  

                        

Linux/PowerPC load: console=ttyS0 root=/dev/ram rw

Finalizing device tree... flat tree at 0x40ad68
 

no any idea ?

0 Kudos
1 Solution

Accepted Solutions
Visitor ahmadexp
Visitor
9,578 Views
Registered: ‎11-12-2008

Re: linux booting problem

Jump to solution

 you sholud solve the problem with the MMU and Machine Check Exception .

this issue is in Virtex 4 processors and you can look for the Errata patch !

0 Kudos
6 Replies
Visitor ahmadexp
Visitor
9,579 Views
Registered: ‎11-12-2008

Re: linux booting problem

Jump to solution

 you sholud solve the problem with the MMU and Machine Check Exception .

this issue is in Virtex 4 processors and you can look for the Errata patch !

0 Kudos
Visitor grenoble2007
Visitor
7,833 Views
Registered: ‎02-04-2009

Re: linux booting problem

Jump to solution

Hi,

I had the same problem.

Which errata patch are you talking about ? : xps ? linux.2.6-xlnx.git ?

Thanks

Stéphane 

0 Kudos
Highlighted
7,411 Views
Registered: ‎03-11-2009

Re: linux booting problem

Jump to solution

Hi, I have a similar problem : http://forums.xilinx.com/xlnx/board/message?board.id=ELINUX&thread.id=759

As what has been asked before can you explain a little bit what do you mean by:


ahmadexp wrote:

the problem with the MMU and Machine Check Exception .


I checked the Errata about the powerpc on virtex4, but could not find anything specific.

Can you point out which problem is it ?

 

Thanks,

0 Kudos
Visitor grenoble2007
Visitor
7,403 Views
Registered: ‎02-04-2009

Re: linux booting problem

Jump to solution

I found the solution eventually:

The problem is described in the chapter 6 of 

 http://ce.et.tudelft.nl/publicationfiles/1367_700_thesis.pdf

 

Linux needs the TLB to manage virtual memory but there is a conflict when the design uses OCM.

The report states its an undocumented bug. But one could find a very difficult to understand description of

this limitation on page 194 of ug011"PowerPC Processor Reference Guide" from www.xilinx.com

This is described in two sentences but I guees one has to be a powerpc guru to understand it.

 

The solution is not to use OCM in the design.

 

Another one would be to change the way Linux manages the TLB to allow  the use of OCM if you need them. I would be very

interrested of such a solution if you find a way to circumvent this "feature".

 

May the Xilinx's features be with you !

 

Stéphane 

0 Kudos
Participant wangx74
Participant
6,679 Views
Registered: ‎09-24-2008

Re: linux booting problem

Jump to solution

As you said,Can we boot the linux on the design without OCM?

I do delete the ppc405_0_iocm and ppc405 _0_docm,the linux can boot correctly?

0 Kudos
Visitor grenoble2007
Visitor
6,665 Views
Registered: ‎02-04-2009

Re: linux booting problem

Jump to solution

Yes,

Try that solution.

Don't forget to have a BRAM on the system to hold the bootloop or some standalone test program. 

0 Kudos