Hi John,
What is the error that XMD reports during
download? Could you do a cut/paste of the xmd
console commands and error? Have you run
a full memory test on the AFX SDRAM?
Hyperterminal is unfortunately a very poor
terminal IMHO, scrolling up does not work properly,
and has caused many headaches us in the
past. In windows world I use the free Tera Term
Pro - http://www.ayera.com/teraterm/.
The Uart lite does not currently support
hardware flow control as you mention, so set the
terminal to “None” for flow
control.
Best regards
Kris
--
----------------------------------------------------------------------------
/ /\/ Kris Chaplin
\ \ Application Engineer - Embedded Processors
/ / Xilinx Europe
\_\/\ +44 (0)870-7356-563
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au]
On Behalf Of John McGrath
Sent: 22 April 2005 11:20
To: microblaze-uclinux@itee.uq.edu.au
Subject: Re: [microblaze-uclinux]
login issue when booting
Hi,
I am using a very basic V2p7 AFX 456 board, from Xilinx. It doesnt't have an
ethernet port or flash, so I usually remove those too. I leave the gpio in, as
there are 8 on-board LED's. And 8mb of SDRAM, where i download the image.bin.
It looks like I do everything the same as you!
One thing which is curiouis is sometimes the XMD console will report EDK Error
- when the kernel is trying to boot. This leads me to beleive the MB is
trying to write something to the XMD console...by any chance is it possible the
system starting up is trying to use the XMD uart as the console after boot?
Regarding hyperterminal - if you scroll up more than one page, it always
mangles the "history" of what it displayed. I don't know why!
Also, I dont think xon/xof should be used, as I beleive the uartlite does not
support hardware flow-control...
Cheers,
John
mcnernbm@notes.udayton.edu
wrote:
John,
Suprisingly
I did not do a whole lot. I run an update on my kernel and dist
directories. I then made sure my auto-make file was up to date in the
kernel architecture microblaze directory. Once I had this I built
the kernel with as little as possible. I took out the ethernet, flash,
and gpio drivers. I also changed the mdm from the flash driver to the
generic uclinx rom driver. then I ran the make dep and make and then
booted thejimage.bin file through xmd. My commands I used where dow -data
images/image 0x80000000 and then con 0x80000000. Simple as that. But
I am still having the issue that is will nto let me login now. So if it
keeps doing this I may still go back and try an older kernel download. Also
what board are you using?
Brett
Hi
It seems like you got past the previous problem you were having, detailed in
the "booting uclinux" thread. How did you do this? I am still
"hanging" at the line
uclinux[mtd]: root filesystem index=0
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 32K
Can you help?
Cheers
John
mcnernbm@notes.udayton.edu
wrote:
When booting the uclinux on a memec v2p board I get the results below. But
once it hits the login part I can not login. I have tried root as the
username and pass and jsut root as used and no pass and I can nto get it to
login. Also there is the one fail listed and not sure if that is causing
me a problem or not. Also the only thing I changed when I built the
kerneal is I disable the ethernet and networking stuff and the gpio driver and
I also changed the MDM to the generic rom selection. All other option I
left alone.
zone(0): 8192 pages.ash device at locati
zone(1): 0 pages.rch for id:(00 00
zone(2): 0 pages.pe(2)rning: dev (
CPU: MICROBLAZErch for id:(00
Kernel command line:e
MBVanil
CFI: Found
Console: xmbserial on UARTLitero00 00) interleave(2) type(1)
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
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
uclinux[mtd]: RAM probe address=0x800c58fc size=0xb2000
uclinux[mtd]: root filesystem index=0
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 32K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Nonexistent or bad flatfs (-43), creating new one...
flatfsd: Failed to write flatfs (-43): No such device
flatfsd: Created 3 configuration files (142 bytes)
Setting hostname:
uclinux-auto login:
THanks for the help
Brett