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

[microblaze-uclinux] FW: Memec 2VP7+Net with slow boot terminal




Hi group,

I'm still waiting for a new Memec 1500 Spartan 3 board to implement the
uCLinux. In the meanwhile I got borrowed aVirtex 2 Pro
2VP7 FG456 Rev4 with P160 COMM interface (the old one). I saw that Roberto
from Italy, I think, made some testing in the same
board and even published a setup in the uclinux.org. However, his work is
based just in SDRAM and the serial terminal, there are
not settings for Ethernet, GPIO, SRAM, or Flash...I bet he didn't have a
P160 Com interface to try that. I am lucky to have
borrowed one of these interfaces, in fact I ordered a new one for the new
MB1500 Spartan3 board as well to experiment with two
Ethernet ports.

Taking pieces from Roberto's implementation, some from the net vanilla, and
some from my own I came with a hardware
configuration that appears to work, but I have some serious problem
involving the serial based terminals. The boot comes up
straight fast up to the mount command lines, but at that time slows down
radically taking minutes to advance now line by line
until reaching the Sash log line. At that point the terminal window doesn't
advance or accept any input. At the same time, I can
switch to the second serial port and I get quickly my motd logo and shell
prompt, but the prompt appears to be dead, doesn't
accept input as the main terminal does. No all are bad news, the tenet login
works perfectly every time, very stable. I can move
around, create directories, monitor process, even I tried to kill the serial
terminals, but I only could see to report the
hostname, that's it, they still are dead. The Boa web server also works nice
and fast, even with a big jpeg picture I placed.
The Kernel reports 33 bogomips and about 38 dhrystones  at 66.6MHz in my
first test.

Another thing I realized is that the main terminal is not fully dead, this
still reports error messages from the kernel, that I
don't know if is normal after the shell prompt appears. The error that shows
evrytime (and this happens quickly) is when I
unplug or plug back the ethernet cable in the comm module, that reports just
that "link carrier lost/restored"

Finally I checked if the net could have some role in this interference, so I
tried to build uClinux with the standard settings
in the MB1000 (XC2V1K) board that is almost the same that my ucLinux
settings but not network. I only changed to set the cash
with 16KB in Data and Instruction. The result is the same, but no
network.Worst because now I don't have way to interact with
the board.

I attached the hardware and boot files. Any help or suggestion would be
appreciated.

Thanks,

Rick.

Another different question I have is about the dhcpcd_new. Did somebody
succesfully implemented dhcp?


Attachment: Mem2VP7.ucf
Description: Binary data

Attachment: Mem2VP7.mhs
Description: Binary data

Linux version 2.4.27-uc0 (root@localhost) (gcc version 2.9
5.3-4 Xilinx EDK 6.2.1 Build EDK_Gm.12.3) #5 Sun Oct 10 16:46:49 EDT 2004
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Console: xmbserial on UARTLite
Kernel command line:
Calibrating delay loop... 33.07 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30788KB available (940K code, 678K data, 44K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 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
eth0: Xilinx EMAC #0 at 0xC0000000 mapped to 0xC0000000, irq=3
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(0x8012201c,471040,4): 73000 at 8012201c
Creating 1 MTD partitions on "RAM":
0x00000000-0x00073000 : "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 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 44K
Shell invoked to run file: /etc/rc
Command: hostname proteus
Command: ifconfig lo 127.0.0.1
Command: ifconfig eth0 192.168.1.99
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: cat /etc/motd
Welcome to
           ____ _ _
    _   _ / ___| (_)_ __  _   _ _  _
   | | | | |   | | | '_ \| | | < \/ >
   | |_| | |___| | | | | | |_| |>  <
   | __,_|\____|_|_|_| |_|\__,_/_/\_>
   |_)

on Microblaze the Hun (Coldfires extinguisher... be afraid).

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux

Execution Finished, Exiting

Sash command shell (version 1.1.1)

/>