Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUpgrade sdram chip to 16MB for DE2 dev...
Hi hippo
My sdram memory is 8MB that not enough free memory to run some app program on uClinux,and i want to replace it .Recently ,I already find IS42S16800B sdram chip(16MB) that match all pins of IS42S16400 for DE2 board. I can know the pin 36 don't connect to FPGA chip from sdram PCB schematic . So, i only select 16MB for sdram chip, but I have not to buy it yet . This is diference between the IS42S16400 chip and the IS42S16800B chip,as following: IS42S16400 sdram chip(1Mx16x4bnaks): ==>8MB 1.Row addr input :A0~A11 (12 bit) 2.Column addr input: A0~A7 (8 bit) IS42S16800B sdram chip(2Mx16x4banks): ==>16MB 1.Row addr input :A0~A11 (12 bit) 2.Column addr input: A0~A8 (9 bit) Do you think that i can directly replace it ? or give me some advices . Thx !22 Replies
- Altera_Forum
Honored Contributor
Yes, you can replace it.
You need to update your sdram component in sopc builder. Use the new uClinux-dist-test approach can save around 1-2MB , compared to old buildroot guide. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jun 3 2006, 06:56 PM yes, you can replace it.you need to update your sdram component in sopc builder.
use the new uclinux-dist-test approach can save around 1-2mb , compared to old buildroot guide.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15846)
--- quote end ---
--- Quote End --- hi hippo Thank you ! I have add new user accounton linux platform that use the uClinux-dist-test. and i got error info about ncurses. <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost uClinux-dist-test]$ ls bin Documentation linux-2.0.x openswan uClibc config freeswan linux-2.4.x README uClinux-dist.diff.gz config.in include linux-2.6.x SOURCE user COPYING lib Makefile tools vendors [faye@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/faye/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' /bin/sh: cc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 [faye@localhost uClinux-dist-test]$ su Password: [root@localhost uClinux-dist-test]# yum install ncurses Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 384 kB 00:22 updates-re:# ################################################# 1073/1073 Added 5 new packages, deleted 1 old in 5.99 seconds primary.xml.gz 100% |=========================| 921 kB 00:05 extras :# ################################################# 2680/2680 Added 108 new packages, deleted 7 old in 17.57 seconds Parsing package install arguments Nothing to do [root@localhost uClinux-dist-test]# exit exit [faye@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/faye/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' /bin/sh: cc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 [faye@localhost uClinux-dist-test]$[/b] --- Quote End --- How to install ncurses that is correctly ? THX !
- Altera_Forum
Honored Contributor
hi hippo
I have add new user accounton linux platform that use the uClinux-dist-test. and i got error info about ncurses. <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost uClinux-dist-test]$ ls bin Documentation linux-2.0.x openswan uClibc config freeswan linux-2.4.x README uClinux-dist.diff.gz config.in include linux-2.6.x SOURCE user COPYING lib Makefile tools vendors [faye@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/faye/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' /bin/sh: cc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 [faye@localhost uClinux-dist-test]$ su Password: [root@localhost uClinux-dist-test]# yum install ncurses Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 384 kB 00:22 updates-re:# ################################################# 1073/1073 Added 5 new packages, deleted 1 old in 5.99 seconds primary.xml.gz 100% |=========================| 921 kB 00:05 extras :# ################################################# 2680/2680 Added 108 new packages, deleted 7 old in 17.57 seconds Parsing package install arguments Nothing to do [root@localhost uClinux-dist-test]# exit exit [faye@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/faye/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' /bin/sh: cc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 [faye@localhost uClinux-dist-test]$[/b] --- Quote End --- How to install ncurses that is correctly ? THX ! - Altera_Forum
Honored Contributor
yum install ncurses-devel
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jun 4 2006, 04:28 AM yum install ncurses-devel<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15862)
--- quote end ---
--- Quote End --- hi hippo I meet the same problem about installing ncurses, again. Why i can't install ncurses sucessfully ? Do you think what is problem ? Thx ! <div class='quotetop'>QUOTE </div> --- Quote Start --- [root@localhost uClinux-dist-test]# yum install ncurses-devel Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do [root@localhost uClinux-dist-test]# exit exit [faye@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/faye/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' /bin/sh: cc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/home/faye/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 [faye@localhost uClinux-dist-test]$[/b] --- Quote End ---
- Altera_Forum
Honored Contributor
Check if you have gcc, "gcc -v"
if not, yum install gcc - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jun 4 2006, 06:16 AM check if you have gcc, "gcc -v"if not,
yum install gcc
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15867)
--- quote end ---
--- Quote End --- hi hippo I can see gcc info with using "gcc -v" command on linux. <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost ~]$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)[/b] --- Quote End --- Have any ways to solve it ? THX !
- Altera_Forum
Honored Contributor
check "rpm -q ncurses" and "rpm -q ncurses-devel" .
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jun 4 2006, 07:19 AM check "rpm -q ncurses" and "rpm -q ncurses-devel" .<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15873)
--- quote end ---
--- Quote End --- hi hippo I can see ncurses and ncurses-devel info on linux terminal. <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost ~]$ rpm -q ncurses ncurses-5.4-19.fc4 [faye@localhost ~]$ rpm -q ncurses-devel ncurses-devel-5.4-19.fc4 [faye@localhost ~]$[/b] --- Quote End --- Thx !
- Altera_Forum
Honored Contributor
try "unset CC" ,and run "make menuconfig" again.