[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Flash not found while bootup
Hi everyone,
I'm currently trying to get Petalinux v0.30-rc1 to work on a
Spartan3E500 RevD
and now got stuck trying to make the flash available from within
Petalinux. The
flash works fine (used it a lot from u-boot), but when actually booting,
I get
the following output:
---------------------------------------------------
## Booting image at 210c0000 ...
Image Name: PetaLinux Kernel 2.4
Image Type: Microblaze Linux Kernel Image (uncompressed)
Data Size: 2392068 Bytes = 2.3 MB
Load Address: 24000000
Entry Point: 24000000
Verifying Checksum ... OK
OK
Linux version 2.4.32-uc0 (anders@semele) (gcc version 3.4.1 ( PetaLinux
0.20
Build -rc1 050607 )) #28 Fri Sep 26 10:45:09 CEST 2008
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line:
mtdparts=physmap_auto:256K(boot),256K(bootenv),256K(config),5M(image),10M(spare)=macaddr=00:0a:35:00:22:01
root=/dev/mtdblock0
Console: xmbserial on UARTLite
Calibrating delay loop... 24.83 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62332KB available (878K code, 1611K data, 44K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
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
ttyS1 at 0x41400000 (irq = 4) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0x40000000 mapped to 0x40000000
xgpio #1 at 0x40020000 mapped to 0x40020000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
physmap_auto flash device: 1000000 at 21000000
physmap_auto probing buswidth 1
Support for command set 0001 not present
gen_probe: No supported Vendor Command Set found
physmap_auto probing buswidth 1
Search for id:(89 89) interleave(1) type(1)
Search for id:(89 89) interleave(1) type(1)
Search for id:(89 89) interleave(1) type(1)
Search for id:(89 18) interleave(1) type(2)
Search for id:(89 18) interleave(1) type(2)
Search for id:(89 18) interleave(1) type(2)
JEDEC: Found no Physically mapped flash device at location zero
physmap_auto probing buswidth 1
MicroBlaze auto-config flash probe(0x21000000,8388608,4): 800000 at
21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config flash probe(0x21000000,4194304,4): 400000 at
21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config flash probe(0x21000000,2097152,4): 200000 at
21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config flash probe(0x21000000,1048576,4): 100000 at
21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config flash probe(0x21000000,131072,4): 20000 at
21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config ram probe(0x24118acc,1400832,4): 156000 at
24118acc
Creating 1 MTD partitions on "RAM":
0x00000000-0x00156000 : "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 4096 bind 8192)
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 44K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Nonexistent or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): No such device
flatfsd: Created 5 configuration files (185 bytes)
Setting hostname:
Setting up interface lo:
-------------------------------
Then i can login normally, but the output of "cat proc/mtd" is
dev: size erasesize name
mtd0: 00156000 00001000 "Romfs"
although there should be several flash partitions according to
menuconfig.
The only comment I found on that issue is that MTD might not be
configured
correctly, so here is my current configuration:
-------------------------------
#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_CONCAT=y
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_RAM=y
# CONFIG_MTD_EPCS is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=0x21000000
CONFIG_MTD_PHYSMAP_LEN=0x0
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
CONFIG_MTD_UCLINUX=y
CONFIG_MTD_UCLINUX_EBSS=y
# CONFIG_MTD_SNAPGEARuC is not set
# CONFIG_MTD_M520x is not set
# CONFIG_MTD_PLATRAM is not set
# CONFIG_MTD_AVNET5282 is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
#
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set
#
# OneNAND Flash Device Drivers
#
# CONFIG_MTD_ONENAND is not set
-------------------------------------------
I followed the Spartan3E500 RevC tutorial carefully, the only exception
being
that I appended "root=/dev/mtdblock0" to the bootargs variable in u-boot
manually as the kernel wouldn't boot without it, and that the
clobstart-variable was 0x24000000.
Any help would be greatly appreciated, as I'm really stuck on this
one...
Thanks in advance and best regards
Jakob
___________________________
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/