Forum Discussion
Altera_Forum
Honored Contributor
20 years agobuildroot to build toolchain on Linux
TO_BE_DONE
107 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iriver@Apr 19 2006, 11:05 AM could you please explain:su - # your root passwd
yum install compat-gcc-32
cd /usr/bin
mv gcc gcc4
ln -s gcc32 gcc
exit
i use redhat9
thank you !
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14464)
--- quote end ---
--- Quote End --- PLEASE post your future questions on the uclinux forum. login as root, install gcc32 and make symlink as gcc. You can not use redhat9, the make has problems. Try slackware linux or others.
- Altera_Forum
Honored Contributor
could you please explain:
su - # your root passwd yum install compat-gcc-32 cd /usr/bin mv gcc gcc4 ln -s gcc32 gcc exit i use redhat9 thank you ! - Altera_Forum
Honored Contributor
jay, hippo has asked you multiple times to post a new thread in the forum, yet you keep posting here... why?
- Altera_Forum
Honored Contributor
hi hippo
I wnat to add "ftpd" apps on my uClinuc OS. When i make menuconfig then occur error info........ [jay@localhost uClinux-dist-test]$ make menuconfig config/mkconfig > config.in make -C /home/jay/uClinux-dist-test/config/scripts/lxdialog all make[1]: Entering directory `/home/jay/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/jay/uClinux-dist-test/config/scripts/lxdialog' make: *** [menuconfig] Error 2 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif How to solve it ? thx - Altera_Forum
Honored Contributor
hi hippo
Thank you very much.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif /include/nios2_system.h . define na_DM9000A define na_DM9000A_irq . /drivers/net/dm9000x.c:305: error: `na_dm9000_irq' undeclared here (not in a function) "na_dm9000_irq" update to "na_DM9000A_irq" drivers/net/dm9000x.c:162 # define DM9000_MIN_IO (na_dm9000) "na_dm9000" update to "DM9000A" I can make kernel succeed and ping DE2 board form the PC. Under NIOS II SDK shell# ifconfig eth0 163.26.227.227 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:07:ED:00:00:00 inet addr:163.26.227.227 Bcast:163.26.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif TX bytes:0 (0.0 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif Interrupt:8 Under XP C:\Documents and Settings\Administrator>ping 163.26.227.226 Pinging 163.26.227.226 with 32 bytes of data: Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 PS:i can't ping DE2 board,sometimes. Can i ifconfig ip before boot uClinux ? Thx - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by jay_1025@Apr 13 2006, 12:56 AM hi hippodo you have drive "dm9000" chip on de2 board ?
when i make kernel and occur error info:
drivers/char/mem.c: in function `mmap_kmem':
drivers/char/mem.c:276: warning: cast to pointer from integer of different size
cc drivers/char/random.o
drivers/char/random.c: in function `random_write':
drivers/char/random.c:1032: warning: comparison of distinct pointer types lacks a cast
cc drivers/char/tty_io.o
cc drivers/char/n_tty.o
cc drivers/char/tty_ioctl.o
cc drivers/char/misc.o
ld drivers/char/built-in.o
cc drivers/hwmon/hwmon.o
ld drivers/hwmon/built-in.o
cc drivers/net/space.o
cc drivers/net/loopback.o
cc drivers/net/dm9000x.o
drivers/net/dm9000x.c:305: error: `na_dm9000_irq' undeclared here (not in a function)
drivers/net/dm9000x.c: in function `dmfe_probe':
drivers/net/dm9000x.c:362: error: `na_dm9000' undeclared (first use in this function)
drivers/net/dm9000x.c:362: error: (each undeclared identifier is reported only once
drivers/net/dm9000x.c:362: error: for each function it appears in.)
drivers/net/dm9000x.c:434:24: warning: "hdx32" is not defined
drivers/net/dm9000x.c: at top level:
drivers/net/dm9000x.c:291: warning: 'dmfe_debug' defined but not used
drivers/net/dm9000x.c:295: warning: 'debug' defined but not used
drivers/net/dm9000x.c:296: warning: 'mode' defined but not used
drivers/net/dm9000x.c:785: warning: 'dmfe_reset_dm9000' defined but not used
make[2]: *** [drivers/net/dm9000x.o] error 1
make[1]: *** [drivers/net] error 2
make: *** [drivers] error 2 http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sad.gif
before,i have make kernel on window xp and occur same error info.
do you solve it ?
thx
thx
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14286)
--- quote end ---
--- Quote End --- you have the same question as goral, http://forum.niosforum.com/forum/index.php?showtopic=3692 (http://forum.niosforum.com/forum/index.php?showtopic=3692) please post your future questions on the uclinux forum.
- Altera_Forum
Honored Contributor
hi hippo
Do you have drive "dm9000" chip on DE2 board ? when i make kernel and occur error info: drivers/char/mem.c: In function `mmap_kmem': drivers/char/mem.c:276: warning: cast to pointer from integer of different size CC drivers/char/random.o drivers/char/random.c: In function `random_write': drivers/char/random.c:1032: warning: comparison of distinct pointer types lacks a cast CC drivers/char/tty_io.o CC drivers/char/n_tty.o CC drivers/char/tty_ioctl.o CC drivers/char/misc.o LD drivers/char/built-in.o CC drivers/hwmon/hwmon.o LD drivers/hwmon/built-in.o CC drivers/net/Space.o CC drivers/net/loopback.o CC drivers/net/dm9000x.o drivers/net/dm9000x.c:305: error: `na_dm9000_irq' undeclared here (not in a function) drivers/net/dm9000x.c: In function `dmfe_probe': drivers/net/dm9000x.c:362: error: `na_dm9000' undeclared (first use in this function) drivers/net/dm9000x.c:362: error: (Each undeclared identifier is reported only once drivers/net/dm9000x.c:362: error: for each function it appears in.) drivers/net/dm9000x.c:434:24: warning: "HDX32" is not defined drivers/net/dm9000x.c: At top level: drivers/net/dm9000x.c:291: warning: 'dmfe_debug' defined but not used drivers/net/dm9000x.c:295: warning: 'debug' defined but not used drivers/net/dm9000x.c:296: warning: 'mode' defined but not used drivers/net/dm9000x.c:785: warning: 'dmfe_reset_dm9000' defined but not used make[2]: *** [drivers/net/dm9000x.o] Error 1 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Before,i have make kernel on Window XP and occur same error info. Do you solve it ? Thx thx - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by jay_1025@Apr 12 2006, 07:40 PM hello hippothank you very much.... http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/biggrin.gif
i was succeed and ran uclinux on de2 dev board.
q:i want to read or write files from the sd_card on de2 board.
can you tell me how to do it ?
thx
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14280)
--- quote end ---
--- Quote End --- great. for mmc/sd drivers, please check Jdhar's post, http://forum.niosforum.com/forum/index.php?showtopic=3562 (http://forum.niosforum.com/forum/index.php?showtopic=3562)
- Altera_Forum
Honored Contributor
hello hippo
Thank you very much.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif I was succeed and ran uClinux on DE2 dev board. Q:I want to read or write files from the SD_card on DE2 board. Can you tell me how to do it ? thx - Altera_Forum
Honored Contributor
PLEASE POST your questions on the uclinux forum.
you need curses package, please run as root to install,yum install ncurses ncurses-devel