2008-06-22 22:05:08 561 and isp1362
sima sima (UNITED STATES)
Message: 57691
Hi everyone:
I am working with BF561 EZKIT board with Linux version 2.6.16.11 (2006R1)& USB Extender add on card for isp1362. I have selected PF46 for GPIO interrupt. when I connect a USB pan ,I got some problems
I have pasted the displayed messages below. Please suggest.
CPU: ADSP bf561-0.3 (Detected Rev: 0.5)
Board: BF561 Easyview board
Support: http://blackfin.uclinux.org/
Clock: VCO: 575 MHz, Core: 575 MHz, System: 143 MHz
RAM: 128 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
NAND: 256 MiB
Net: MAC: 00:89:77:88:89:88
Hit any key to stop autoboot: 0
u-boot> run nfsboot
Found DM9000 or dm9010 ID:90000a46 at address 2c000000 !
DM9000 work in 16 bus width
PHY is autonegotiating now, pls waiting ...
operating at 100M full duplex mode
[eth_init]MAC 00 89 77 88 89 88
TFTP from server 192.168.7.45; our IP address is 192.168.7.233
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################
done
Bytes transferred = 3241384 (3175a8 hex)
## Booting image at 01000000 ...
Image Name: uClinux Kernel and Filesystem
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 3241320 Bytes = 3.1 MB
Load Address: 00100000
Entry Point: 00100000
Verifying Checksum ... OK
Uncompressing Kernel Image ... **********************************************
********************************************************************************
********************************************************************************
************************OK
Starting Kernel at = 100000
﨤inux version 2.6.16.11.ADI-2006R1blackfin (root@localhost.localdomain) (gcc ve
rsion 3.4.5 (ADI 2006R1)) #500 Thu Jun 19 22:25:53 CST 2008
The value of AEC IC mic_pgagain is 0x3005
MTD_SIZE = 0x1100000!
Blackfin support (C) 2004 Analog Devices, Inc.
ADSP-BF561 Rev. 0.1280
uClinux/BF561
Blackfin uClinux support by blackfin.uclinux.org
Processor Speed: 575 MHz core clock and 143 Mhz System Clock
Board Memory: 45MB
Memory map:
text = 0x100000-0x260b80
data = 0x27bb6c-0x2af1bc
bss = 0x2af1c0-0x349df4
memory = 0x34a000-0x1b00000
rootfs = 0x1b00000-0x2c00000
stack = 0x27c000-0x27e000
Command line: 'root=/dev/mtdblock0 rw'
Instruction Cache Enabled
Data Cache Enabled (write-through)
Hardware Trace Enabled
Built 1 zonelists
Kernel command line: root=/dev/mtdblock0 rw
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 128 (order: 7, 2048 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Physical pages: 1b00
Memory available: 24024k/43537k RAM, (52k init code, 1410k kernel code, 619k dat
a, 18432k dma)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin DATA_A SRAM: 16 KB
Blackfin DATA_B SRAM: 16 KB
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin DMA Controller for BF561
bfin_isp1362_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NTFS driver 2.1.26 [Flags: R/W DEBUG].
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Jun 18 2008 22:51:58 Installing.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler cfq registered (default)
ADI Video Driver v1.10e
Programming ADV7181...
Configured for ADV7181B
PAL Camera found [4]
ADI KeyPad Driver v1.10e
ADI Audio Driver v1.45e
Configuring Audio Ineterrupts...
Audio: IRQ 71 is installed successfully.
Audio: IRQ 30 is installed successfully.
enable_irq(71) unbalanced from 001b2340
enable_irq(30) unbalanced from 001b2346
Configuring Audio Ineterrupts completed
Core B Loader Module enabled
LcdDriver v1.10e
BlackFin BF533 serial driver version 2.00 With DMA Support
RAMDISK driver initialized: 8 RAM disks of 4096K size 1024 blocksize
usbcore: registered new driver ub
Starting to initiate DM9000A...
<DM9KS> I/O: 2c000000, VID: 90000a46
id_val=0
PPP generic driver version 2.4.2
uclinux[mtd]: RAM probe address=0x1b00000 size=0x1100000
Creating 1 MTD partitions on "RAM":
0x00000000-0x01100000 : "EXT2fs"
uclinux[mtd]: set EXT2fs to be root filesystem
BF5xx flash: probing 16-bit flash bus
BF5xx flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
BF5xx flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Using static partition definition
Creating 4 MTD partitions on "BF5xx flash":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00700000 : "Kernel1"
0x00700000-0x00e00000 : "Kernel2"
0x00e00000-0x01000000 : "JFFS2"
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi
t)
Scanning device for bad blocks
Bad eraseblock 257 at 0x02020000
Bad eraseblock 1370 at 0x0ab40000
Bad eraseblock 1690 at 0x0d340000
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x02000000 : "Userinfo"
0x02000000-0x40000000 : "Yaffs"
mtd: partition "Yaffs" extends beyond the end of device "NAND 256MiB 3,3V 8-bit"
-- size truncated to 0xe000000
usbmon: debugfs is not available
driver isp1362-hcd, 2005-04-04
Blackfin GPIO interrupt setup: flag PF46, irq 58
isp1362-hcd isp1362-hcd.0: ISP1362 Host Controller
isp1362-hcd isp1362-hcd.0: new USB bus registered, assigned bus number 1
isp1362_hc_reset:
isp1362-hcd isp1362-hcd.0: irq 58, io mem 0x28000000
isp1362_hc_start:
isp1362-hcd isp1362-hcd.0: ISP1362 Memory usage:
isp1362-hcd isp1362-hcd.0: ISTL: 2 * 256: 512 @ $0000:$0100
isp1362-hcd isp1362-hcd.0: INTL: 16 * ( 64+8): 1152 @ $0200
isp1362-hcd isp1362-hcd.0: ATL : 32 * ( 64+8): 2304 @ $0680
isp1362-hcd isp1362-hcd.0: USED/FREE: 3968 128
usb usb1: Product: ISP1362 Host Controller
usb usb1: Manufacturer: Linux 2.6.16.11.ADI-2006R1blackfin isp1362-hcd
usb usb1: SerialNumber: isp1362-hcd.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ISP1362 Host Controller, irq 58
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 52k freed (0x261000 - 0x26d000)
dma_alloc_init: dma_page @ 0x01af6000 - 256 pages at 0x02c00000
yaffs: dev is 32505861 name is "mtdblock5"
yaffs: Attempting MTD mount on 31.5, "mtdblock5"
yaffs: auto selecting yaffs2
yaffs: dev is 32505862 name is "mtdblock6"
yaffs: Attempting MTD mount on 31.6, "mtdblock6"
yaffs: auto selecting yaffs2
block 2 is bad
block 1115 is bad
block 1435 is bad
Set eth0 to MAC address 00:73:25:69:98:e5
Easyview ethernet interrupt setup.
Spent 6412 ms to negotiate, Operating at unknown: 15, 16 bus width mode
PPPoE options file exits in flash
I am setting local IP
Welcome to:
____ _ _
/ __| ||_| _ _
_ _| | | | _ ____ _ _ \ \/ /
| | | | | | || | _ \| | | | \ /
| |_| | |__| || | | | | |_| | / \
| ___\____|_||_|_| |_|\____|/_/\_\
|_|
For further information see:
********************************************************************************
***
***************************** IMAGE III **************************
***
********************************************************************************
***
BusyBox v1.00 (2007.04.11-12:22+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:~> //( now I insert a USB pan and got the following message)
usb 1-2: new full speed USB device using isp1362-hcd and address 2
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new full speed USB device using isp1362-hcd and address 3
usb 1-2: device descriptor read/64, error -110
usb 1-2: new full speed USB device using isp1362-hcd and address 4
usb 1-2: device descriptor read/64, error -110
usb 1-2: new full speed USB device using isp1362-hcd and address 5
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
I know the error -110 is meaning time out ,and i measured the pin 38 CLKOUT of the isp1362,I got a 12M clock frequency.
Thanks a lot!