[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] microblaze-uclinux



Hello to all,
 
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.
 
But because my linux knowledge is very poor, I started with the Memec board (V3). The Demo was running immediately, I downloaded the uclinux, installed the toolchain and got the mbvanilla_ddr 2.00f runing without big problems.
 
I now tried the mbvanilla_net 1.00a ( I still work with EDK3.2). I followed exactly the procedure "uClinux Networking" and the compilation was done without failure. The bootlog looks also ok to me. On the P-160 all three LED's are continuous burning. 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?
___________________________
 
Linux version 2.4.22-uc0 (alfgru@linux) (gcc version 2.95.3-4 Xilinx EDK 6.1 Bui
ld EDK_G.11) #13 Mit Mär 3 10:45:57 CET 2004
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Console: xmbserial on UARTLite
Kernel command line:
Calibrating delay loop... 3.16 BogoMIPS
Memory: 14424K/16384K available (908K kernel code, 212K data)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
ttyS1 at 0xffff4000 (irq = 2) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0xFFFF5000 mapped to 0xFFFF5000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
MBVanilla flash probe(0xff000000,8388608,4): 800000 at ff000000
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 8 MTD partitions on "Flash":
0x00000000-0x00020000 : "Bootloader"
0x00020000-0x00040000 : "Bootargs"
0x00040000-0x00060000 : "MAC"
0x00080000-0x00100000 : "Config"
0x00060000-0x00080000 : "Spare"
0x00100000-0x00300000 : "Image"
0x00300000-0x00800000 : "JFFS2"
0x00000000-0x00800000 : "Flash"
MBVanilla ram probe(0x80119fdc,671744,4): a4000 at 80119fdc
Creating 1 MTD partitions on "RAM":
0x00000000-0x000a4000 : "Romfs"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 40K freed
Shell invoked to run file: /etc/rc
Command: hostname mbvanilla
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: /bin/expand /etc/ramfs.img /dev/ram1
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram0 /var
Command: mount -t ext2 /dev/ram1 /usr
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: #/bin/flatfsd -r
Command: cat /etc/motd
Welcome to
           ____ _ _
    _   _ / ___| (_)_ __  _   _ _  _
   | | | | |   | | | '_ \| | | < \/ >
   | |_| | |___| | | | | | |_| |>  <
   | __,_|\____|_|_|_| |_|\__,_/_/\_>
   |_)
 
on Microblaze.
 
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
 
Execution Finished, Exiting
 
Sash command shell (version 1.1.1)
/> hostname mb1
/> ifconfig lo 127.0.0.1
/> 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
/>
_______________________
 
Best regards
 
Alfred
 
 
Ing. Büro Alfred Grünewald
Tsingtauerstr. 51a
 
81827 München
Germany