[#4104] Format usbdisk failed with mke2fs in trunk

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

[#4104] Format usbdisk failed with mke2fs in trunk

Submitted By: Vivi Li

Open Date

2008-05-15 08:35:53     Close Date

2008-05-19 22:50:40

Priority:

Medium     Assignee:

Bryan Wu

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1-rc8

App binary format:

N/A     

Summary: Format usbdisk failed with mke2fs in trunk

Details:

 

Format usbdisk failed with mke2fs in BF527-EZKIT/BF548-EZKIT in trunk.

 

Bellow is the log:

--

Linux version 2.6.24.7-ADI-2008R2-pre-svn4730 (test@Linux165-ViviLi) (gcc version 4.1.2 (ADI svn)) 8

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00127c40

  rodata    = 0x00127d80-0x001841d8

  bss       = 0x001841e0-0x00192fe4

  data      = 0x00192fe4-0x001aa000

    stack   = 0x001a8000-0x001aa000

  init      = 0x001aa000-0x004cd000

  available = 0x004cd000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Recovering from Watchdog event

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

Compiled for ADSP-BF527 Rev 0.0

Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected

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: 16002

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyf

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: 59012k/65536k RAM, (3212k init code, 1179k kernel code, 521k data, 1024k dma, 584)

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

stamp_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: kernel must blacklist external hubs

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

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

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 = 31) is a BFIN-UART

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

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_d)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

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

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

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

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

usbcore: registered new interface driver usbhid

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 01:49:28 UTC (6568)

usb 1-1: new high speed USB device using musb_hdrc and address 2

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 3212k freed

dma_alloc_init: dma_page @ 0x004ca000 - 256 pages at 0x03f00000

usb 1-1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

                           _____________________________________

        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.1 (2008-05-15 16:37:37 CST) built-in shell (msh)

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

 

root:/>

scsi 0:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSI: 0 CCS

sd 0:0:0:0: [sda] 2025471 512-byte hardware sectors (1037 MB)

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

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 2025471 512-byte hardware sectors (1037 MB)

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

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

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

root:/> version

kernel:    Linux release 2.6.24.7-ADI-2008R2-pre-svn4730, build #129 Thu May 15 20:21:20 CST 2008

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-6677, build #65 Thu May 15 20:20:28 CST 2008

root:/> fdisk /dev/sda

 

Command (m for help): p

 

Disk /dev/sda: 32 heads, 62 sectors, 1020 cylinders

Units = cylinders of 1984 * 512 bytes

 

   Device Boot    Start       End    Blocks   Id  System

/dev/sda1             1      1020   1011809   83  Linux

 

Command (m for help): q

 

root:/>

root:/> mke2fs /dev/sda1

mke2fs 1.40.8 (13-Mar-2008)

ext2fs_check_if_mount: No such file or directory while determining whether /dev/sda1 is mounted.

Warning: 256-byte inodes not usable on older systems

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

63360 inodes, 252952 blocks

12647 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=260046848

8 block groups

32768 blocks per group, 32768 fragments per group

7920 inodes per group

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376

 

Writing inode tables: musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 0083

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: reset high speed USB device using musb_hdrc and address 2

sd 0:0:0:0: Device offlined - not ready after error recovery

sd 0:0:0:0: [sda] Result: hostbyte=0x05 driverbyte=0x00

end_request: I/O error, dev sda, sector 4018

Buffer I/O error on device sda1, logical block 1978

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1979

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1980

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1981

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1982

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1983

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1984

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1985

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1986

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1987

lost page write due to I/O error on sda1

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00

end_request: I/O error, dev sda, sector 4258

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

done

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

Writing superblocks and filesystem accounting information: sd 0:0:0:0: rejecting I/O to offline deve

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

sd 0:0:0:0: rejecting I/O to offline device

done

 

This filesystem will be automatically checked every 38 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to override.

root:/>

--

 

Follow-ups

 

--- Bryan Wu                                                 2008-05-15 23:17:58

Yes, I found this trunk bug in BF548-EZKIT.

I guess it is introduced by the USB stack updating.

 

But the 08R1 branch is OK.

 

-Bryan

 

--- Bryan Wu                                                 2008-05-16 07:31:49

Fixed in the trunk.

 

----

Linux version 2.6.24.7-ADI-2008R2-pre-svn4753 (roc@roc-desktop) (gcc version

4.1.2 (ADI svn)) #5 Fri May 16 19:30:10 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-0x0012c880

  rodata    = 0x0012c9c0-0x001a6f08

  bss       = 0x001a6f20-0x001b61c4

  data      = 0x001b61c4-0x001ce000

    stack   = 0x001cc000-0x001ce000

  init      = 0x001ce000-0x004bb000

  available = 0x004bb000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

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

Compiled for ADSP-BF527 Rev 0.0

Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected

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: 16002

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ip=192.168.0.66:192.168.0.55:10.100.4.174:255.255.255.0:BFIN:ethf

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: 59084k/65536k RAM, (2996k init code, 1198k kernel code, 646k

data, 1024k 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

stamp_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

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

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 = 31) is a BFIN-UART

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

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1,

mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

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

regs_base@ffc00500, dma channel@7

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver libusual

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

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

usbcore: registered new interface driver usbhid

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

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:05:24 UTC (324)

usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 2996k freed

dma_alloc_init: dma_page @ 0x004b8000 - 256 pages at 0x03f00000

                           _____________________________________

        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.1 (2008-05-16 19:05:56 CST) built-in shell (msh)

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

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/>

root:/> scsi 0:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0

ANSI: 0 CCS

sd 0:0:0:0: [sda] 2014271 512-byte hardware sectors (1031 MB)

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

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 2014271 512-byte hardware sectors (1031 MB)

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

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

 

root:/> sd 0:0:0:0: [sda] Attached SCSI removable disk

 

root:/> mke2fs /dev/sda1

mke2fs 1.40.8 (13-Mar-2008)

ext2fs_check_if_mount: No such file or directory while determining whether

/dev/sda1 is mounted.

Warning: 256-byte inodes not usable on older systems

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

62976 inodes, 251712 blocks

12585 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=260046848

8 block groups

32768 blocks per group, 32768 fragments per group

7872 inodes per group

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376

 

Writing inode tables: done                           

Writing superblocks and filesystem accounting information: done

 

This filesystem will be automatically checked every 23 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to override.

----

 

Also test on BF548 and BF537.

 

-Bryan

 

--- Vivi Li                                                  2008-05-19 22:50:38

OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes