реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> uclinux+bf537+uart+flowcontrol
cpl
сообщение Sep 6 2007, 19:39
Сообщение #1


Местный
***

Группа: Свой
Сообщений: 378
Регистрация: 6-12-04
Пользователь №: 1 340



Привествую
Решил подключить к bf537STAMP gprs modem под uClinux,
без flow control необойтись, сконфигурирывал ядро, собрал, запустил, при загрузке на плате ругается что конфликт с GPIO....

bfin-gpio: Possible Conflict with Peripheral usage and GPIO 0 detected!
bfin-gpio: GPIO 0 is already reserved!


│ │[*] Console on Blackfin serial port
│ │ Blackfin UART Mode (Blackfin UART PIO mode) --->
│ │[*] Enable UART0
│ │[ ] Enable UART0 hardware flow control
│ │[*] Enable UART1
│ │[*] Enable UART1 hardware flow control
│ │(6) UART1 CTS pin
│ │(4) UART1 RTS pin

Loading .text @ 0x00001000 (1098812 bytes)
Loading .init @ 0x0010d43c (62832 bytes)
Loading .text_l1 @ 0xffa00000 (8516 bytes)
sh_addr: FFA00000, p_paddr: 0011C9AC
Loading from: 0111D000 to 0011C9AC, size: 8516
Loading .data @ 0x0011eaf0 (222268 bytes)
Clearing .bss @ 0x00154f30 (57308 bytes)
Loading .romfs @ 0x00162f0c (10485760 bytes)
## Starting application at 0x00001000 ...
Linux version 2.6.19.3-ADI-2007R1.1-svn (root@debian) (gcc version 4.1.1 (ADI 07Warning: limiting memory to 53MB due to hardware anomaly 05000263
Blackfin support © 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 Mhz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x0010d43c
init = 0x0010e000-0x0011c9ac
data = 0x0011eaf0-0x00154f2c
stack = 0x00120000-0x00122000
bss = 0x00154f30-0x00162f0c
available = 0x00162f0c-0x03500000
rootfs = 0x03500000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Instruction Cache Enabled
Data Cache Enabled (write-through)
Hardware Trace Enabled
Built 1 zonelists. Total pages: 13462
Kernel command line: root=/dev/mtdblock0 rw console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-gpio: Possible Conflict with Peripheral usage and GPIO 0 detected!
bfin-gpio: GPIO 0 is already reserved!
Hardware Trace:
0 Target : <0x00004620> { _dump_stack + 0x0 }
Source : <0x0000582c> { _gpio_request + 0x6c }
1 Target : <0x0000582c> { _gpio_request + 0x6c }
Source : <0x0000ccc2> { _printk + 0x16 }
2 Target : <0x0000ccbe> { _printk + 0x12 }
Source : <0x0000cb4c> { _vprintk + 0x1b0 }
3 Target : <0x0000cb40> { _vprintk + 0x1a4 }
Source : <0x0000cb32> { _vprintk + 0x196 }
4 Target : <0x0000cb2c> { _vprintk + 0x190 }
Source : <0x0000ceea> { _release_console_sem + 0x42 }
5 Target : <0x0000cee2> { _release_console_sem + 0x3a }
Source : <0x0000d0aa> { _release_console_sem + 0x202 }
6 Target : <0x0000d08a> { _release_console_sem + 0x1e2 }
Source : <0x0000d07c> { _release_console_sem + 0x1d4 }
7 Target : <0x0000d072> { _release_console_sem + 0x1ca }
Source : <0x0000d064> { _release_console_sem + 0x1bc }
8 Target : <0x0000d044> { _release_console_sem + 0x19c }
Source : <0x0000cf2a> { _release_console_sem + 0x82 }
9 Target : <0x0000cefa> { _release_console_sem + 0x52 }
Source : <0x0000d026> { _release_console_sem + 0x17e }
10 Target : <0x0000d020> { _release_console_sem + 0x178 }
Source : <0x0000c88e> { __call_console_drivers + 0x62 }
11 Target : <0x0000c888> { __call_console_drivers + 0x5c }
Source : <0x0000c854> { __call_console_drivers + 0x28 }
12 Target : <0x0000c82c> { __call_console_drivers + 0x0 }
Source : <0x0000d01c> { _release_console_sem + 0x174 }
13 Target : <0x0000d012> { _release_console_sem + 0x16a }
Source : <0x0000cfb0> { _release_console_sem + 0x108 }
14 Target : <0x0000cfaa> { _release_console_sem + 0x102 }
Source : <0x0000c88e> { __call_console_drivers + 0x62 }
15 Target : <0x0000c888> { __call_console_drivers + 0x5c }
Source : <0x0000c854> { __call_console_drivers + 0x28 }
Stack from 00121f60:
00000000 00005830 00160230 0000ffff ffc0320c 00000000 00000000 00119192
000000bc 00156a04 ff900000 00000000 00160218 00122000 00119228 0011c920
0011c920 00162f0c ff900000 00000000 00000000 00000000 00122ff8 0000001f
0010e50e 001188e6 00113c96 0010e512 00156a04 0010e534 00156a04 00000000
00000000 00154f34 0000001f 0000000d 0010e164 00155f14 000011f6 00000000
Call Trace:

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Physical pages: 3500
Memory available: 52224k/64389k RAM, (58k init code, 1073k kernel code, 55k dat)Blackfin Scratchpad data SRAM: 4 KB
Blackfin DATA_A SRAM: 16 KB
Blackfin DATA_B SRAM: 16 KB
Blackfin Instruction SRAM: 48 KB
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
pfx: pfbits driver for bf5xx
Dynamic Power Management Controller Driver v0.1: major=10, minor = 254
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 20) is a BFIN-UART
bfin-sport-uart.0: ttySS0 at MMIO 0xffc00800 (irq = 12) is a SPORT0
bfin-sport-uart.1: ttySS1 at MMIO 0xffc00900 (irq = 14) is a SPORT1
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Blackfin mac net device registered
uclinux[mtd]: RAM probe address=0x3500000 size=0xa00000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00a00000 : "ROMfs"
uclinux[mtd]: set ROMfs:EXT2 to be root filesystem
rtc-bfin rtc-bfin: rtc intf: sysfs
rtc-bfin rtc-bfin: rtc intf: proc
rtc-bfin rtc-bfin: rtc intf: dev (254:0)
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
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 12:11:54 (43914)
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 56k freed (0x10e000 - 0x11b000)

Welcome to:
____ _ _
/ __| ||_| _ _
_ _| | | | _ ____ _ _ \ \/ /
| | | | | | || | _ \| | | | \ /
| |_| | |__| || | | | | |_| | / \
| ___\____|_||_|_| |_|\____|/_/\_\
|_|

For further information see:
http://www.uclinux.org/
http://blackfin.uclinux.org/

BusyBox v1.4.1 (2007-09-05 07:30:59 MSD) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:~>

непойму куда копать, кто нибудь сталкивался с подобным ?
maniac.gif wacko.gif
Go to the top of the page
 
+Quote Post
3.14
сообщение Sep 7 2007, 08:16
Сообщение #2


Их либе дих ...
******

Группа: СуперМодераторы
Сообщений: 2 010
Регистрация: 6-09-04
Из: Russia, Izhevsk
Пользователь №: 609



Сначала, убедитесь что коннект с модемом имеете, например tip /dev/ttyS0, если AT ходят нормально, тогда можно приступать PPP.
Как минимум нужно утсройство /dev/ppp , если его нет, должна быть поддержка PPP в ядре и собственно сам PPP демон.


--------------------
Усы, борода и кеды - вот мои документы :)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 22nd August 2025 - 04:43
Рейтинг@Mail.ru


Страница сгенерированна за 0.01359 секунд с 7
ELECTRONIX ©2004-2016