[uClinux-dev] Hang on first call to sti()

HenrySimmons17 HenrySimmons17 at netzero.net
Sat Mar 1 23:44:11 EST 2003


Hello Ryan 
2 places you will find these answers:
in uClinux distribution in file:
linux/arch/m68knommu/platform/68EZ328/ucsimm/crt0_ram.S
Motorola MC68EZ328 User's Manual.
There is an ezample code for the setup.
Henry
----- Original Message ----- 
From: Ryan Hulsker <rhulsker at emergentsolutions.ca>
To: <uclinux-dev at uclinux.org>
Sent: Wednesday, February 26, 2003 8:04 AM
Subject: [uClinux-dev] Hang on first call to sti()


> 
>   I have finally started to make some progress with my Dragonball
> board.  I now have the dram working and tested, and my kernel boots all
> the way up to the first call to sti() and then hangs.
> 
>   I have a feeling that I am generating an interrupt during my setup
> that I am not clearing properly before the kernel starts.  Below are my
> setup brecords.  I'm wondering if someone can see what I am doing wrong.
> 
>   I am also wondering what are the minimum hardware requirements for the
> kernel to run properly.  My brecord setup disables the RTC/Watchdog etc,
> but I am pretty sure that the OS needs some sort of regular interrupt to
> keep it going.  I am assuming that it is done with the RTC/GPT causing
> an interrupt at the jiffies rate or something.  But what exactly are the
> parameters?
> 
>   My board is just a 68EZ328 with 8M dram, no rom or flash.  I have been
> using the ucsimm build, modified to my needs.
> 
> 
> Thanks,
> Ryan Hulsker






More information about the uClinux-dev mailing list