[uClinux-dev] uclinux with RAM size problem

2007-05-10 Thread will
Hi Greg Bin, I have used 2x32M SDRAM on my board, the loader did chip selectwelland 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

Re: [uClinux-dev] uclinux with RAM size problem

2007-05-10 Thread Tao Wang
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

Re: [uClinux-dev] uclinux with RAM size problem

2007-05-10 Thread Greg Ungerer
Hi Will, will wrote: 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? Normally that is right, the boot loader sets up chip selects and SDRAM. When I used 128k ramfs image, the system will

[uClinux-dev] uclinux with RAM size problem

2007-05-09 Thread will
Dear all, 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 0x0400 instead of the default value 8M. When I increase the ramfs image from 128k default to 2048k,

Re: [uClinux-dev] uclinux with RAM size problem

2007-05-09 Thread Greg Ungerer
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 0x0400 instead of the default value 8M. When I increase the ramfs image from 128k default