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

Re: [microblaze-uclinux] Downloding image file



Hi,
Check your MTD configuration, should be something like this:

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
# CONFIG_MTD_GEN_PROBE is not set
# CONFIG_MTD_CFI_INTELEXT is not set
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_CFI_STAA is not set
# CONFIG_MTD_CFI_UTIL is not set
CONFIG_MTD_RAM=y
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
CONFIG_MTD_UCLINUX=y
# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_2 is not set
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_PCI is not set
# CONFIG_MTD_PCMCIA is not set

Cheers,
Claudio Lanconelli

Venkatesha wrote:

Hi Angela,

I am downloading image.bin file only. Also I am using the same commands.

Regards,

Venkatesha K

------------------------------------------------------------------------

*From:* owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] *On Behalf Of *Angela Roe
*Sent:* Tuesday, November 28, 2006 11:57 PM
*To:* microblaze-uclinux@xxxxxxxxxxxxxx
*Subject:* RE: [microblaze-uclinux] Downloding image file

Hi,

Are you downloading the image.elf file or the image.bin file?

I have seen the error that you are seeing when I download the image.elf.

If I download the image.bin file I don’t see the error.

The command lines I use are as follows:

dow –data image.bin 0xXXXXXXXX

con 0xXXXXXXXX

where 0xXXXXXXXX is the address of your memory.

This may help.

Cheers,

Angela

------------------------------------------------------------------------

*From:* owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] *On Behalf Of *Venkatesha
*Sent:* 28 November 2006 09:26
*To:* microblaze-uclinux@xxxxxxxxxxxxxx
*Subject:* RE: [microblaze-uclinux] Downloding image file

Hi Goran,

Now I have removed FSL from my design, but when I tried to download it gave below error.

Linux version 2.4.32-uc0 (devel@localhost) (gcc version 3.4.1 ( Xilinx EDK 8.2 B

uild EDK_Im.12 180506 )) #42 Mon Nov 27 23:44:10 EST 2006

On node 0 totalpages: 16384

zone(0): 16384 pages.

zone(1): 0 pages.

zone(2): 0 pages.

CPU: MICROBLAZE

Kernel command line:

Console: xmbserial on UARTLite

Calibrating delay loop... 49.86 BogoMIPS

Memory: 64MB = 64MB total

Memory: 61736KB available (1147K code, 1936K data, 52K init)

Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)

Inode cache hash table entries: 4096

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)

Page-cache hash table entries: 16384 (order: 4, 65536 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 0x40600000 (irq = 2) is a Microblaze UARTlite

Starting kswapd

xgpio #0 at 0x40000000 mapped to 0x40000000

Xilinx GPIO registered

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

eth0: using sgDMA mode.

eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=1

eth0: id 2.0l; block id 11, type 1

uclinux[mtd]: RAM probe address=0x24157fc0 size=0x1ac000

uclinux[mtd]: root filesystem index=0

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 4096 bind 8192)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

VFS: Cannot open root device "" or 1f:00

Please append a correct "root=" boot option

Kernel panic: VFS: Unable to mount root fs on 1f:00

Please suggest how to overcome this error.

Thanks in advance.

Regards,

Venkatesha K

------------------------------------------------------------------------

*From:* owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] *On Behalf Of *Goran Bilski
*Sent:* Friday, November 17, 2006 1:18 PM
*To:* microblaze-uclinux@xxxxxxxxxxxxxx
*Subject:* RE: [microblaze-uclinux] Downloding image file

Hi,

That will happen if you try to do a memory access to an address where no slave response to or doing a blocking FSL which will never get the correct FSL status.

Göran

------------------------------------------------------------------------

*From:* owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] *On Behalf Of *Venkatesha
*Sent:* 16 November 2006 16:24
*To:* microblaze-uclinux@xxxxxxxxxxxxxx
*Subject:* FW: [microblaze-uclinux] Downloding image file

Dear All,

I am able to continue till configuring and generating uClinux image.

But when I tried to download the image using XMD debugger, it gave below error.

/ERROR: MDT- microblaze pipeline stalled executing instruction at >>PC: 0x00000010/

/Try resetting the processor to continue../

/ /

My hardware passes memory test and also I have marked bootloop for bram initialization.

I am using EDK 8.2SP2 and Microblaze version 5.00.c. Is this configuration supports uClinux 1.00.d.?

I am attaching MHS, MSS and auto-config.in file with this mail.

/Please help me, this is the second time I am requesting/.

Thanks & regards,

Venkatesha K

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/