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

Re: [microblaze-uclinux] Problem with Spartan 3E DSP1800A



Hi,



On Aug 12, 2009, at 9:12 PM, Alec Dibble wrote:

Hello,

I will paste all my MTD settings here:


           [*] Memory Technology Device (MTD) support

can you enable Debuggin. This may give you a hint what is going wrong.
  │ │    [ ]   Debugging

  │ │    [ ]   MTD concatenating support
  │ │    [*]   MTD partitioning support
  │ │    [ ]     RedBoot partition table parsing
  │ │    [ ]     Command line partition table parsing
  │ │    ---   User Modules And Translation Layers
  │ │    [*]   Direct char device access to MTD devices
│ │ --- Common interface to block layer for MTD 'translation layers
  │ │    [*]   Caching block device access to MTD devices
           [ ]   FTL (Flash Translation Layer) support
  │ │    [ ]   NFTL (NAND Flash Translation Layer) support
│ │ [ ] INFTL (Inverse NAND Flash Translation Layer) support │ │ [ ] Resident Flash Disk (Flash Translation Layer) support
  │ │    [ ]   NAND SSFDC (SmartMedia) read only translation layer

Here is my mapping drivers for chip access settings:

           [*] Support non-linear mappings of flash chips
  │ │    [*] CFI Flash device in physical memory map

--------
Please check your flash setup (but I think this has nothing to do with your problem)
  │ │    (0x0) Physical start address of flash mapping
  │ │    (0x0) Physical length of flash mapping
  │ │    (2)   Bank width in octets
--------
│ │ [ ] CFI Flash device mapped on SnapGear/Cyberguard ARM/ XSCALE boa
  │ │    [*] Generic uClinux RAM/ROM filesystem support
  │ │    [*]   uClinux RAM/ROM filesystem is located at ebss
  │ │    [ ] SnapGear uClinux RAM/ROM filesystem support
  │ │    [ ] Freescale M520xEVB Flash filesystem support
           [ ] Map driver for platform device RAM (mtd-ram)
  │ │    [ ] CFI Flash device mapped on AVNET5282


And finally, here is my RAM/ROM/Flash Chips drivers settings:

[*] Detect flash chips by Common Flash Interface (CFI) probe
  │ │    [ ] Detect non-CFI AMD/JEDEC-compatible flash chips
  │ │    [*] Flash chip driver advanced configuration options
  │ │          Flash cmd/query data swapping (NO)  --->
  │ │    [ ]   Specific CFI Flash geometry selection
│ │ [ ] Protection Registers aka one-time programmable (OTP) bits
  │ │    [*] Support for Intel/Sharp flash chips
  │ │    [*] Support for AMD/Fujitsu flash chips
  │ │    [*] Support for ST (Advanced Architecture) flash chips
  │ │    [*] Support for RAM chips in bus mapping
           [ ] Support for Altera EPCS Device
  │ │    [*] Support for ROM chips in bus mapping
  │ │    [ ] Support for absent chips in bus mapping
│ │ [ ] Older (theoretically obsoleted now) drivers for non- CFI chips



Thanks!


Alec

On Tue, Aug 11, 2009 at 9:53 PM, feddischson <feddischson@xxxxxxx> wrote:
Hey,

maybe there is something wrong with your ram setup.
Could you mail me your setup of the "Memory Technology Deices"?

In addition, you can have a look on
  -> Device Drivers
      -> Memory Technology Devices (MTD)
          -> Mapping drivers for chip access
            -> uClinux RAM/ROM filesystem is located at ebss


because this

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(31,1) says, that the kernel trys yo mount the file system, where it can't do it.

Regards,

Feddischson



On Aug 12, 2009, at 1:28 AM, Alec Dibble wrote:

Hello,


I finally got FS-boot and U-boot to run on this card. When I run the linux build, it outputs with this:

Here is the send-config output:

Linux version 2.6.20-uc0 (adibble@xxxxxxxxxxxxxxxxx) (gcc version 3.4.1 ( PetaL9
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support in CPU.  Using static compile-time info
set_cpuinfo_static: Using static CPU info.
setup_memory: max_mapnr: 0x8ffff
setup_memory: min_low_pfn: 0x88000
setup_memory: max_low_pfn: 0x8000
On node 0 totalpages: 32768
 DMA zone: 256 pages used for memmap
 DMA zone: 0 pages reserved
 DMA zone: 32512 pages, LIFO batch:7
 Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 32512
Kernel command line:
OPB INTC #0 at 0x81800000
PID hash table entries: 512 (order: 9, 2048 bytes)
TIMER at 0x83C00000
disabling early console
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 127928k/131072k available
Calibrating delay loop... 30.82 BogoMIPS (lpj=154112)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
uartlite.0: ttyUL0 at MMIO 0x84000000 (irq = 2) is a uartlite
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: using fifo mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x81000000 mapped to 0x81000000, irq=1
physmap platform flash device: 01000000 at 87000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
cmdlinepart partition parsing not available
RedBoot partition parsing not available
uclinux[mtd]: RAM probe address=0x881d4860 size=0x0
Creating 1 MTD partitions on "RAM":
0x00000000-0x00000000 : "ROMfs"
mtd: partition "ROMfs" is out of reach -- disabled
uclinux[mtd]: set ROMfs to be root filesystem index=1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
end_request: I/O error, dev mtdblock1, sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev mtdblock1, sector 0
romfs: unable to read superblock
No filesystem could mount root, tried:  ext2 cramfs romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(31,1)
 <0>Rebooting in 120 seconds..Machine restart...

Stack:
882f9e88 00000000 00000000 0001d4bd 8ff85012 880170a0 8817b170 00003c2f 0027ba00 00000000 00003c08 00000027 88007e08 88007de0 800000a4 800000a4 800000a4 800000a4 8ff85012 881a8bfc 8817bcb0 00000078 881bf518 00000000 Call Trace: [<880170a0>] [<88007e08>] [<88007de0>] [<881a8bfc>] [<881a8df8>] [<


I thought it might have had to do with recognizing the flash devices, but I tried changing some settings and that didn't affect anything.

As a side note, I am new to this and may be missing something.

Here is the send-configs report:


# list <microblaze-uclinux@xxxxxxxxxxxxxx> when reporting bugs or problems
#
#SYSTEM CONFIGS
CONFIG_DEFAULTS_XILINX=y
CONFIG_DEFAULTS_XILINX_DSP1800A=y
CONFIG_DEFAULTS_KERNEL_2_6=y
CONFIG_DEFAULTS_LIBC_NONE=y
CONFIG_VENDOR=Xilinx
CONFIG_PRODUCT=DSP1800A
CONFIG_LINUXDIR=linux-2.6.x
CONFIG_LIBCDIR=


#KERNEL CONFIGS
CONFIG_MICROBLAZE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_UID16=y
CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_SYSFS_DEPRECATED=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_PRINTK=y
CONFIG_ELF_CORE=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_TINY_SHMEM=y
CONFIG_BASE_SMALL=1
CONFIG_BLOCK=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_CFQ=y


___________________________
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/




___________________________
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/