2008-03-18 05:29:35     mounting a thumb drive USB on EZ-kit BF548

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

2008-03-18 05:29:35     mounting a thumb drive USB on EZ-kit BF548

Norrih Valayden (SINGAPORE)

Message: 52671   

 

Hi,

 

I have been trying for one week to mount USB thumb drive on uClinux  2008RC2

 

without success. I read all the post concerning this point and try to build an

 

http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&thread_id=24096&_forum_action=ForumMessageBrowse

 

image with the correct option, but during the boot ( thumb drive inserted)

 

I dont have any device detected as the example below

 

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, ?dma?, host, debug=0

musb_hdrc: USB Host mode controller at ffc03c00 using PIO, IRQ 82

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

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

usb usb1: Product: MUSB HDRC host driver

usb usb1: Manufacturer: Linux 2.6.22.12-ADI-2007R2-pre-svn3896 musb-hcd

usb usb1: SerialNumber: musb_hdrc.0

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

 

Am I using the wrong uclinux version ?

 

Did i forget an option in the config menu ?

 

If someone can send me an working image with USB, I will really appreciate ( I will be able to test,

 

my usb port or configuration.

 

Thanks for your help.

 

Norrih

QuoteReplyEditDelete

 

 

2008-03-18 05:46:36     Re: mounting a thumb drive USB on EZ-kit BF548

Michael Hennerich (GERMANY)

Message: 52673    Try attached image - it works:

If it doesn't work on your side check the board configuration.

 

 

Linux version 2.6.22.18-ADI-2008R1-svn4469 (michael@mhenneri-D02) (gcc version 4.1.2 (ADI svn)) #1099 Tue Mar 18 10:43:33 CET 2008

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

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

Compiled for ADSP-BF548 Rev 0.0

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

Blackfin Linux support by http://blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x0019af50

  rodata    = 0x0019b000-0x0021c5f4

  data      = 0x0021d000-0x0023a000

    stack   = 0x0021e000-0x00220000

  init      = 0x0023a000-0x00789000

  bss       = 0x00789000-0x0079e2f0

  available = 0x0079e2f0-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600 ip=10.44.2.43:10.44.2.88:192.168.0.1:255.255.255.0:1:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

Console: colour dummy device 80x25

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

Linux version 2.6.22.18-ADI-2008R1-svn4469 (michael@mhenneri-D02) (gcc version 4.1.2 (ADI svn)) #1099 Tue Mar 18 10:43:33 CET 2008

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

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

Compiled for ADSP-BF548 Rev 0.0

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

Blackfin Linux support by http://blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x0019af50

  rodata    = 0x0019b000-0x0021c5f4

  data      = 0x0021d000-0x0023a000

    stack   = 0x0021e000-0x00220000

  init      = 0x0023a000-0x00789000

  bss       = 0x00789000-0x0079e2f0

  available = 0x0079e2f0-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600 ip=10.44.2.43:10.44.2.88:192.168.0.1:255.255.255.0:1:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

Console: colour dummy device 80x25

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

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

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

Memory available: 55100k/65536k RAM, (5436k init code, 1639k kernel code, 721k 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 v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_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, ?dma?, host, debug=0

musb_hdrc: kernel must blacklist external hubs

musb_hdrc: USB Host mode controller at ffc03c00 using PIO, IRQ 82

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

bf54x-lq043: FrameBuffer initializing...

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

Console: switching to colour frame buffer device 80x24

bfin-otp: initialized

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

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.

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 cmd 0x00000000 ctl 0xffc03800 bmdma 0x00000000 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: 00400000 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

  Unknown Intel/Sharp Extended Query version 1.5.

gen_probe: No supported Vendor Command Set found

physmap-flash physmap-flash.0: map_probe failed

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 Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

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

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

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.1: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc02200

usbcore: registered new interface driver usbhid

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

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

ASoC version 0.13.1

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:46:41 (2801)

eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175

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

eth0: link down

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 5436k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

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

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /      eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

|

       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|            - http://blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

/proc/sys/vm/pagecache_ratio: cannot create

init: Booting to single user mode

 

 

BusyBox v1.4.1 (2008-03-18 09:42:26 CET) Built-in shell (msh)

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

 

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

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

scsi1 : SCSI emulation for USB Mass Storage devices

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

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

sdb: sdb1

sd 1:0:0:0: [sdb] Attached SCSI removable disk

 

root:/>

uImage

QuoteReplyEditDelete

 

 

2008-03-18 05:49:23     Re: mounting a thumb drive USB on EZ-kit BF548

Bryan Wu (CHINA)

Message: 52674    Hi Norrih,

 

Please attach you fully booting message and .config of your kernel.

And help us to do following things:

1. Try to boot up the board without thumb driver inserted. After the board boots up, insert the thumb driver

2. Try other type USB thumb driver to do the test.

3. If you have another EZKIT-BF548 board, please try the test on that board again.

 

Thanks

-Bryan

QuoteReplyEditDelete

 

 

2008-03-18 05:57:11     Re: mounting a thumb drive USB on EZ-kit BF548

Michael Hennerich (GERMANY)

Message: 52676    Also make sure you use the right cable

Mini-USB Type A male -> USB Type A female

 

http://docs.blackfin.uclinux.org/doku.php?id=usb_peripherals

 

-Michael

QuoteReplyEditDelete

 

 

2008-03-19 01:51:08     Re: mounting a thumb drive USB on EZ-kit BF548

Norrih Valayden (SINGAPORE)

Message: 52729   

 

Hi all

 

Thank Michael and Bryan for your fast anwers.

 

Michael, your image works well with my board/ Usb is recognize = No hardware pb or configuration.

 

I put the dmesg and .config in this message, hope that you can see what's wrong.

 

Just on thing : in the menu config I dont have the option :

 

<*>   BF54x HCD support 

 

Is it because 2008R1-RC1 dist is not good ?

 

Thanks again.

 

Norrih

 

config

dmesg.txt

QuoteReplyEditDelete

 

 

2008-03-19 02:05:20     Re: mounting a thumb drive USB on EZ-kit BF548

Mike Frysinger (UNITED STATES)

Message: 52730    do not use 2008R1-RC1 ... only RC8 was officially released, so that's the only version you should be using now (toolchain and distribution)

QuoteReplyEditDelete

 

 

2008-07-10 12:52:57     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58632   

 

Michael,

 

I am trying the same image. It looks like everything booted correctly. What did you type at root:/> to get this output?

 

 

 

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

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

scsi1 : SCSI emulation for USB Mass Storage devices

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

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

sdb: sdb1

sd 1:0:0:0: [sdb] Attached SCSI removable disk

 

 

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-10 13:02:34     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58633   

 

Ok, Skip the last message. The kernel should output that message when the thumb drive is plugged in. Any idea why I see nothing?

 

Thanks again,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-10 13:20:25     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58634   

 

Michael,

 

No need to respond. Had the wrong cable connection. Everything is working fine.

 

Regards,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-10 15:48:58     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58639   

 

Michael,

 

The image you supplied works fine when I insert a thumb drive. The image I compile and download does not. After inserting the drive I get the following message:

 

usb 1-1: USB disconnect, address 2

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

usb 1-1: Product: U3 Cruzer Micro

usb 1-1: Manufacturer: SanDisk

usb 1-1: SerialNumber: 000028711343188C

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

scsi2 : SCSI emulation for USB Mass Storage devices

scsi 2:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSI: 0 CCSsd 2:0:0:0: [sdb] 2014271 512-byte hardware sectors (1031 MB)

sd 2:0:0:0: [sdb] Write Protect is off

sd 2:0:0:0: [sdb] Assuming drive cache: write through

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

sd 2:0:0:0: [sdb] Write Protect is off

sd 2:0:0:0: [sdb] Assuming drive cache: write through

sdb:<7>usb-storage: queuecommand called

sdb1

sd 2:0:0:0: [sdb] Attached SCSI removable disk

 

The difference is <7>usb-storage: queuecommand called? I don't see my drive in /dev with my image. Do I need to set a compile option that I might have forgotten?

 

Thanks,

Chris

QuoteReplyEditDelete

 

 

2008-07-10 16:39:40     Re: mounting a thumb drive USB on EZ-kit BF548

Robin Getz (UNITED STATES)

Message: 58641   

 

Christopher:

 

I'll need to split things out (this is not BF54x specific), but you should be able to add the necessary kernel settings at:

 

https://docs.blackfin.uclinux.org/doku.php?id=hw:cards:usb_ez-extender#test_usb_mass_stroage

 

-Robin

 

 

QuoteReplyEditDelete

 

 

2008-07-11 09:22:01     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58679   

 

Robin,

 

I have everything selected and I still get the following: (With Michael's uImage it works fine?) Any other suggestions?

 

root:/> scsi 1:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSsd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors (1031 MB)

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

sdb:<7>usb-storage: queuecommand called

sdb1

sd 1:0:0:0: [sdb] Attached SCSI removable disk

mount -t vfat /dev/sdb1 /mnt

mount: mounting /dev/sdb1 on /mnt failed

root:/> mount -t vfat /dev/sdb /mnt

mount: mounting /dev/sdb on /mnt failed

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-11 10:12:40     Re: mounting a thumb drive USB on EZ-kit BF548

Robin Getz (UNITED STATES)

Message: 58686   

 

Chris:

 

Boot up Michael's uImage - the kernel config is in /proc/config.gz - copy this to your host machine, gunzip this, and then do a diff between your linux-2.6.x/.config file and that one.

 

-Robin

QuoteReplyEditDelete

 

 

2008-07-11 17:39:40     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58705   

 

Robin,

 

I am not sure what is going on. I compared my config with Michael's config and they are the same. My image loads and outputs the same message but /dev/sbd(1) are never created in the /dev directory. Here is my screen capture of my boot sequence. Do you see anything?

 

bfin> bootm

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.22.18-ADI-2008R1-svn44

   Created:      2008-07-12   0:08:43 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5298622 Bytes =  5.1 MB

   Load Address: 00001000

   Entry Point:  002ec000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 2ec000

Linux version 2.6.22.18-ADI-2008R1-svn4428 (charrsen@charrsen-laptop) (gcc vers8early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

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

Compiled for ADSP-BF548 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x0022c2a0

  rodata    = 0x0022d000-0x002cb2ac

  data      = 0x002cc000-0x002ec000

    stack   = 0x002cc000-0x002ce000

  init      = 0x002ec000-0x00941000

  bss       = 0x00941000-0x00963e64

  available = 0x00963e64-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 cons0Configuring Blackfin Priority Driven Interrupts

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

Console: colour dummy device 80x25

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

Linux version 2.6.22.18-ADI-2008R1-svn4428 (charrsen@charrsen-laptop) (gcc vers8early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

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

Compiled for ADSP-BF548 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x0022c2a0

  rodata    = 0x0022d000-0x002cb2ac

  data      = 0x002cc000-0x002ec000

    stack   = 0x002cc000-0x002ce000

  init      = 0x002ec000-0x00941000

  bss       = 0x00941000-0x00963e64

  available = 0x00963e64-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 cons0Configuring Blackfin Priority Driven Interrupts

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

Console: colour dummy device 80x25

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

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

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

Memory available: 53288k/65536k RAM, (6484k init code, 2220k kernel code, 907k )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 (41 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_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, ?dma?, host, debug=0

musb_hdrc: kernel must blacklist external hubs

musb_hdrc: USB Host mode controller at ffc03c00 using PIO, IRQ 82

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

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

usb usb1: Product: MUSB HDRC host driver

usb usb1: Manufacturer: Linux 2.6.22.18-ADI-2008R1-svn4428 musb-hcd

usb usb1: SerialNumber: musb_hdrc.0

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

Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

fuse init (API version 7.8)

JFS: nTxBlock = 416, nTxLock = 3330

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bf54x-lq043: FrameBuffer initializing...

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

Console: switching to colour frame buffer device 80x24

bfin-otp: initialized

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

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.

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 cmd 0x00000000 ctl 0xffc03800 bmdma 0x00000000 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 DPAsd 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 DPA sda: sda1 sda2

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

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x00000000-0x00040000 : "bootloader"

0x00040000-0x00200000 : "linux kernel"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, 4bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, 5Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

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.1: Blackfin BF5xx on-chip I2C TWI Contoller Driver, V0usbcore: registered new interface driver usbhid

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

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.ASoC version 0.13.1

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 07:50:40 (28240)

Freeing unused kernel memory: 6484k freed

                           _____________________________________

        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|            - http://blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-07-11 20:03:29 EDT) Built-in shell (msh)

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

 

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

usb 1-1: Product: U3 Cruzer Micro

usb 1-1: Manufacturer: SanDisk

usb 1-1: SerialNumber: 000028711343188C

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

scsi1 : SCSI emulation for USB Mass Storage devices

scsi 1:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSI: 0 CCSsd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors (1031 MB)

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

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

sd 1:0:0:0: [sdb] Write Protect is off

sd 1:0:0:0: [sdb] Assuming drive cache: write through

sdb: sdb1

sd 1:0:0:0: [sdb] Attached SCSI removable disk

QuoteReplyEditDelete

 

 

2008-07-16 11:56:03     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 58962   

 

Any idea why the USB drive thumb drive does not show up in /dev?

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-16 21:54:51     Re: mounting a thumb drive USB on EZ-kit BF548

Mike Frysinger (UNITED STATES)

Message: 58982   

 

so what is in your /dev ?  what does /proc/partitions say ?

QuoteReplyEditDelete

 

 

2008-07-17 10:58:20     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 59021   

 

Mike,

 

Here is the dump -- It looks like everything is there but I can't mount the drive?

 

root:/proc> cat partitions

major minor  #blocks  name

 

   8     0   39070080 sda

   8     1   10008463 sda1

   8     2   10008495 sda2

   8    16    1007135 sdb

   8    17    1006870 sdb1

QuoteReplyEditDelete

 

 

2008-07-17 21:41:03     Re: mounting a thumb drive USB on EZ-kit BF548

Mike Frysinger (UNITED STATES)

Message: 59043   

 

i also asked about what your /dev looked like ...

 

also post the output of `mount`

QuoteReplyEditDelete

 

 

2008-07-18 10:07:15     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 59094   

 

Mike,

 

Here is the output of mount.

 

mount

rootfs on / type rootfs (rw)

proc on /proc type proc (rw)

ramfs on /var type ramfs (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw)

usbfs on /proc/bus/usb type usbfs (rw)

debugfs on /sys/kernel/debug type debugfs (rw)

securityfs on /sys/kernel/security type securityfs (rw)

nfsd on /proc/fs/nfsd type nfsd (rw)

 

Here is the output of ls /dev

 

root:/> ls /dev

audio           ram11           tty11           tty32           tty53

console         ram12           tty12           tty33           tty54

dsp             ram13           tty13           tty34           tty55

fb0             ram14           tty14           tty35           tty56

full            ram15           tty15           tty36           tty57

fuse            ram2            tty16           tty37           tty58

i2c-0           ram3            tty17           tty38           tty59

kmem            ram4            tty18           tty39           tty6

kmsg            ram5            tty19           tty4            tty60

log             ram6            tty2            tty40           tty61

mem             ram7            tty20           tty41           tty62

mixer           ram8            tty21           tty42           tty63

mtd0            ram9            tty22           tty43           tty7

mtd0ro          random          tty23           tty44           tty8

mtd1            rtc0            tty24           tty45           tty9

mtd1ro          sda             tty25           tty46           ttyBF0

null            sda1            tty26           tty47           urandom

otp             sda2            tty27           tty48           usbdev1.1_ep00

ptmx            snd             tty28           tty49           usbdev1.1_ep81

pts             tty             tty29           tty5            vcs

ram0            tty0            tty3            tty50           vcsa

ram1            tty1            tty30           tty51           watchdog

ram10           tty10           tty31           tty52           zero

root:/>

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-18 21:45:50     Re: mounting a thumb drive USB on EZ-kit BF548

Mike Frysinger (UNITED STATES)

Message: 59104   

 

run `mdev -s` and see if that helps

QuoteReplyEditDelete

 

 

2008-07-21 14:13:25     Re: mounting a thumb drive USB on EZ-kit BF548

Christopher Harrsen (UNITED STATES)

Message: 59156   

 

Thanks, that worked.

Attachments

    Outcomes