Forum Discussion
Altera_Forum
Honored Contributor
20 years agouClinux Boot problem
Hi, I am testing my own custom board with EP1C12Q240, Flash=16bit*4M, Sdram=32bit*2M. My system has NiosII/f Core, uart, jtag-uart, sdram, flash, epcs_controller, timer and some PIOs. I use...
Altera_Forum
Honored Contributor
20 years agoHi LiangYi,
The first error you're gettingSIOCSIFADDR=-1: 9
SIOCGIFFLAGS = -1: Bad file descriptor (9)
SIOCADDRT=-1: 9
Unable to create socket
close on exec: : Bad file descriptor
setsockopt: : Function not implemented
Unable to bind server socket: : Function not implemented
Unable to listen to socket
Unable to create socket
close on exec: : Bad file descriptor
setsockopt: : Function not implemented
Unable to bind server socket: : Function not implemented
Unable to listen to socket
Unable to create socket
close on exec: : Bad file descriptor
setsockopt: : Function not implemented
Unable to bind server socket: : Function not implemented
Unable to listen to socket Is (probably) due to the fact that you haven't compiled in an ethernet driver (And from what I read you don't have one so that's perfectly OK) but the standard rc file in the ramfs.img tries to configure ethernet (SIOCSIFADDR=-1: 9 SIOCGIFFLAGS = -1: Bad file descriptor (9) SIOCADDRT=-1: 9) and then tries to start the inet deamon and maybe dhcpc (Don't know exactly, I don't use the standard rc file anymore). That's what the socket errors are from. I expect your system boots fine even though it's complaining. Make sure to enable your lo device (loopback network). When you "fix" the rc file (/etc/rc) you're system should run fine ™. Regarding the second error: no idea.... Hope you get it running! Walter Goossens