I just received an OMAP 3530 EVM w/ mistral daughter board for wl1271.
I downloaded the recent setup linux, release notes, and WiFi/BT applications and drivers for OMAP 3530 DVSDK at:
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_4_00/latest/index_FDS.html
I followed all the instructions, got the board booting via nfs/tftpboot
I copied over the ti-bluetooth.tar.bz2, ti-wireless.tar.bzw, and ti-wlan-modules.tar.bz2 to the /opt target file system..
I installed them, and tried to run bluetooth demo:
root@omap3evm:/opt/ti-bluetooth/bluetooth_scripts# ./BT_Demo.sh
Starting BT Demo .......
/*
* #################################################
* Cleaning BT
* #################################################
*/
killall: obexftpd: no process killed
killall: hciattach: no process killed
killall: wl1271bt_enable: no process killed
!!!!!!!!!!! Start from the MAIN MENU !!!!!!!!!!!!!!!!!
/*
* #################################################
* Initialize BT
* #################################################
*/
Device Name: /dev/ttyS1
Set BT_EN of WL1271
WL1271: Powering on
Can't get device info: No such device
< HCI Command: ogf 0x3f, ocf 0x0106, plen 34
00 01 00 40 1F 00 00 01 00 00 00 00 10 00 00 00 01 10 00 00
00 00 00 10 00 10 00 01 10 00 10 00 00 00
Send failed: File descriptor in bad state
< HCI Command: ogf 0x3f, ocf 0x0107, plen 26
00 00 00 00 00 00 04 04 01 00 00 00 00 00 00 00 04 04 01 00
00 00 00 00 00 00
Send failed: File descriptor in bad state
Can't get default adapter
The name org.bluez was not provided by any .service files
+++++++++++++++++++++++++++++++++++++++++++++++++++++
MAIN NENU
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 - BT Scan Remote Devices
2 - BT Get capabilities of Remote Device
3 - OPP Test
4 - FTP Test
5 - HID Test
6 - HSP Test
7 - A2DP Test
8 - Pair Remote Device
9 - Unpair Remote Device
10 - Exit Without BT Shut Down
11 - Exit With BT Shut Down
====> Initialization timed out.
+++++++++++++++++++++++++++++++++++++++++++++++++++++
MAIN NENU
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 - BT Scan Remote Devices
2 - BT Get capabilities of Remote Device
3 - OPP Test
4 - FTP Test
5 - HID Test
6 - HSP Test
7 - A2DP Test
8 - Pair Remote Device
9 - Unpair Remote Device
10 - Exit Without BT Shut Down
11 - Exit With BT Shut Down
====> 1
/*
* ########### BT-Scan #############
* Scan for the remote BT devices
* #################################
*/
Device is not available: No such device
+++++++++++++++++++++++++++++++++++++++++++++++++++++
MAIN NENU
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 - BT Scan Remote Devices
2 - BT Get capabilities of Remote Device
3 - OPP Test
4 - FTP Test
5 - HID Test
6 - HSP Test
7 - A2DP Test
8 - Pair Remote Device
9 - Unpair Remote Device
10 - Exit Without BT Shut Down
11 - Exit With BT Shut Down
====> 11
/*
* #################################################
* Cleaning BT
* #################################################
*/
killall: obexftpd: no process killed
killall: hciattach: no process killed
Set BT_EN of WL1271
WL1271: Powering off
Soft Exit.......
????? not sure why
this is output above:
Can't get device info: No such device
< HCI Command: ogf 0x3f, ocf 0x0106, plen 34
00 01 00 40 1F 00 00 01 00 00 00 00 10 00 00 00 01 10 00 00
00 00 00 10 00 10 00 01 10 00 10 00 00 00
Send failed: File descriptor in bad state
< HCI Command: ogf 0x3f, ocf 0x0107, plen 26
00 00 00 00 00 00 04 04 01 00 00 00 00 00 00 00 04 04 01 00
00 00 00 00 00 00
Send failed: File descriptor in bad state
Can't get default adapter
The name org.bluez was not provided by any .service files
??????????
then i do:
oot@omap3evm:/opt/ti-bluetooth/sbin# ./wl1271bt_enable /dev/ttyS1 &
[1] - Done(127) wl1271bt_enable /dev/ttyS1
root@omap3evm:/opt/ti-bluetooth/sbin# Device Name: /dev/ttyS1
Set BT_EN of WL1271
WL1271: Powering on
oot@omap3evm:/# hciattach
hciattach - HCI UART driver initialization utility
Usage:
hciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow] [bdaddr]
hciattach -l
root@omap3evm:/# hciattach -l
any 0x0000,0x0000
ericsson 0x0000,0x0000
digi 0x0000,0x0000
bcsp 0x0000,0x0000
xircom 0x0105,0x080a
csr 0x0000,0x0000
bboxes 0x0160,0x0002
swave 0x0000,0x0000
texas 0x0000,0x0000
texasalt 0x0000,0x0000
st 0x0000,0x0000
stlc2500 0x0000,0x0000
philips 0x0000,0x0000
bgb2xx 0x0000,0x0000
picocard 0x025e,0x1000
inventel 0x0000,0x0000
comone 0xffff,0x0101
tdk 0x0105,0x4254
socket 0x0104,0x0096
3com 0x0101,0x0041
bt2000c 0x022d,0x2000
zoom 0x0279,0x950b
sitecom 0x0279,0x950b
billionton0x0279,0x950b
bcm2035 0x0a5c,0x2035
ath3k 0x0000,0x0000
qualcomm 0x0000,0x0000
root@omap3evm:/#
not sure what is wrong.........
then i read in the one of MANY docs that i may need to reboot, so i reboot, it hangs,
i power cycle and it hangs......
here is the boot sequence......
????????????????????it hangs on the last line??????????????????????????
any ideas????????????????????????????
IF replace filesystem with a clean one, EVM boots FINE..
the only thing i installed was the stuff for the WL1271 daugther board....
here is the boot sequence that hangs:::::
Texas Instruments X-Loader 1.46 (Jan 12 2011 - 23:48:51)
Starting X-loader on MMC
Reading boot sector
212880 Bytes Read from MMC
Starting OS Bootloader from MMC...
Starting OS Bootloader...
U-Boot 2009.11 (Jan 12 2011 - 23:49:00)
OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
I2C: ready
DRAM: 128 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Read back SMSC id 0xffff0000
Die ID #456800240000000004037b7009010017
Net: smc911x-0
Hit any key to stop autoboot: 0
smc911x: detected LAN9220 controller
smc911x: phy initialized
smc911x: MAC 00:50:c2:7e:95:e6
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.23.33
smc911x: detected LAN9220 controller
smc911x: phy initialized
smc911x: MAC 00:50:c2:7e:95:e6
Using smc911x-0 device
TFTP from server 192.168.23.80; our IP address is 192.168.23.33
Filename 'uImage-omap3evm.bin'.
Load address: 0x82000000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################################
done
Bytes transferred = 2542476 (26cb8c hex)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.32
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2542412 Bytes = 2.4 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux....................................................................................................................
Linux version 2.6.32 (kmbrzezowski@kmbrzezowski-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 Wed Feb 9 09:03:45 CST1
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Reserving 4194304 bytes SDRAM for VRAM
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25146
Kernel command line: console=ttyS0,115200n8 rw mem=99M@0x80000000 mpurate=720 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:3M rootp
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 99MB = 99MB total
Memory: 91064KB available (4452K code, 388K data, 180K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
This silicon doesn't support 720MHz
Target VDD1 OPP = 5, VDD2 OPP = 3
omap3evmdc: Driver registration complete
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VAUX2_4030: 2800 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
omap-iommu omap-iommu.0: isp registered
OMAP35x Linux PSP version 03.00.01.06 (OMAP3EVM)
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) ������ 2001-2006 Red Hat, Inc.
msgmni has been set to 178
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
WL1271: BT_EN GPIO initialized
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
brd: module loaded
loop: module loaded
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "xloader-nand"
0x000000080000-0x000000240000 : "uboot-nand"
0x000000240000-0x000000280000 : "params-nand"
0x000000280000-0x000000780000 : "linux-nand"
0x000000780000-0x000010000000 : "jffs2-nand"
OneNAND driver initializing
omap2-onenand omap2-onenand: Cannot request GPMC CS
omap2-onenand: probe of omap2-onenand failed with error -16
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
net eth0: MAC Address: 00:50:c2:7e:95:e6
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC a6:71:1e:8b:03:43
usb0: HOST MAC 26:b6:d5:3f:bb:75
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
usb usb2: SerialNumber: musb_hdrc
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
ads7846 spi1.0: touchscreen, irq 335
input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
omap-iommu omap-iommu.0: isp: version 1.1
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
usbcore: registered new interface driver snd-usb-audio
No device for DAI wl1271bt
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3 EVM SoC init
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
asoc: wl1271bt <-> omap-mcbsp-dai-1 mapping ok
ALSA device list:
#0: omap3evm (twl4030)
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1425 buckets, 5700 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Power Management for TI OMAP3.
Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
IVA2 clocking rate: 430 MHz
SmartReflex driver initialized
HELP PLEASE.
THANK YOU!!!!!
KB