UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
2,055 Views
Registered: ‎06-13-2011

Problem booting SP605, ISE 13.1 AXI4 reference design from SPI flash

I'm trying to follow/modify the procedure from XAPP1146; Embedded Platform Software and Hardware In-the-Field Upgrade Using Linux; to boot the ISE 13.1 AXI4 reference design from SPI flash and linux is not mounting the /dev/mtd partitions.  I need help from someone with more than my very limited experience.

 

Thanks,

 

Steve

 

 

I've attatched the modified dts file which has the mtdparts in the bootargs section added.  

 

Here is the console output, 

 

 

early_printk_console is enabled at 0x84001000

Ramdisk addr 0x00000003, Compiled-in FDT at 0xc021b188

Linux version 2.6.37-00715-gf5f5376-dirty (shoaf@xray-vm-rhel6.aps.anl.gov) (gcc

 version 4.1.2) #23 Fri Jul 1 09:27:38 CDT 2011

setup_cpuinfo: initialising

setup_cpuinfo: Using full CPU PVR support

cache: wt_msr_noirq

setup_memory: max_mapnr: 0x8000

setup_memory: min_low_pfn: 0x40000

setup_memory: max_low_pfn: 0x48000

On node 0 totalpages: 32768

free_area_init_node: node 0, pgdat c02a3894, node_mem_map c0441000

  Normal zone: 256 pages used for memmap

  Normal zone: 0 pages reserved

  Normal zone: 32512 pages, LIFO batch:7

pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

pcpu-alloc: [0] 0

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512

Kernel command line: console=ttyS0 ip=192.168.1.10 mtdparts=spi32766.0:1452k(bit

s),6612k(zImage),128k(loader)

PID hash table entries: 512 (order: -1, 2048 bytes)

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

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 125416k/131072k available

NR_IRQS:32

xlnx,xps-intc-1.00.a #0 at 0xc8000000, num_irq=7, edge=0x8

xlnx,xps-timer-1.00.a #0 at 0xc8004000, irq=3

microblaze_timer_set_mode: shutdown

microblaze_timer_set_mode: periodic

Calibrating delay loop... 98.04 BogoMIPS (lpj=196096)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

NET: Registered protocol family 16

XGpio: /axi@1/gpio@81440000: registered

XGpio: /axi@1/gpio@81420000: registered

XGpio: /axi@1/gpio@81400000: registered

Switching to clocksource microblaze_clocksource

microblaze_timer_set_mode: oneshot

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Skipping unavailable RESET gpio -2 (reset)

GPIO pin is already allocated

JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.

msgmni has been set to 244

Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

84000000.serial: ttyS0 at MMIO 0x84001000 (irq = 6) is a 16550

console [ttyS0] enabled

48000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000

089 Chip ID 0x008919

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

erase region 0: offset=0x0,size=0x20000,blocks=255

erase region 1: offset=0x1fe0000,size=0x8000,blocks=4

RedBoot partition parsing not available

m25p80 spi32766.0: found s25fl064k, expected m25p80

m25p80 spi32766.0: s25fl064k (8192 Kbytes)

3 cmdlinepart partitions found on MTD device spi32766.0

Creating 3 MTD partitions on "spi32766.0":

0x000000000000-0x00000016b000 : "bits"

0x00000016b000-0x0000007e0000 : "zImage"

0x0000007e0000-0x000000800000 : "loader"

xilinx_spi 83400000.spi: at 0x83400000 mapped to 0xc80c0000, irq=4

Xilinx Axi Ethernet MDIO: probed

Device Tree Probing 'i2c'

xilinx-iic #0 at 0x81600000 mapped to 0xCA120000, irq=5

at24 0-0054: 1024 byte 24c08 EEPROM (writable)

TCP cubic registered

NET: Registered protocol family 17

Freeing unused kernel memory: 1566k freed

Starting rcS...

++ Mounting filesystem

++ Starting telnet daemon

rcS Complete

/bin/sh: can't access tty; job control turned off

/ # cat /proc/mtd

dev:    size   erasesize  name

mtd0: 02000000 00020000 "48000000.flash"

mtd1: 0016b000 00001000 "bits"

mtd2: 00675000 00001000 "zImage"

mtd3: 00020000 00001000 "loader"

/ # flash_eraseall /dev/mtd1

flash_eraseall: can't open '/dev/mtd1': No such file or directory

/ # ls /dev

console  mem      ptyp0    ram      tty0     tty3     ttyUL0   ttyp2

i2c      null     ptyp1    random   tty1     tty4     ttyp0    xsa1

loop     ptmx     ptyp2    tty      tty2     ttyS0    ttyp1    zero

/ #

0 Kudos