[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] uClinux bootup problems



What I found working with a customer is that this issue is related to
having data cache enabled. By turning the D cache off in the auto config
file (even though it is in the hardware) the system booted fine. It had
hung at the same point reported in this thread with D cache enabled.
After boot we halted the processor, turned on the d cache, and continued
without issue. This appears consistent with seeing success without the
MSRSET op code as the cache wouldn't be turned on without it.


Bruce Karsten
Xilinx, Inc.
Processor Specialist - North Central US
Hoffman Estates, IL
 

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Rod
Campbell
Sent: Tuesday, July 19, 2005 5:35 PM
To: mblaze-uClinux list
Subject: Re: [microblaze-uclinux] uClinux bootup problems

Thanks for your suggestion Holger - this was it.  After re-building
using the 20040315 version of the tools I got a good kernel bootup.  The
only other change I made was to turn off C_USE_BARREL, C_USE_DIV and
C_USE_MSR_INSTR.  Possibly only the last of these needs to be turned off
- the 20040315 tools do not appear to support the MSRSET opcode.      

My first guess it that the problem has to do with the flat file
utilities, since the kernel always got to the point where the root file
system was accessed (trying to load and run init).  Sometimes it went
further, but never fully booted.

Rod Campbell
   
On Mon, 2005-07-18 at 05:34, Holger Pals wrote:
> Hi Rod,
> 
> Rod Campbell wrote:
> 
> > I have been trying unsuccessfully to get uClinux to boot on my
custom
> > board (see my previous post "Problem Booting uClinux" on June 30).
It
> > comes up to the point of executing the init program (I see "Freeing
init
> > memory: 36K" on the console).  
> 
> I had some very similar problems trying to compile my own uClinux
> version for a Suzaku board. When booting, the uClinux alway stuck
> right after initializing the init process. Sometimes I saw the
> "Freeing init memory" message, sometimes I did not. After compiling
> the uClinux version with different options enabled/disabled without
> seeing any success, the problem disappeared after reinstalling an
> older microblaze toolchain...
> 
> 'microblaze-elf-tools-20050308' -> 'microblaze-elf-tools-20040315'.
> 
> I do not know exactly what went wrong with the newer toolchain but
> the older one works quite well for me....
> 
> Maybe its a similar problem in your case?
> 
> Cheers,
> 
>       Holger

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/




___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/