Hi, Mr. Huang,
     I think you don't need to set the CS in kernel. As for the SDRAM, it is 
not easy to make it work, so first, I think you'd better check the problem in 
your bootloader, some bootloaders such as u-boot can do memory write and read, 
so you can use these operations to check if the SDRAM on board can be accessed 
properly. If not, the problem is in your bootloader, so you may need to ask the 
hardware engineer, what is parameters of SDRAM, and then how to initialize it 
to work properly.
     In summay, testing the SDRAM from bootloader if possible, then when it is 
passed the test, starting you kernel load and boot.
     Good luck to you.
 

will <[EMAIL PROTECTED]> wrote: Hi Greg & Bin,
 I have used 2x32M SDRAM on my board, the loader did chip select well and I 
think it is not neccesory to do chip select again 
 in kernel, is that right?
 When I used 128k ramfs image, the system will boot well and work, but 
sometimes it hangs up in the situation using
 memory.
 I think, as Greg said, I have my SDRAM working in unormal status. I cannot 
allocate memory larger than 1M enven I have choose
 the option allocate large memory and I cannot use static array larger than 
500k in my program. Also, when I tar a tarball with size larger
 than 500k, the system hangs......
  
 Forgive my poor English and this is my first time using mailist.
 Would you plese told me how to "Re" your mails as you do show in the thread 
tree and how to quot your mail content? ^_^
  
 Thank you very much!
  
 Best Regards,
 Will Huang
  
 not sure if I remember it right, seems the chip select was done in boot
loader and uclinux does not do this in kernel.

Bin


On 5/9/07, Greg Ungerer <gerg at snapgear.com> wrote:
>
> Hi Will,
>
> will wrote:
> > I have encoutered some problems with my coldfire m5272 board running
> > uclinux of version 2.6.17-uc1.
> >
> > My board has 64M sdram and I configured the "CONFIG_RAMSIZE" with the
> > value of 0x04000000 instead of the default value 8M. When I increase the
> > ramfs image from 128k default to 2048k, system will hang up while
> > expanding the ramfs image. Then, I configured the ram size back to the
> > default value 8M, the system works well and never hang up again.
>
> I  f you use the 128k ramfs image, but with the memory size set to
> 64MB does the system boot and work?
>
> Are you sure that all 64MB of SDRAM is actually working properly?
>
> Regards
> Greg
>
>




ÏÖÔÚ¹ºÂò21CNÆóÒµÓÊÏä,¼´¿ÉÓÃ100Ôª»»5000Ôª!
ÖíÄêÐдóÔË£¬²ÂͼӮ»°·Ñ£¡
  _______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to