[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] microblaze-uclinux
Alfred Grünewald wrote:
> I am a new list member.
> I developed a small board (38X75mm) with nearly the same components as
> the Memec board.(FPGA XC2V1000, 2 Memories TH50VSF3681 with total 16 MB
> Flash and 2 MB SDRAM, a DDR RAM 32MB, 1 serial port).As daughter board
> different interfaces can be pluged on top of it. I have in the moment
> one with a CS8900A for Ethernet connection. Up till now I programmed a
> little web server on it, but without any OS. I plan to port uclinux on
> this board.
Sounds good - if the demo worked as quickly as it seems to have, your
porting effort should be quite small!
> But when I want to set the real IP addresses ifconfig gives some failure indications.
> /> ifconfig eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
> SIOCSIFADDR: %m
> SIOCSIFNETMASK: %m
> SIOCSIFBRDADDR: %m
> pid 19: failed 768
> I have no idea what that means and where to look for it, can anybody
> help me and explain?
This is funny - I have omitted one important step from the instructions
- how to enable the ethernet driver!!
Look at the bootup log, there's no mention of the driver initialising,
meaning that the eth0 device isn't there. The strange "%m" messages are
from a flaw in the uClibc config that is in the older uClinux-dist, it's
fixed in the new one.
So, to fix your problem, go into menuconfig -> kernel config ->
processor type and features, and enable the ethernet driver. Save and
exit, make dep, make etc, and try again.
Sorry for the ommission, I'll correct the page right now...
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/