[#4019] Nor flash don't get recognized on bf548 ezkit 1.3 board

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#4019] Nor flash don't get recognized on bf548 ezkit 1.3 board

Submitted By: Mingquan Pan

Open Date

2008-04-10 03:06:06     Close Date

2008-04-10 03:24:17

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: Nor flash don't get recognized on bf548 ezkit 1.3 board

Details:

 

Nor flash don't get recognized on bf548 ezkit 1.3 board,while on ezkit bf548 1.1 board,at least it can recogize and creat partition.

 

The log on 1.3 bf548 ezkit board:

 

U-Boot 1.1.6-svn1095 (ADI-2008R1) (Jan 13 2008 - 04:49:34)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

       Support:   blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz

RAM:   64 MB

Flash: 16 MB

In:    serial

Out:   serial

Err:   serial

NAND:  256 MiB

Net:   LAN9x18 (0x118a0000) detected at 0x24000000

MAC:   00:E0:22:FE:B8:54

I2C:   ready

Hit any key to stop autoboot:  0

bfin> bootm 0x20040000

## Booting image at 20040000 ...

   Image Name:   Linux-2.6.24.4-ADI-2008R2-pre-sv

   Created:      2008-04-09  19:43:40 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1196596 Bytes =  1.1 MB

   Load Address: 00001000

   Entry Point:  0020e000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 20e000

Linux version 2.6.24.4-ADI-2008R2-pre-svn4569 (test@uclinux84-bf548-kernel) (gcc version 4.1.2 (ADI svn)) #4 Wed Apr 9 19:43:27 GMT 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0016e190

  rodata    = 0x0016e2c0-0x001e6330

  bss       = 0x001e6340-0x001f5ea4

  data      = 0x001f5ea4-0x0020e000

    stack   = 0x0020c000-0x0020e000

  init      = 0x0020e000-0x00231000

  available = 0x00231000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15748

Kernel command line: mtdparts=physmap-flash.0:256k(uboot)ro,1792k(kernel),-(rootfs) root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 60660k/65536k RAM, (140k init code, 1460k kernel code, 640k data, 2048k dma, 584k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework initialized

Mount-cache hash table entries: 512

net_namespace: 64 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

NET: Registered protocol family 2

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

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

smsc911x: Driver version 2007-07-13.

eth0: SMSC911x MAC Address: 00:e0:22:fe:b8:54

Driver 'sd' needs updating - please use bus_type methods

Driver 'sr' needs updating - please use bus_type methods

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA48

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

physmap platform flash device: 01000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

  Unknown Intel/Sharp Extended Query version 1.5.

gen_probe: No supported Vendor Command Set found

3 cmdlinepart partitions found on MTD device physmap-flash.0

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00040000 : "uboot"

0x00040000-0x00200000 : "kernel"

0x00200000-0x01000000 : "rootfs"

sysfs: duplicate filename 'physmap-flash.0' can not be created

WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

Hardware Trace:

   0 Target : <0x000044b4> { _dump_stack + 0x0 }

     Source : <0x0006c09a> { _sysfs_add_one + 0xae }

   1 Target : <0x0006c09a> { _sysfs_add_one + 0xae }

     Source : <0x0000d5ba> { _printk + 0x16 }

   2 Target : <0x0000d5b6> { _printk + 0x12 }

     Source : <0x0000d46c> { _vprintk + 0x1b8 }

   3 Target : <0x0000d460> { _vprintk + 0x1ac }

     Source : <0xffa00bda> { __common_int_entry + 0xca }

   4 Target : <0xffa00b78> { __common_int_entry + 0x68 }

     Source : <0xffa009b8> { _return_from_int + 0x58 }

   5 Target : <0xffa009b8> { _return_from_int + 0x58 }

     Source : <0xffa0098e> { _return_from_int + 0x2e }

   6 Target : <0xffa00960> { _return_from_int + 0x0 }

     Source : <0xffa00b74> { __common_int_entry + 0x64 }

   7 Target : <0xffa00b72> { __common_int_entry + 0x62 }

     Source : <0xffa002e4> { _asm_do_IRQ + 0x6c }

   8 Target : <0xffa002dc> { _asm_do_IRQ + 0x64 }

     Source : <0x000115f6> { __local_bh_enable + 0x3e }

   9 Target : <0x000115b8> { __local_bh_enable + 0x0 }

     Source : <0x00011700> { ___do_softirq + 0x94 }

  10 Target : <0x000116f8> { ___do_softirq + 0x8c }

     Source : <0x000116d8> { ___do_softirq + 0x6c }

  11 Target : <0x000116cc> { ___do_softirq + 0x60 }

     Source : <0x000117e4> { _tasklet_action + 0x7c }

  12 Target : <0x000117de> { _tasklet_action + 0x76 }

     Source : <0x000117ba> { _tasklet_action + 0x52 }

  13 Target : <0x000117b8> { _tasklet_action + 0x50 }

     Source : <0x0001b56a> { ___rcu_process_callbacks + 0xb6 }

  14 Target : <0x0001b564> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0001b4fa> { ___rcu_process_callbacks + 0x46 }

  15 Target : <0x0001b4f6> { ___rcu_process_callbacks + 0x42 }

     Source : <0x0001b592> { ___rcu_process_callbacks + 0xde }

Stack from 002cfe7c:

        002c4324 0006c09e 03c1958c 002cfeb8 002c4324 001b2a5c 000001a8 001748f8

        0006c53e 03c1958c 002066cc 0022afd4 002cff1c 002065e8 03df2e00 002c4324

        00000000 00000000 00000000 0006c5be 002066cc 00204fe4 00204fe4 000c17a6

        0022ee50 000c1adc 002cfee8 03c2a200 000c1b5a 0022ee50 00000014 001c7296

        002cff24 002cff24 000d8570 0022ee50 00206664 0022afd4 00204fe4 002066cc

        000c5894 0022ee50 002066ec 0022afd4 00000000 0022eec0 000dbb98 0022ee50

 

Call Trace:

[<001054e6>] _register_mtd_blktrans+0x13e/0x1f4

[<00227f40>] _physmap_init+0x24/0x30

[<0020e5ac>] _kernel_init+0x88/0x234

[<0020e524>] _kernel_init+0x0/0x234

[<00001686>] _kernel_thread_helper+0x6/0xc

 

kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.

Hardware Trace:

   0 Target : <0x000044b4> { _dump_stack + 0x0 }

     Source : <0x000c1bcc> { _kobject_add + 0xd0 }

   1 Target : <0x000c1bcc> { _kobject_add + 0xd0 }

     Source : <0x000c1c08> { _kobject_add + 0x10c }

   2 Target : <0x000c1c08> { _kobject_add + 0x10c }

     Source : <0x0000d5ba> { _printk + 0x16 }

   3 Target : <0x0000d5b6> { _printk + 0x12 }

     Source : <0x0000d46c> { _vprintk + 0x1b8 }

   4 Target : <0x0000d460> { _vprintk + 0x1ac }

     Source : <0xffa00bda> { __common_int_entry + 0xca }

   5 Target : <0xffa00b78> { __common_int_entry + 0x68 }

     Source : <0xffa009b8> { _return_from_int + 0x58 }

   6 Target : <0xffa009b8> { _return_from_int + 0x58 }

     Source : <0xffa0098e> { _return_from_int + 0x2e }

   7 Target : <0xffa00960> { _return_from_int + 0x0 }

     Source : <0xffa00b74> { __common_int_entry + 0x64 }

   8 Target : <0xffa00b72> { __common_int_entry + 0x62 }

     Source : <0xffa002e4> { _asm_do_IRQ + 0x6c }

   9 Target : <0xffa002dc> { _asm_do_IRQ + 0x64 }

     Source : <0x000115f6> { __local_bh_enable + 0x3e }

  10 Target : <0x000115b8> { __local_bh_enable + 0x0 }

     Source : <0x00011700> { ___do_softirq + 0x94 }

  11 Target : <0x000116f8> { ___do_softirq + 0x8c }

     Source : <0x000116d8> { ___do_softirq + 0x6c }

  12 Target : <0x000116cc> { ___do_softirq + 0x60 }

     Source : <0x000117e4> { _tasklet_action + 0x7c }

  13 Target : <0x000117de> { _tasklet_action + 0x76 }

     Source : <0x000117ba> { _tasklet_action + 0x52 }

  14 Target : <0x000117b8> { _tasklet_action + 0x50 }

     Source : <0x0001b56a> { ___rcu_process_callbacks + 0xb6 }

  15 Target : <0x0001b564> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0001b4fa> { ___rcu_process_callbacks + 0x46 }

Stack from 002cfee4:

        002cfee8 000c1bd0 0022ee50 ffffffef 00000014 03c2a200 0000001f 002cff24

        000d8570 0022ee50 00206664 0022afd4 00204fe4 002066cc 000c5894 0022ee50

        002066ec 0022afd4 00000000 0022eec0 000dbb98 0022ee50 0020665c 0022afd4

        00000001 00000000 00000000 00000000 00000000 0022eec0 001054e6 001aaa0c

        00000000 00227f40 0022ee50 002ce000 00000000 00000000 0022ee4c 0022ee40

        002ce000 0020e5ac 00000000 00000000 00000000 00000000 00000000 00000000

 

Call Trace:

[<0020e524>] _kernel_init+0x0/0x234

[<00001686>] _kernel_thread_helper+0x6/0xc

 

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x00000000-0x00400000 : "Linux Kernel"

0x00400000-0x10000000 : "File System"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc00700

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc02200

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:58:06 UTC (3486)

jffs2: Flash size not aligned to erasesize, reducing to 0KiB

jffs2: Too few erase blocks (0)

List of all partitions:

0800   39070080 sda driver: sd

  0801     987966 sda1

1f00        256 mtdblock0 (driver?)

1f01       1792 mtdblock1 (driver?)

1f02      14336 mtdblock2 (driver?)

1f03       4096 mtdblock3 (driver?)

1f04     258048 mtdblock4 (driver?)

No filesystem could mount root, tried:  jffs2

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

 

 

The log on bf548 ezkit 1.1 board:

 

U-Boot 1.1.6-svn1147 (ADI-2008R1) (Feb 18 2008 - 15:51:24)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.0)

Board: ADI BF548 EZ-Kit board

       Support:   blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz

RAM:   64 MB

Flash: 32 MB

In:    serial

Out:   serial

Err:   serial

NAND:  256 MiB

Net:   LAN9x18 (0x118a0000) detected at 0x24000000

MAC:   02:80:AD:24:31:E8

I2C:   ready

Hit any key to stop autoboot:  0

bfin> bootm 0x20040000

## Booting image at 20040000 ...

   Image Name:   Linux-2.6.24.4-ADI-2008R2-pre-sv

   Created:      2008-04-09  19:43:40 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1196596 Bytes =  1.1 MB

   Load Address: 00001000

   Entry Point:  0020e000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 20e000

Linux version 2.6.24.4-ADI-2008R2-pre-svn4569 (test@uclinux84-bf548-kernel) (gcc version 4.1.2 (ADI svn)) #4 Wed Apr 9 19:43:27 GMT 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0016e190

  rodata    = 0x0016e2c0-0x001e6330

  bss       = 0x001e6340-0x001f5ea4

  data      = 0x001f5ea4-0x0020e000

    stack   = 0x0020c000-0x0020e000

  init      = 0x0020e000-0x00231000

  available = 0x00231000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15748

Kernel command line: mtdparts=physmap-flash.0:256k(uboot)ro,1792k(kernel),-(rootfs) root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 60660k/65536k RAM, (140k init code, 1460k kernel code, 640k data, 2048k dma, 584k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework initialized

Mount-cache hash table entries: 512

net_namespace: 64 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

NET: Registered protocol family 2

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

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

smsc911x: Driver version 2007-07-13.

eth0: SMSC911x MAC Address: 02:80:ad:24:31:e8

Driver 'sd' needs updating - please use bus_type methods

Driver 'sr' needs updating - please use bus_type methods

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA48

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1 sda2

sd 0:0:0:0: [sda] Attached SCSI disk

physmap platform flash device: 01000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

NOR chip too large to fit in mapping. Attempting to cope...

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

Reducing visibility of 32768KiB chip to 16384KiB

3 cmdlinepart partitions found on MTD device physmap-flash.0

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00040000 : "uboot"

0x00040000-0x00200000 : "kernel"

0x00200000-0x01000000 : "rootfs"

sysfs: duplicate filename 'physmap-flash.0' can not be created

WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

Hardware Trace:

   0 Target : <0x000044b4> { _dump_stack + 0x0 }

     Source : <0x0006c09a> { _sysfs_add_one + 0xae }

   1 Target : <0x0006c09a> { _sysfs_add_one + 0xae }

     Source : <0x0000d5ba> { _printk + 0x16 }

   2 Target : <0x0000d5b6> { _printk + 0x12 }

     Source : <0x0000d46c> { _vprintk + 0x1b8 }

   3 Target : <0x0000d460> { _vprintk + 0x1ac }

     Source : <0xffa00bda> { __common_int_entry + 0xca }

   4 Target : <0xffa00b78> { __common_int_entry + 0x68 }

     Source : <0xffa009b8> { _return_from_int + 0x58 }

   5 Target : <0xffa009b8> { _return_from_int + 0x58 }

     Source : <0xffa0098e> { _return_from_int + 0x2e }

   6 Target : <0xffa00960> { _return_from_int + 0x0 }

     Source : <0xffa00b74> { __common_int_entry + 0x64 }

   7 Target : <0xffa00b72> { __common_int_entry + 0x62 }

     Source : <0xffa002e4> { _asm_do_IRQ + 0x6c }

   8 Target : <0xffa002dc> { _asm_do_IRQ + 0x64 }

     Source : <0x000115f6> { __local_bh_enable + 0x3e }

   9 Target : <0x000115b8> { __local_bh_enable + 0x0 }

     Source : <0x00011700> { ___do_softirq + 0x94 }

  10 Target : <0x000116f8> { ___do_softirq + 0x8c }

     Source : <0x000116d8> { ___do_softirq + 0x6c }

  11 Target : <0x000116cc> { ___do_softirq + 0x60 }

     Source : <0x000117e4> { _tasklet_action + 0x7c }

  12 Target : <0x000117de> { _tasklet_action + 0x76 }

     Source : <0x000117ba> { _tasklet_action + 0x52 }

  13 Target : <0x000117b8> { _tasklet_action + 0x50 }

     Source : <0x0001b56a> { ___rcu_process_callbacks + 0xb6 }

  14 Target : <0x0001b564> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0001b4fa> { ___rcu_process_callbacks + 0x46 }

  15 Target : <0x0001b4f6> { ___rcu_process_callbacks + 0x42 }

     Source : <0x0001b592> { ___rcu_process_callbacks + 0xde }

Stack from 002cfe7c:

        002c4324 0006c09e 03c1042c 002cfeb8 002c4324 001b2a5c 000001a8 001748f8

        0006c53e 03c1042c 002066cc 0022afd4 002cff1c 002065e8 03df2e00 002c4324

        00000000 00000000 00000000 0006c5be 002066cc 00204fe4 00204fe4 000c17a6

        0022ee50 000c1adc 002cfee8 03dbff00 000c1b5a 0022ee50 00000014 001c7296

        002cff24 002cff24 000d8570 0022ee50 00206664 0022afd4 00204fe4 002066cc

        000c5894 0022ee50 002066ec 0022afd4 00000000 0022eec0 000dbb98 0022ee50

 

Call Trace:

[<001054e6>] _register_mtd_blktrans+0x13e/0x1f4

[<00227f40>] _physmap_init+0x24/0x30

[<0020e5ac>] _kernel_init+0x88/0x234

[<0020e524>] _kernel_init+0x0/0x234

[<00001686>] _kernel_thread_helper+0x6/0xc

 

kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.

Hardware Trace:

   0 Target : <0x000044b4> { _dump_stack + 0x0 }

     Source : <0x000c1bcc> { _kobject_add + 0xd0 }

   1 Target : <0x000c1bcc> { _kobject_add + 0xd0 }

     Source : <0x000c1c08> { _kobject_add + 0x10c }

   2 Target : <0x000c1c08> { _kobject_add + 0x10c }

     Source : <0x0000d5ba> { _printk + 0x16 }

   3 Target : <0x0000d5b6> { _printk + 0x12 }

     Source : <0x0000d46c> { _vprintk + 0x1b8 }

   4 Target : <0x0000d460> { _vprintk + 0x1ac }

     Source : <0xffa00bda> { __common_int_entry + 0xca }

   5 Target : <0xffa00b78> { __common_int_entry + 0x68 }

     Source : <0xffa009b8> { _return_from_int + 0x58 }

   6 Target : <0xffa009b8> { _return_from_int + 0x58 }

     Source : <0xffa0098e> { _return_from_int + 0x2e }

   7 Target : <0xffa00960> { _return_from_int + 0x0 }

     Source : <0xffa00b74> { __common_int_entry + 0x64 }

   8 Target : <0xffa00b72> { __common_int_entry + 0x62 }

     Source : <0xffa002e4> { _asm_do_IRQ + 0x6c }

   9 Target : <0xffa002dc> { _asm_do_IRQ + 0x64 }

     Source : <0x000115f6> { __local_bh_enable + 0x3e }

  10 Target : <0x000115b8> { __local_bh_enable + 0x0 }

     Source : <0x00011700> { ___do_softirq + 0x94 }

  11 Target : <0x000116f8> { ___do_softirq + 0x8c }

     Source : <0x000116d8> { ___do_softirq + 0x6c }

  12 Target : <0x000116cc> { ___do_softirq + 0x60 }

     Source : <0x000117e4> { _tasklet_action + 0x7c }

  13 Target : <0x000117de> { _tasklet_action + 0x76 }

     Source : <0x000117ba> { _tasklet_action + 0x52 }

  14 Target : <0x000117b8> { _tasklet_action + 0x50 }

     Source : <0x0001b56a> { ___rcu_process_callbacks + 0xb6 }

  15 Target : <0x0001b564> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0001b4fa> { ___rcu_process_callbacks + 0x46 }

Stack from 002cfee4:

        002cfee8 000c1bd0 0022ee50 ffffffef 00000014 03dbff00 0000001f 002cff24

        000d8570 0022ee50 00206664 0022afd4 00204fe4 002066cc 000c5894 0022ee50

        002066ec 0022afd4 00000000 0022eec0 000dbb98 0022ee50 0020665c 0022afd4

        00000001 00000000 00000000 00000000 00000000 0022eec0 001054e6 001aaa0c

        00000000 00227f40 0022ee50 002ce000 00000000 00000000 0022ee4c 0022ee40

        002ce000 0020e5ac 00000000 00000000 00000000 00000000 00000000 00000000

 

Call Trace:

[<0020e524>] _kernel_init+0x0/0x234

[<00001686>] _kernel_thread_helper+0x6/0xc

 

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x00000000-0x00400000 : "Linux Kernel"

0x00400000-0x10000000 : "File System"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc00700

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc02200

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-06-03 00:41:15 UTC (1086223275)

Empty flash at 0x0000fffc ends at 0x00010000

Empty flash at 0x0002fffc ends at 0x00030000

Empty flash at 0x0004fffc ends at 0x00050000

Empty flash at 0x0006ffa0 ends at 0x00070000

Empty flash at 0x000afffc ends at 0x000b0000

Empty flash at 0x000cfffc ends at 0x000d0000

Empty flash at 0x000efffc ends at 0x000f0000

Empty flash at 0x0010fffc ends at 0x00110000

Empty flash at 0x0012fffc ends at 0x00130000

Empty flash at 0x0014fffc ends at 0x00150000

Empty flash at 0x0016fffc ends at 0x00170000

Empty flash at 0x0018fffc ends at 0x00190000

Empty flash at 0x001afffc ends at 0x001b0000

Empty flash at 0x001cfffc ends at 0x001d0000

Empty flash at 0x001efffc ends at 0x001f0000

Empty flash at 0x0020fffc ends at 0x00210000

Empty flash at 0x0022fffc ends at 0x00230000

Empty flash at 0x0024fffc ends at 0x00250000

Empty flash at 0x0026fffc ends at 0x00270000

Empty flash at 0x0028fffc ends at 0x00290000

Empty flash at 0x002afffc ends at 0x002b0000

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 140k freed

dma_alloc_init: dma_page @ 0x0022c000 - 512 pages at 0x03e00000

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.10.0 (2008-04-09 15:17:51 GMT) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>                                                                                           

 

Follow-ups

 

--- Mike Frysinger                                           2008-04-10 03:24:16

you cant configure the physmap flash in both your .config and the board

resources.  if you try, then you get an error just like the one you posted.

 

dont change the defaults in the .config and things work fine.

 

--- Mingquan Pan                                             2008-04-10 06:08:54

Yeah, the error that says dupicate filename "physmap-flash.0"

disappearing.But still shows "Unknown Intel/Sharp Extended Query version

1.5" like following. Are you also use mtd partition on 1.3 ezkit board?

 

bfin> set bootargs root=/dev/mtdblock2 rw rootfstype=jffs2

earlyprintk=serial,uart0,57600 console=tty0 console=ttyBF0,57600

bfin> save

Saving Environment to EEPROM...

..done

bfin> bootm 0x20040000

## Booting image at 20040000 ...

   Image Name:   Linux-2.6.24.4-ADI-2008R2-pre-sv

   Created:      2008-04-10   9:47:21 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1237389 Bytes =  1.2 MB

   Load Address: 00001000

   Entry Point:  00222000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 222000

Linux version 2.6.24.4-ADI-2008R2-pre-svn4569 (test@linux) (gcc version 4.1.2

(ADI svn)) #163 Thu Apr 10 17:47:16 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0017a6e0

  rodata    = 0x0017a820-0x001f527c

  bss       = 0x001f5280-0x00206964

  data      = 0x00206964-0x00222000

    stack   = 0x00220000-0x00222000

  init      = 0x00222000-0x00245000

  available = 0x00245000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15748

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2

earlyprintk=serial,uart0,57600 console=tty0 console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

console [tty0] enabled

Linux version 2.6.24.4-ADI-2008R2-pre-svn4569 (test@linux) (gcc version 4.1.2

(ADI svn)) #163 Thu Apr 10 17:47:16 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0017a6e0

  rodata    = 0x0017a820-0x001f527c

  bss       = 0x001f5280-0x00206964

  data      = 0x00206964-0x00222000

    stack   = 0x00220000-0x00222000

  init      = 0x00222000-0x00245000

  available = 0x00245000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15748

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2

earlyprintk=serial,uart0,57600 console=tty0 console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

console [tty0] enabled

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 60576k/65536k RAM, (140k init code, 1509k kernel code, 671k

data, 2048k dma, 588k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework initialized

Mount-cache hash table entries: 512

net_namespace: 64 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

NET: Registered protocol family 2

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

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

smsc911x: Driver version 2007-07-13.

eth0: SMSC911x MAC Address: 00:e0:22:fe:b8:54

Driver 'sd' needs updating - please use bus_type methods

Driver 'sr' needs updating - please use bus_type methods

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA48

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support

DPO or FUA

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support

DPO or FUA

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

physmap platform flash device: 01000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

  Unknown Intel/Sharp Extended Query version 1.5.

gen_probe: No supported Vendor Command Set found

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00040000 : "Bootloader"

0x00040000-0x00120000 : "Kernel"

0x00120000-0x01000000 : "RootFS"

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog

Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V

8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x00000000-0x00400000 : "Linux Kernel"

0x00400000-0x10000000 : "File System"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc02300, dma channel@5

input: bf54x-keys as /class/input/input0

bf54x-keys: Blackfin BF54x Keypad registered IRQ 76

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller,

regs_base@ffc00700

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller,

regs_base@ffc02200

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 06:09:41 UTC (22181)

jffs2: Flash size not aligned to erasesize, reducing to 0KiB

jffs2: Too few erase blocks (0)

List of all partitions:

0800   39070080 sda driver: sd

  0801     987966 sda1

1f00        256 mtdblock0 (driver?)

1f01        896 mtdblock1 (driver?)

1f02      15232 mtdblock2 (driver?)

1f03       4096 mtdblock3 (driver?)

1f04     258048 mtdblock4 (driver?)

No filesystem could mount root, tried:  jffs2

Kernel panic - not syncing: VFS: Unable to mount root fs on

unknown-block(31,2)

 

--- Mike Frysinger                                           2008-04-10 13:23:44

the "Unknown Intel/Sharp Extended Query version 1.5" is a real bug,

but i've opened an issue already for that ... bug Sonic as he's our flash ninja

 

 

--- Robin Getz                                               2008-04-10 14:42:15

I would rather be a Pirate than an Ninja.

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes