2009-02-19 15:53:02 BF527 EZ-Kit USB
Christopher Harrsen (UNITED STATES)
Message: 69653
I am attempting to use the USB port on the BF527 EZ-KIT. I have the console on UART 1. When I boot I get what is listed below. Why is UART 1 grabbing GPIO 29? UART 1 is on PF14/15? Thanks for any help.
## Booting image at 01000000 ...
Image Name: Linux-2.6.22.19-ADI-2008R1.5-svn
Created: 2009-01-28 22:05:47 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4256600 Bytes = 4.1 MB
Load Address: 00001000
Entry Point: 001aa000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 1aa000
Linux version 2.6.22.19-ADI-2008R1.5-svn (charrsen@charrsen-laptop) (gcc versio9early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 1
Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.1 detected
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-0x001343b0
rodata = 0x00135000-0x001926c0
data = 0x00193000-0x001aa000
stack = 0x00194000-0x00196000
init = 0x001aa000-0x007a9000
bss = 0x007a9000-0x007b8c70
available = 0x007b8c70-0x03eff000
DMA Zone = 0x03f00000-0x04000000
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 16002
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 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: 56024k/65536k RAM, (6140k init code, 1228k kernel code, 535k )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
stamp_init(): registering device resources
Generic PHY: Registered new driver
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, musb-dma, host, debug=0
bfin-gpio: GPIO 29 is already reserved as Peripheral by bfin-uart !
Hardware Trace:
0 Target : <0x00004658> { _dump_stack + 0x0 }
Source : <0x00005c76> { _gpio_request + 0xbe }
1 Target : <0x00005c76> { _gpio_request + 0xbe }
Source : <0x0000d222> { _printk + 0x16 }
2 Target : <0x0000d21e> { _printk + 0x12 }
Source : <0x0000d0d4> { _vprintk + 0x1b8 }
3 Target : <0x0000d0c8> { _vprintk + 0x1ac }
Source : <0x0000d0ba> { _vprintk + 0x19e }
4 Target : <0x0000d0b6> { _vprintk + 0x19a }
Source : <0x0000cf04> { _wake_up_klogd + 0x24 }
5 Target : <0x0000cee0> { _wake_up_klogd + 0x0 }
Source : <0x0000d61a> { _release_console_sem + 0x202 }
6 Target : <0x0000d60e> { _release_console_sem + 0x1f6 }
Source : <0x0000d600> { _release_console_sem + 0x1e8 }
7 Target : <0x0000d5f6> { _release_console_sem + 0x1de }
QuoteReplyEditDelete
2009-02-19 16:07:11 Re: BF527 EZ-Kit USB
Mike Frysinger (UNITED STATES)
Message: 69654
well, if you read the code ...
$ grep 29 arch/blackfin/mach-bf527/include/mach/gpio.h
#define GPIO_PG13 29
$ grep gpio_request drivers/usb/musb/blackfin.c
if (gpio_request(musb->config->gpio_vrsel, "USB_VRSEL")) {
$ grep gpio_vrsel arch/blackfin/mach-bf527/boards/ezkit.c
.gpio_vrsel = GPIO_PG13,
so if you then read the HRM and the BF527-EZKIT manual, you'll see you cant use UART1 (PG13 -> UART1RX) and USB (PG13 -> USB VRSEL) at the same time on this board
QuoteReplyEditDelete
2009-02-19 16:29:35 Re: BF527 EZ-Kit USB
Christopher Harrsen (UNITED STATES)
Message: 69655
I agree that UART1 CAN be pinned out on PG13/12. I have Rev. 1.4 of the EZ-KIT schematic and UART1TX is pinned out on PF14 and UART1RX is pinned out on PF15. This should leave PG13 for VRSEL.
Chris
QuoteReplyEditDelete
2009-02-19 16:42:36 Re: BF527 EZ-Kit USB
Mike Frysinger (UNITED STATES)
Message: 69657
if you want to move the UART1 settings, then you need to make the selection in the kernel configuration menu. it wont be selected automatically for you.
Blackfin Processor Options -> BF527 Specific Configuration -> .....
QuoteReplyEditDelete