1/1
USB FLASH on CY7C67300
by Unknown on Dec 19, 2008 |
Not available! | ||
Hi, I want to load a USB FLASH with CY7C67300. My CY7C67300 USB controller is on a daughter board with a CY7C1069 SRAM to support it. I set the CY7C67300 in HPI mode (PIN 39 and 40 is low). I can see the C67x00 driver is successfully loaded from the embedded linux log. But nothing happen if I plug in a USB FLASH. I wonder whether I need a application to download to the CY7C67300 controller before I boot the system with embedded linux. And if I need such an application, where can I find one? Your help will be very appreciated! |
USB FLASH on CY7C67300
by Unknown on Dec 19, 2008 |
Not available! | ||
>>>>> "s" == sunnyliangjy sunnyliangjy at gmail.com> writes:
Hi,
s> I want to load a USB FLASH with CY7C67300.
s> My CY7C67300 USB controller is on a daughter board with a CY7C1069
s> SRAM to support it.
s> I set the CY7C67300 in HPI mode (PIN 39 and 40 is low).
s> I can see the C67x00 driver is successfully loaded from the embedded
s> linux log.
What exactly do you see in the log?
s> But nothing happen if I plug in a USB FLASH.
Does any other USB devices work (keyboard/mouse/..)? Have you enabled
USB mass storage support in the kernel?
s> I wonder whether I need a application to download to the CY7C67300
s> controller before I boot the system with embedded linux. And if I need
s> such an application, where can I find one?
You don't need any additional c67x00 software to use the Linux driver.
--
Bye, Peter Korsgaard
|
USB FLASH on CY7C67300
by Unknown on Dec 22, 2008 |
Not available! | ||
Hi Peter,
Thank you for your reply. I have enabled the USB mass storage.
Below is the boot log.
Any advise will be highly appreciated.
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support in CPU. Using static compile-time info
set_cpuinfo_static: Using static CPU info.
setup_memory: max_mapnr: 0x8ffff
setup_memory: min_low_pfn: 0x88000
setup_memory: max_low_pfn: 0x8000
On node 0 totalpages: 32768
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 32512 pages, LIFO batch:7
Normal zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 32512
Kernel command line:
mtdparts=physmap-flash.0:256K(boot),128K(bootenv),128K(config),4M(image),11M(spare)
macaddr=00:0a:35:00:22:01
OPB INTC #0 at 0x81800000
PID hash table entries: 512 (order: 9, 2048 bytes)
TIMER at 0x83C00000
disabling early console
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 123804k/131072k available
Calibrating delay loop... 30.82 BogoMIPS (lpj=154112)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
LCD is powered on
regs: phys=cfa00000, virt=cfa00000
fb: phys=85c00000, virt=85c00000, size=25800
xgpio0 #0 at 0x81460000 mapped to 0x81460000 device: 10,185 not using IRQ
xgpio1 #1 at 0x81440000 mapped to 0x81440000 device: 10,186 using IRQ#0
xgpio2 #2 at 0x81480000 mapped to 0x81480000 device: 10,187 not using IRQ
uartlite.0: ttyUL0 at MMIO 0x84000000 (irq = 3) is a uartlite
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: using fifo mode.
eth0: No PHY detected. Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x81000000 mapped to 0x81000000, irq=2
physmap platform flash device: 01000000 at 87000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
5 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 5 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00060000 : "bootenv"
0x00060000-0x00080000 : "config"
0x00080000-0x00480000 : "image"
0x00480000-0x00f80000 : "spare"
uclinux[mtd]: RAM probe address=0x8826015c size=0x375000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00375000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem index=5
c67x00 reset successfully
c67x00 c67x00.0: Cypress C67X00 Host Controller
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
c67x00 c67x00.0: new USB bus registered, assigned bus number 1
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Cypress C67X00 Host Controller
usb usb1: Manufacturer: Linux 2.6.20-uc0 c67x00-hcd
usb usb1: SerialNumber: c67x00_sie
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: power on to power good time: 100ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: no over-current condition exists
hub 1-0:1.0: enabling power on all ports
drivers/usb/core/inode.c: creating file '001'
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
c67x00 c67x00.0: Cypress C67X00 Host Controller
drivers/usb/core/inode.c: creating file '002'
c67x00 c67x00.0: new USB bus registered, assigned bus number 2
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Cypress C67X00 Host Controller
usb usb2: Manufacturer: Linux 2.6.20-uc0 c67x00-hcd
usb usb2: SerialNumber: c67x00_sie
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: ganged power switching
hub 2-0:1.0: global over-current protection
hub 2-0:1.0: power on to power good time: 100ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: no over-current condition exists
hub 2-0:1.0: enabling power on all ports
drivers/usb/core/inode.c: creating file '001'
c67x00 platform drvdata is set
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
i8042.c: i8042 controller self test timeout.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 96k freed
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting debugfs:
Mounting /etc/config:
Populating /etc/config:
flatfsd: Created 4 configuration files (124 bytes)
Mounting sysfs:
Mounting usbfs:
Setting hostname:
Setting up interface lo:
Starting DHCP client:
Starting portmap:
Starting thttpd:
Thank you very much!
Sunny
On Fri, Dec 19, 2008 at 10:10 PM, Peter Korsgaard peter.korsgaard at barco.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.opencores.org/forums.cgi/usb/attachments/20081222/040c556d/attachment-0001.htm
wrote:
> "s" == sunnyliangjy sunnyliangjy at gmail.com> writes:
Hi,
s> I want to load a USB FLASH with CY7C67300.
s> My CY7C67300 USB controller is on a daughter board with a CY7C1069
s> SRAM to support it.
s> I set the CY7C67300 in HPI mode (PIN 39 and 40 is low).
s> I can see the C67x00 driver is successfully loaded from the embedded
s> linux log.
What exactly do you see in the log?
s> But nothing happen if I plug in a USB FLASH.
Does any other USB devices work (keyboard/mouse/..)? Have you enabled
USB mass storage support in the kernel?
s> I wonder whether I need a application to download to the CY7C67300
s> controller before I boot the system with embedded linux. And if I need
s> such an application, where can I find one?
You don't need any additional c67x00 software to use the Linux driver.
--
Bye, Peter Korsgaard
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
|
1/1