This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MOD: Bluetooth communication fail on uart5 on am3358 based custom board

Part Number: WL1835MOD
Other Parts Discussed in Thread: AM3358, WL1835

hello,

we have interface wl1835 wifi chip with out am3358 based custom board and ping google successfully.

now i am interfacing Bluetooth on UART 5

i am following

https://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Getting_Started_Guide

i have configure UART 5 something like

	uart5_pins: uart5_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x908, PIN_INPUT_PULLUP | MUX_MODE3) /* (H16) gmii1_col.uart5_rxd */
			AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* (H18) rmii1_refclk.uart5_txd */
			AM33XX_IOPAD(0x90c, PIN_INPUT | MUX_MODE5) /* (H17) gmii1_crs.uart5_ctsn */
			AM33XX_IOPAD(0x910, PIN_OUTPUT_PULLDOWN | MUX_MODE5) /* (J15) gmii1_rxer.uart5_rtsn */
		>;
	};



&uart5 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart5_pins>;
	uart-has-rtscts;		//fsl,uart-has-rtscts;
	status = "okay";

	bluetooth {
		compatible = "ti,wl1835-st","ti,wl1835";
	//	enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
	};




in dtsi file i have changed 

uart5: serial@481aa000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart6";
			clock-frequency = <48000000>;
			reg = <0x481aa000 0x2000>;
			interrupts = <46>;
			status = "okay";
			dmas = <&edma 3 1>, <&edma 4 1>;
			dma-names = "tx", "rx", "rts", "cts";
		};

i am getting bluetooth communication log at board boot time

Arago Project http://arago-project.org am335x-evm ttyS0                         
                                                                                
Arago 2019.07 am335x-evm ttyS0                                                  
                                                                                
am335x-evm login:                                                               
U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Feb 25 2020 - 17:17:00 +0530)             
Trying to boot from MMC1                                                        
                                                                                
                                                                                
U-Boot 2019.01-g1ebdbc7d8b-dirty (Feb 25 2020 - 17:17:00 +0530)                 
                                                                                
 *********************** Aarohi02 ***********************                       
CPU  : AM335X-GP rev 2.1                                                        
Model: TI AM335x EVM                                                            
DRAM:  1 GiB                                                                    
NAND:  0 MiB                                                                    
MMC:   OMAP SD/MMC: 0                                                           
Loading Environment from FAT... *** Warning - bad CRC, using default environment
                                                                                
<ethaddr> not set. Validating first E-fuse MAC                                  
Net:   Could not get PHY for ethernet@4a100000: addr 0                          
eth0: ethernet@4a100000                                                         
Warning: usb_ether MAC addresses don't match:                                   
Address in ROM is          de:ad:be:ef:00:01                                    
Address in environment is  04:79:b7:03:11:1b                                    
, eth1: usb_ether                                                               
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0 is current device                                                          
SD/MMC found on device 0                                                        
** Unable to read file boot.scr **                                              
264 bytes read in 1 ms (257.8 KiB/s)                                            
Loaded env from uEnv.txt                                                        
Importing environment from mmc0 ...                                             
Running uenvcmd ...                                                             
4375040 bytes read in 287 ms (14.5 MiB/s)                                       
## Flattened Device Tree blob at 88000000                                       
   Booting using the fdt blob at 0x88000000                                     
   Loading Device Tree to 8fff3000, end 8ffff5bd ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0                                
[    0.000000] Linux version 4.19.59-g5f8c1c6121 (raju@Raju-PC) (gcc version 8.0
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d  
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK                         
[    0.000000] Memory policy: Data cache writeback                              
[    0.000000] efi: Getting EFI parameters from FDT:                            
[    0.000000] efi: UEFI not found.                                             
[    0.000000] cma: Reserved 48 MiB at 0xbd000000                               
[    0.000000] CPU: All CPU(s) started in SVC mode.                             
[    0.000000] AM335X ES2.1 (sgx neon)                                          
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 wit0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416    
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 4
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) 
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)   
[    0.000000] Memory: 975324K/1048576K available (9216K kernel code, 314K rwda)
[    0.000000] Virtual kernel memory layout:                                    
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)                
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)                
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)               
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)                
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 315 kB)                
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 264 kB)                
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1       
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                
[    0.000000]  Tasks RCU enabled.                                              
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                  
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrus
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
[    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
[    0.000034] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
[    0.000045] OMAP clocksource: timer1 at 24000000 Hz                          
[    0.000200] timer_probe: no matching timers found                            
[    0.000372] Console: colour dummy device 80x30                               
[    0.000399] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
[    0.000406] This ensures that you still see kernel messages. Please          
[    0.000411] update your kernel commandline.                                  
[    0.000464] Calibrating delay loop (skipped) preset value.. 718.02 BogoMIPS )
[    0.000481] pid_max: default: 32768 minimum: 301                             
[    0.000671] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
[    0.000688] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) 
[    0.001455] CPU: Testing write buffer coherency: ok                          
[    0.001519] CPU0: Spectre v2: using BPIALL workaround                        
[    0.002338] Setting up static identity map for 0x80100000 - 0x80100060       
[    0.002482] rcu: Hierarchical SRCU implementation.                           
[    0.002794] EFI services will not be available.                              
[    0.004087] devtmpfs: initialized                                            
[    0.011493] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
[    0.011862] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.011885] futex hash table entries: 256 (order: -1, 3072 bytes)            
[    0.015271] pinctrl core: initialized pinctrl subsystem                      
[    0.015993] DMI not present or invalid.                                      
[    0.016427] NET: Registered protocol family 16                               
[    0.018556] DMA: preallocated 256 KiB pool for atomic coherent allocations   
[    0.024285] omap_hwmod: mcasp1: no dt node                                   
[    0.024306] ------------[ cut here ]------------                             
[    0.024344] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2409 8
[    0.024350] omap_hwmod: mcasp1: doesn't have mpu register target base        
[    0.024357] Modules linked in:                                               
[    0.024376] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.59-g5f8c1c6121 #4   
[    0.024383] Hardware name: Generic AM33XX (Flattened Device Tree)            
[    0.024390] Backtrace:                                                       
[    0.024412] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18)
[    0.024424]  r7:00000009 r6:00000000 r5:c0bc6b70 r4:ee885de4                 
[    0.024440] [<c010cebc>] (show_stack) from [<c0947694>] (dump_stack+0x24/0x2)
[    0.024460] [<c0947670>] (dump_stack) from [<c012aab8>] (__warn+0xe0/0xf8)   
[    0.024473] [<c012a9d8>] (__warn) from [<c012a710>] (warn_slowpath_fmt+0x50/)
[    0.024484]  r9:c0d3d820 r8:00000000 r7:c0e0a2c0 r6:00000000 r5:c0bc7100 r4:8
[    0.024497] [<c012a6c4>] (warn_slowpath_fmt) from [<c0d0b724>] (_init.constp)
[    0.024505]  r3:c0bc85e8 r2:c0bc7100                                         
[    0.024512]  r5:00000000 r4:c0e0a288                                         
[    0.024524] [<c0d0b578>] (_init.constprop.21) from [<c0d0bb80>] (__omap_hwmo)
[    0.024535]  r10:00000003 r9:c0d3d820 r8:00000000 r7:c0d0bb38 r6:ffffe000 r50
[    0.024541]  r4:c0e0a288                                                     
[    0.024557] [<c0d0bb38>] (__omap_hwmod_setup_all) from [<c0102640>] (do_one_)
[    0.024564]  r5:c0e03048 r4:c0e4e900                                         
[    0.024587] [<c01025bc>] (do_one_initcall) from [<c0d00f2c>] (kernel_init_fr)
[    0.024598]  r8:c0d3d840 r7:c0e4e900 r6:c0e4e900 r5:c0d503c4 r4:c0cac6a4     
[    0.024617] [<c0d00de4>] (kernel_init_freeable) from [<c095b970>] (kernel_in)
[    0.024627]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r50
[    0.024634]  r4:00000000                                                     
[    0.024644] [<c095b960>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14)
[    0.024652] Exception stack(0xee885fb0 to 0xee885ff8)                        
[    0.024662] 5fa0:                                     00000000 00000000 00000
[    0.024673] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000
[    0.024683] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000      
[    0.024691]  r5:c095b960 r4:00000000                                         
[    0.024706] ---[ end trace a3943eeea60c08ae ]---                             
[    0.036503] l4_wkup_cm:clk:0010:0: failed to disable                         
[    0.077558] cpuidle: using governor ladder                                   
[    0.077594] cpuidle: using governor menu                                     
[    0.082335] OMAP GPIO hardware version 0.1                                   
[    0.091726] No ATAGs?                                                        
[    0.091745] hw-breakpoint: debug architecture 0x4 unsupported.               
[    0.104705] edma 49000000.edma: TI EDMA DMA engine driver                    
[    0.106198] v1_8d: supplied by vbat                                          
[    0.106472] v3_3d: supplied by vbat                                          
[    0.108746] SCSI subsystem initialized                                       
[    0.109396] media: Linux media interface: v0.10                              
[    0.109441] videodev: Linux video capture interface: v2.00                   
[    0.109528] pps_core: LinuxPPS API ver. 1 registered                         
[    0.109537] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.109557] PTP clock support registered                                     
[    0.109589] EDAC MC: Ver: 3.0.0                                              
[    0.110632] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
[    0.111224] Advanced Linux Sound Architecture Driver Initialized.            
[    0.111768] Bluetooth: Core ver 2.22                                         
[    0.111825] NET: Registered protocol family 31                               
[    0.111833] Bluetooth: HCI device and connection manager initialized         
[    0.111847] Bluetooth: HCI socket layer initialized                          
[    0.111856] Bluetooth: L2CAP socket layer initialized                        
[    0.111885] Bluetooth: SCO socket layer initialized                          
[    0.112517] clocksource: Switched to clocksource timer1                      
[    0.120305] NET: Registered protocol family 2                                
[    0.121081] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096)
[    0.121112] TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
[    0.121181] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
[    0.121247] TCP: Hash tables configured (established 8192 bind 8192)         
[    0.121372] UDP hash table entries: 512 (order: 1, 8192 bytes)               
[    0.121396] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)          
[    0.121542] NET: Registered protocol family 1                                
[    0.122101] RPC: Registered named UNIX socket transport module.              
[    0.122113] RPC: Registered udp transport module.                            
[    0.122119] RPC: Registered tcp transport module.                            
[    0.122125] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    0.123166] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
[    0.124401] Initialise system trusted keyrings                               
[    0.124748] workingset: timestamp_bits=14 max_order=18 bucket_order=4        
[    0.128975] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    0.129714] NFS: Registering the id_resolver key type                        
[    0.129765] Key type id_resolver registered                                  
[    0.129773] Key type id_legacy registered                                    
[    0.129812] ntfs: driver 2.1.32 [Flags: R/O].                                
[    0.134904] Key type asymmetric registered                                   
[    0.134920] Asymmetric key parser 'x509' registered                          
[    0.134992] bounce: pool size: 64 pages                                      
[    0.135061] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    0.135074] io scheduler noop registered                                     
[    0.135082] io scheduler deadline registered                                 
[    0.135328] io scheduler cfq registered (default)                            
[    0.135339] io scheduler mq-deadline registered                              
[    0.135347] io scheduler kyber registered                                    
[    0.137094] pinctrl-single 44e10800.pinmux: 142 pins, size 568               
[    0.140213] pwm-backlight backlight: backlight supply power not found, usingr
[    0.140310] pwm-backlight backlight: Linked as a consumer to regulator.0     
[    0.185481] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled         
[    0.189191] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
[    1.077506] console [ttyS0] enabled                                          
[    1.082063] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud =0
[    1.091877] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 32, base_baud =0
[    1.100859] serial serial0: tty port ttyS5 registered                        
[    1.107782] omap_rng 48310000.rng: Random Number Generator ver. 20           
[    1.114195] random: fast init done                                           
[    1.117811] random: crng init done                                           
[    1.123265] tilcdc-panel panel: found backlight                              
[    1.128138] OF: graph: no port node found in /ocp/lcdc@4830e000              
[    1.134480] OF: graph: no port node found in /ocp/lcdc@4830e000              
[    1.140902] OF: graph: no port node found in /ocp/lcdc@4830e000              
[    1.146913] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
[    1.153569] [drm] No driver support for vblank timestamp query.              
[    1.204341] Console: switching to colour frame buffer device 60x34           
[    1.228245] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device      
[    1.235461] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on min0
[    1.254269] brd: module loaded                                               
[    1.263906] loop: module loaded                                              
[    1.269554] libphy: Fixed MDIO Bus: probed                                   
[    1.342572] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 0
[    1.350284] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
[    1.357535] libphy: 4a101000.mdio: probed                                    
[    1.361577] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, drit
[    1.371837] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixedy
[    1.380292] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.        
[    1.386833] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave     
[    1.393604] cpsw 4a100000.ethernet: Detected MACID = 04:79:b7:03:11:19       
[    1.400278] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4         
[    1.406708] cpsw 4a100000.ethernet: ALE Table size 1024                      
[    1.411984] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.419992] cpsw 4a100000.ethernet: cpsw: Detected MACID = 04:79:b7:03:11:1b 
[    1.428358] i2c /dev entries driver                                          
[    1.433015] Bluetooth: HCI UART driver ver 2.3                               
[    1.437487] Bluetooth: HCI UART protocol H4 registered                       
[    1.444054] Bluetooth: HCI UART protocol LL registered                       
[    1.449393] Bluetooth: HCI UART protocol Three-wire (H5) registered          
[    1.455970] Bluetooth: HCI UART protocol Broadcom registered                 
[    1.462934] cpuidle: enable-method property 'ti,am3352' found operations     
[    1.470137] sdhci: Secure Digital Host Controller Interface driver           
[    1.476447] sdhci: Copyright(c) Pierre Ossman                                
[    1.481574] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000)
[    1.490423] omap_hsmmc 48060000.mmc: Got CD GPIO                             
[    1.496700] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    1.504077] ledtrig-cpu: registered to indicate activity on CPUs             
[    1.514484] NET: Registered protocol family 10                               
[    1.520301] Segment Routing with IPv6                                        
[    1.524258] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver              
[    1.530909] NET: Registered protocol family 17                               
[    1.535791] Key type dns_resolver registered                                 
[    1.540392] omap_voltage_late_init: Voltage driver support not added         
[    1.547722] Loading compiled-in X.509 certificates                           
[    1.592751] tps65910 0-002d: No interrupt support, no core IRQ               
[    1.600413] vrtc: supplied by vbat                                           
[    1.607471] vio: supplied by vbat                                            
[    1.612226] vdd1: supplied by vbat                                           
[    1.617354] vdd2: supplied by vbat                                           
[    1.623765] vdig1: supplied by vbat                                          
[    1.628544] vdig2: supplied by vbat                                          
[    1.633323] vpll: supplied by vbat                                           
[    1.638006] vdac: supplied by vbat                                           
[    1.642714] vaux1: supplied by vbat                                          
[    1.647496] vaux2: supplied by vbat                                          
[    1.652246] vaux33: supplied by vbat                                         
[    1.657124] vmmc: supplied by vbat                                           
[    1.661788] vbb: supplied by vbat                                            
[    1.666561] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz                  
[    1.672630] cpu cpu0: Linked as a consumer to regulator.9                    
[    1.678091] Bluetooth: hci0: Failed to get CTS                               
[    1.682693] cpu cpu0: Dropping the link to regulator.9                       
[    1.688027] cpu cpu0: Linked as a consumer to regulator.9                    
[    1.694996] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000)
[    1.703902] omap_hsmmc 48060000.mmc: Got CD GPIO                             
[    1.709075] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.19    
[    1.745336] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.6     
[    1.785308] mmc0: host does not support reading read-only switch, assuming we
[    1.795633] mmc0: new high speed SDHC card at address 59b4                   
[    1.803415] mmcblk0: mmc0:59b4 00000 7.48 GiB                                
[    1.811196]  mmcblk0: p1 p2                                                  
[    1.869545] hctosys: unable to open rtc device (rtc0)                        
[    1.876114] lis3_reg: disabling                                              
[    1.879372] v1_8d: disabling                                                 
[    1.882310] v3_3d: disabling                                                 
[    1.885495] ALSA device list:                                                
[    1.888528]   No soundcards found.                                           
[    1.892333] omap_hsmmc 47810000.mmc: card claims to support voltages below de
[    1.902475] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 sum
[    1.921125] mmc1: new high speed SDIO card at address 0001                   
[    2.069622] EXT4-fs (mmcblk0p2): recovery complete                           
[    2.161871] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
[    2.170281] VFS: Mounted root (ext3 filesystem) on device 179:2.             
[    2.187265] devtmpfs: mounted                                                
[    2.191750] Freeing unused kernel memory: 1024K                              
[    2.196911] Run /sbin/init as init process                                   
[    2.619926] systemd[1]: System time before build time, advancing clock.      
[    2.675223] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SE)
[    2.697508] systemd[1]: Detected architecture arm.                           
                                                                                
Welcome to Arago 2019.07!                                                       
                                                                                
[    2.743984] systemd[1]: Set hostname to <am335x-evm>.                        
[    3.274920] systemd[1]: File /lib/systemd/system/systemd-journald.service:36.
[    3.292235] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warn)
[    3.382784] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown '
[    3.876289] systemd[1]: Listening on Process Core Dump Socket.               
[  OK  ] Listening on Process Core Dump Socket.                                 
[    3.914238] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[  OK  ] Listening on initctl Compatibility Named Pipe.                         
[    3.963946] systemd[1]: Created slice system-getty.slice.                    
[  OK  ] Created slice system-getty.slice.                                      
[    3.997926] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[  OK  ] Created slice system-serial\x2dgetty.slice.                            
[  OK  ] Reached target Remote File Systems.                                    
[  OK  ] Listening on Network Service Netlink Socket.                           
[  OK  ] Listening on Journal Socket (/dev/log).                                
[  OK  ] Started Forward Password Requests to Wall Directory Watch.             
[  OK  ] Reached target Swap.                                                   
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.         
[  OK  ] Listening on Journal Socket.                                           
         Starting Load Kernel Modules...                                        
         Starting Create list of required st��…ce nodes for the current kernel..
[    4.309551] cryptodev: loading out-of-tree module taints kernel.             
         Starting Remount Root and Kernel File Systems...                       
[    4.335949] cryptodev: driver 1.9 loaded.                                    
         Starting Journal Service...                                            
[    4.411216] usbcore: registered new interface driver usbfs                   
         Mounting Kernel Debug File System...                                   
[    4.477086] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)                    
         Mounting Temporary Directory (/tmp)...                                 
[    4.502857] usbcore: registered new interface driver hub                     
[    4.530515] usbcore: registered new device driver usb                        
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.                          
[  OK  ] Created slice User and Session Slice.                                  
[  OK  ] Reached target Slices.                                                 
[    4.599765] usbcore: registered new interface driver ftdi_sio                
         Mounting POSIX Message Queue File System...                            
[  OK  ] Listening on udev Control Socket.                                      
[  OK  ] Reached target Paths.                                                  
[  OK  ] Listening on udev Kernel Socket.                                       
[    4.634381] usbserial: USB Serial support registered for FTDI USB Serial Deve
         Starting udev Coldplug all Devices...                                  
[  OK  ] Started Create list of required sta��…vice nodes for the current kerne.
[  OK  ] Started Load Kernel Modules.                                           
[  OK  ] Started Remount Root and Kernel File Systems.                          
[  OK  ] Mounted Kernel Debug File System.                                      
[  OK  ] Mounted Temporary Directory (/tmp).                                    
[  OK  ] Mounted POSIX Message Queue File System.                               
         Starting Apply Kernel Variables...                                     
         Mounting Kernel Configuration File System...                           
         Starting Create Static Device Nodes in /dev...                         
[  OK  ] Started Journal Service.                                               
[FAILED] Failed to start Apply Kernel Variables.                                
See 'systemctl status systemd-sysctl.service' for details.                      
[  OK  ] Mounted Kernel Configuration File System.                              
         Starting Flush Journal to Persistent Storage...                        
[  OK  ] Started Create Static Device Nodes in /dev.                            
[    5.274956] systemd-journald[85]: Received request to flush runtime journal 1
         Starting udev Kernel Device Manager...                                 
[  OK  ] Reached target Local File Systems (Pre).                               
         Mounting /media/ram...                                                 
         Mounting /var/volatile...                                              
[  OK  ] Reached target Containers.                                             
[  OK  ] Started Flush Journal to Persistent Storage.                           
[  OK  ] Mounted /media/ram.                                                    
[  OK  ] Mounted /var/volatile.                                                 
[  OK  ] Started udev Kernel Device Manager.                                    
         Starting Load/Save Random Seed...                                      
[  OK  ] Reached target Local File Systems.                                     
         Starting Create Volatile Files and Directories...                      
[  OK  ] Started Load/Save Random Seed.                                         
[  OK  ] Started Create Volatile Files and Directories.                         
         Starting Network Time Synchronization...                               
         Starting Update UTMP about System Boot/Shutdown...                     
         Starting Network Service...                                            
[  OK  ] Started Update UTMP about System Boot/Shutdown.                        
[  OK  ] Started Network Service.                                               
         Starting Wait for Network to be Configured...                          
         Starting Network Name Resolution...                                    
[  OK  ] Started Network Time Synchronization.                                  
[  OK  ] Reached target System Time Synchronized.                               
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Reached target Network.                                                
[  OK  ] Reached target Host and Network Name Lookups.                          
[    7.893687] omap_rtc 44e3e000.rtc: already running                           
[    7.908357] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec   
[    8.003305] omap_rtc 44e3e000.rtc: registered as rtc0                        
[  OK  ] Started udev Coldplug all Devices.                                     
[  OK  ] Found device /dev/ttyS0.                                               
[  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
         Starting Load/Save Screen Backlight��…ightness of backlight:backlight..
[    9.114462] omap-sham 53100000.sham: hw accel on OMAP rev 4.3                
[    9.155310] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2                
[    9.242811] omap-aes 53500000.aes: will run requests pump with realtime prioy
[    9.332367] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on 1
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.  
[    9.504687] remoteproc remoteproc0: wkup_m3 is available                     
[    9.539505] remoteproc remoteproc0: powering up wkup_m3                      
[    9.546447] PM: Cannot get wkup_m3_ipc handle                                
[    9.607251] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,6
         Starting Apply Kernel Variables...                                     
[    9.733081] remoteproc remoteproc0: remote processor wkup_m3 is now up       
[    9.733105] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192   
[FAILED] Failed to start Apply Kernel Variables.                                
See 'systemctl status systemd-sysctl.service' for details.                      
[  OK  ] Found device /dev/ttyS3.                                               
[   10.712776] net eth1: initializing cpsw version 1.12 (0)                     
[   10.720528] libphy: PHY  not found                                           
[   10.854429] net eth1: phy "" not found on slave 1, err -19                   
[   11.016455] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready               
[   11.328180] net eth0: initializing cpsw version 1.12 (0)                     
[   11.464425] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Ath)
[   11.610190] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
[   14.917184] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
[   14.987170] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x0
[   15.073778] PM: bootloader does not support rtc-only!                        
[   15.602117] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc r
[*     ] (1 of 3) A start job is running for��…-mmcblk0p1.device (11s / 1min 300
[   15.821279] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                     
[   15.842795] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc r
[   15.917309] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numb1
[   15.969143] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regu0
[   15.991524] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, b9
[   16.042821] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[   16.050140] usb usb1: Product: MUSB HDRC host driver                         
[   16.189175] cfg80211: Loading compiled-in X.509 certificates for regulatory e
[   16.199724] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd       
[   16.241358] usb usb1: SerialNumber: musb-hdrc.0                              
[   16.279430] hub 1-0:1.0: USB hub found                                       
[   16.314699] hub 1-0:1.0: 1 port detected                                     
[   16.376423] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                     
[   16.381806] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb2
[   16.403742] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'       
[   16.526797] remoteproc remoteproc1: 4a334000.pru is available                
[**    ] (1 of 3) A start job is running for��…-mmcblk0p1.device (12s / 1min 309
[   16.652751] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed succey
[   16.661132] remoteproc remoteproc2: 4a338000.pru is available                
[   16.722722] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
[   16.782443] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed succey
[   16.794711] usb usb2: Product: MUSB HDRC host driver                         
[   16.827294] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd       
[   16.882714] usb usb2: SerialNumber: musb-hdrc.1                              
[   16.923312] platform regulatory.0: Direct firmware load for regulatory.db fa2
[   16.952903] hub 2-0:1.0: USB hub found                                       
[   16.959093] hub 2-0:1.0: 1 port detected                                     
[   16.992823] cfg80211: failed to load regulatory.db                           
[   17.108279] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connect2
[ ***  ] (2 of 3) A start job is running for��… to be Configured (13s / no limi)
[   17.753362] wlcore: loaded                                                   
[   ***] (2 of 3) A start job is running for��… to be Configured (14s / no limi0
[   18.636414] wlcore: firmware booted (Rev 8.9.0.0.76)                         
[   18.665480] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready              
[  OK  ] Found device /dev/mmcblk0p1.                                           
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.        
[  OK  ] Created slice system-systemd\x2dfsck.slice.                            
         Starting File System Check on /dev/mmcblk0p1...                        
[  OK  ] Reached target System Initialization.                                  
[  OK  ] Listening on D-Bus System Message Bus Socket.                          
[  OK  ] Started Daily rotation of log files.                                   
         Starting Reboot and dump vmcore via kexec...                           
[  OK  ] Started Daily Cleanup of Temporary Directories.                        
[  OK  ] Reached target Timers.                                                 
[  OK  ] Listening on RPCbind Server Activation Socket.                         
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
[  OK  ] Listening on dropbear.socket.                                          
[  OK  ] Reached target Sockets.                                                
[  OK  ] Reached target Basic System.                                           
         Starting Start USB gadget...                                           
[  OK  ] Started Redis In-Memory Data Store.                                    
[  OK  ] Started Periodic Command Scheduler.                                    
         Starting Bluetooth service...                                          
         Starting Simple Network Management Protocol (SNMP) Daemon....          
         Starting Login Service...                                              
         Starting Avahi mDNS/DNS-SD Stack...                                    
[  OK  ] Started Job spooling tools.                                            
         Starting Lightning Fast Webserver With Light System Requirements...    
         Starting Permit User Sessions...                                       
[   23.366994] using random self ethernet address                               
[   23.371481] using random host ethernet address                               
[   23.467345] using host ethernet address: 04:79:B7:03:11:1B                   
[   23.467428] using random self ethernet address                               
[  OK  ] Started D-Bus System Message Bus.                                      
[   23.567236] using random host ethernet address                               
[   23.607864] using host ethernet address: 04:79:B7:03:11:1B                   
[   23.611506] usb0: HOST MAC 04:79:b7:03:11:1b                                 
[   23.690333] usb0: MAC 52:92:a1:26:dc:55                                      
         Starting RPC Bind Service...                                           
[   23.782220] Mass Storage Function, version: 2009/09/11                       
[   23.824631] LUN: removable file: (no medium)                                 
         Starting uim-sysfs.service...                                          
[   23.860622] LUN: removable read only file: /dev/mmcblk0p1                    
[   23.915263] Number of LUNs=1                                                 
         Starting Print notice about GPLv3 packages...                          
[   23.945357] g_multi gadget: Multifunction Composite Gadget                   
         Starting Enable and configure wl18xx bluetooth stack...                
[   23.994144] g_multi gadget: g_multi ready                                    
[  OK  ] Started File System Check on /dev/mmcblk0p1.                           
[  OK  ] Started Reboot and dump vmcore via kexec.                              
[   24.228446] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready               
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.       
[  OK  ] Started Permit User Sessions.                                          
[  OK  ] Started RPC Bind Service.                                              
[  OK  ] Found device /dev/ttyGS0.                                              
[  OK  ] Started Start USB gadget.                                              
         Starting Hostname Service...                                           
         Starting Load/Save RF Kill Switch Status...                            
[  OK  ] Started NFS status monitor for NFSv2/3 locking..                       
[  OK  ] Started Serial Getty on ttyS0.                                         
[  OK  ] Started Getty on tty1.                                                 
[  OK  ] Started Serial Getty on ttyS3.                                         
[  OK  ] Started Serial Getty on ttyGS0.                                        
[  OK  ] Reached target Login Prompts.                                          
         Starting Synchronize System and HW clocks...                           
         Mounting /run/media/mmcblk0p1...                                       
[  OK  ] Started Load/Save RF Kill Switch Status.                               
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..             
[  OK  ] Started Synchronize System and HW clocks.                              
[  OK  ] Started Bluetooth service.                                             
[  OK  ] Started Login Service.                                                 
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
[  OK  ] Reached target Bluetooth.                                              
[  OK  ] Mounted /run/media/mmcblk0p1.                                          
[  OK  ] Started Hostname Service.                                              
[  OK  ] Started Enable and configure wl18xx bluetooth stack.                   
[  OK  ] Started uim-sysfs.service.                                             
         Starting rc.pvr.service...                                             
[   26.980290] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]       
[  OK  ] Started rc.pvr.service.                                                
         Starting weston.service...                                             
***************************************************************                 
***************************************************************                 
NOTICE: This file system contains the following GPLv3 packages:                 
        autoconf                                                                
        bash-dev                                                                
        bash                                                                    
        bc                                                                      
        binutils                                                                
        cifs-utils                                                              
        cpio                                                                    
        cpp-symlinks                                                            
        cpp                                                                     
        dosfstools                                                              
        elfutils                                                                
        findutils                                                               
        g++-symlinks                                                            
        g++                                                                     
        gawk                                                                    
        gcc-symlinks                                                            
        gcc                                                                     
        gdb                                                                     
        gdbserver                                                               
        gettext                                                                 
        glmark2                                                                 
        gstreamer1.0-libav                                                      
        gzip                                                                    
        hidapi                                                                  
        libbfd                                                                  
        libdw1                                                                  
        libelf1                                                                 
        libgdbm-compat4                                                         
        libgdbm-dev                                                             
        libgdbm6                                                                
        libgettextlib                                                           
        libgettextsrc                                                           
        libgmp10                                                                
        libidn2-0                                                               
        libmavconn                                                              
        libmpc3                                                                 
        libmpfr6                                                                
        libreadline-dev                                                         
        libreadline7                                                            
        libunistring2                                                           
        m4-dev                                                                  
        m4                                                                      
        make                                                                    
        mavlink                                                                 
        mavros-extras                                                           
        mavros-msgs                                                             
        mavros                                                                  
        nettle                                                                  
        pdm-anomaly-detection                                                   
        socketcan-interface                                                     
        which                                                                   
                                                                                
If you do not wish to distribute GPLv3 components please remove                 
the above packages prior to distribution.  This can be done using               
the opkg remove command.  i.e.:                                                 
    opkg remove <package>                                                       
Where <package> is the name printed in the list above                           
                                                                                
NOTE: If the package is a dependency of another package you                     
      will be notified of the dependent packages.  You should                   
      use the --force-removal-of-dependent-packages option to                   
      also remove the dependent packages as well                                
***************************************************************                 
***************************************************************                 
                                                                                
 _____                    _____           _         _                           
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
              |___|                    |___|                                    
                                                                                
Arago Project http://arago-project.org am335x-evm ttyS0                         
                                                                                
Arago 2019.07 am335x-evm ttyS0                                                  
                                                                                
am335x-evm login: 

alse while board on after some time i am getting message somthing like

[  393.552506] Bluetooth: hci0: Frame reassembly failed (-84)                   
[  393.620008] Bluetooth: hci0: Frame reassembly failed (-84)                   
[  398.394348] Bluetooth: hci0: Frame reassembly failed (-84)                   
[  398.400329] Bluetooth: hci0: Frame reassembly failed (-84)  

i have changed bt-en.sh file accoerding to our board configutation something like

#!/bin/bash
function bten_335_evm {
        echo 66 > /sys/class/gpio/export
        echo out > /sys/class/gpio/gpio66/direction
        echo 1 > /sys/class/gpio/gpio66/value
        echo "Done enabling BT"

        local gpio="nshutdown_gpio=66"
        local tty="tty=/dev/ttyS5"
        local flow="flow_cntrl=1"
        local baud_rate="baud_rate=3000000"
        sudo rm -r /home/root/tibt
        mkdir /home/root/tibt
        echo $gpio > /home/root/tibt/config
        echo $tty >> /home/root/tibt/config
        echo $flow >> /home/root/tibt/config
        echo $baud_rate >> /home/root/tibt/config

and result of this file

root@am335x-evm:~/BluetopiaPM# ./bt-en.sh  
./bt-en.sh: line 52: warning: command substitution: ignored null byte in input
TI AM335x EVM-SK
success
Done enabling BT
root@am335x-evm:~/BluetopiaPM# 

but while i am running

cd /home/root/BluetopiaPM/bin
./SS1BTPM &
./LinuxSPPM

Initialize 1
SetDevicePower 1

echo 66 > /sys/class/gpio/export                                                
sh: line 0: echo: write error: Device or resource busy                          
echo out > /sys/class/gpio/gpio66/direction                                     
echo 0 > /sys/class/gpio/gpio66/value                                           
echo 1 > /sys/class/gpio/gpio66/value                                           
echo 0 > /sys/class/gpio/gpio66/value                                           
echo 1 > /sys/class/gpio/gpio66/value                                           
BT COMM PORT (/dev/ttyS5): -5                                                   
DEVM_PowerOnDevice() Failure: -14, Unknown Error.                               
Function Error.                                                                 
SPPM>

i am getting in boot log

<strong>[    1.678091] Bluetooth: hci0: Failed to get CTS</strong>

  • Please try with removing the 'bluetooth' property in the uart5 node definition in the device tree. This is because serdev driver will hold on to the uart/tty driver and won't let the userspace BluetopiaPM to control the tty port.

    Thanks

  • thank you very much for your quick reply,

    sure i will remove bluetooth section from uart5 in dts and update result here...

    &uart5 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart5_pins>;
    	uart-has-rtscts;		//fsl,uart-has-rtscts;
    	status = "okay";
           }

    while i am reading other thread i have added some lines in defconfig file after that i am getting lot of bluetooth related log

    CONFIG_BT_HCIUART_SERDEV=y
    CONFIG_BT_HCIUART_H4=y
    CONFIG_BT_HCIUART_LL=y
    CONFIG_BT_HCIUART_3WIRE=y
    CONFIG_SERIAL_DEV_BUS=y

    it is ok or should i remove back..?

    my tisdk_am335x-evm_defconfig file

    tisdk_am335x-evm_defconfig.txt

  • after removing Bluetooth from uart5 node

    i am able to send message via echo command

    something like

    echo aa >  /dev/ttyS5

    and getting result

    but while running BluetopiaPM

    root@am335x-evm:~# cd BluetopiaPM/                                              
    root@am335x-evm:~/BluetopiaPM# ./bt-en.sh                                       
    ./bt-en.sh: line 52: warning: command substitution: ignored null byte in input  
    TI AM335x EVM-SK                                                                
    success                                                                         
    Done enabling BT                                                                
    root@am335x-evm:~/BluetopiaPM#                                                  
    root@am335x-evm:~/BluetopiaPM# cd bin/                                          
    root@am335x-evm:~/BluetopiaPM/bin# ./SS1BTPM &                                  
    [1] 894                                                                         
    root@am335x-evm:~/BluetopiaPM/bin# ./LinuxSPPM                                  
                                                                                    
    ******************************************************************              
    * Command Options: 1) Initialize                                 *              
    *                  2) Cleanup                                    *              
    *                  3) QueryDebugZoneMask                         *              
    *                  4) SetDebugZoneMask                           *              
    *                  5) ShutdownService                            *              
    *                  6) RegisterEventCallback,                     *              
    *                  7) UnRegisterEventCallback,                   *              
    *                  8) QueryDevicePower                           *              
    *                  9) SetDevicePower                             *              
    *                  10)QueryLocalDeviceProperties                 *              
    *                  11)SetLocalDeviceName                         *              
    *                  12)SetLocalClassOfDevice                      *              
    *                  13)SetDiscoverable                            *              
    *                  14)SetConnectable                             *              
    *                  15)SetPairable                                *              
    *                  16)StartDeviceDiscovery                       *              
    *                  17)StopDeviceDiscovery                        *              
    *                  18)QueryRemoteDeviceList                      *              
    *                  19)QueryRemoteDeviceProperties                *              
    *                  20)AddRemoteDevice                            *              
    *                  21)DeleteRemoteDevice                         *              
    *                  22)PairWithRemoteDevice                       *              
    *                  23)CancelPairWithRemoteDevice                 *              
    *                  24)UnPairRemoteDevice                         *              
    *                  25)QueryRemoteDeviceServices                  *              
    *                  26)RegisterAuthentication                     *              
    *                  27)UnRegisterAuthentication                   *              
    *                  28)PINCodeResponse                            *              
    *                  29)PassKeyResponse                            *              
    *                  30)UserConfirmationResponse                   *              
    *                  31)ChangeSimplePairingParameters              *              
    *                  32)RegisterServerPort                         *              
    *                  33)OpenServerPortRequestResponse              *              
    *                  34)UnRegisterServerPort                       *              
    *                  35)OpenRemotePort                             *              
    *                  36)ClosePort                                  *              
    *                  37)ReadData                                   *              
    *                  38)WriteData                                  *              
    *                  39)SendLineStatus                             *              
    *                  40)SendPortStatus                             *              
    *                  41)QueryServerPresent                         *              
    *                  42)FindFreeServerPort                         *              
    *                  43)ChangeBufferSize                           *              
    *                  44)LoopbackMode                               *              
    *                  45)AutomaticReadMode                          *              
    *                  46)DisplayRawDataMode                         *              
    *                  47)EnableBluetoothDebug                       *              
    *                  Help, Quit.                                   *              
    ******************************************************************              
    SPPM>Initialize 1                                                               
                                                                                    
    SetDevicePower 1BTPM_Initialize() Success: 0.                                   
    DEVM_RegisterEventCallback() Success: 5.                                        
    SPPM>                                                                           
                                                                                    
    echo 66 > /sys/class/gpio/export                                                
    sh: line 0: echo: write error: Device or resource busy                          
    echo out > /sys/class/gpio/gpio66/direction                                     
    echo 0 > /sys/class/gpio/gpio66/value                                           
    echo 1 > /sys/class/gpio/gpio66/value                                           
    echo 0 > /sys/class/gpio/gpio66/value                                           
    echo 1 > /sys/class/gpio/gpio66/value                                           
    BT COMM PORT (/dev/ttyS5): 1                                                    
    DEVM_PowerOnDevice() Failure: -10032, Response Message Timeout.                 
    Function Error.    
    SPPM>                                                             
    

    what should i look forward for next...

    also after removing Bluetooth i am not able to seen anything in hciconfig -a cmd

    root@am335x-evm:~# hciconfig                                                    
    root@am335x-evm:~# hciconfig -a                                                 
    root@am335x-evm:~# 
    

  • I would suggest using the attached test program to check the UART/HCI connectivity between the host and WL18xx BT controller. It does not use BT stack and uses only the tty port interface from userspace. Please, try to check the connectivity..

    usage is as below:

    Usage : ./hci-test-arm <dev-name> <baud rate> <bt_en_gpio>

    If, it works you can expect below output:

    root@am335x-evm:~# ./hci-test-arm /dev/ttyS1 3000000 3
    opening device: /dev/ttyS1 for final baudrate=3000000 : bt_en_gpio=3
    echo 3 > /sys/class/gpio/export
    sh: line 0: echo: write error: Device or resource busy
    echo out > /sys/class/gpio/gpio3/direction
    echo 0 > /sys/class/gpio/gpio3/value
    echo 1 > /sys/class/gpio/gpio3/value
    Configuring for initial baudrate of 115200 with Hardware flow control
    UART initialized !!!
    Send HCI command : HCI_Read_Local_Version_Information
    Recived HCI Event/Response
    Found a Texas Instruments' chip!
    Needed Firmware file : TIInit_11.8.32.bts
    changing HCI baudrate to 3000000
    Send HCI command : HCI_VS_Update_Uart_HCI_Baudrate
    Send baudrate change command to Controller
    Recived HCI Event/Response
    response byte[0] = 0x04
    response byte[1] = 0x0e
    response byte[2] = 0x04
    response byte[3] = 0x01
    response byte[4] = 0x36
    response byte[5] = 0xff
    response byte[6] = 0x00
    response byte[7] = 0x00
    response byte[8] = 0x00
    response byte[9] = 0x00
    response byte[10] = 0x00
    response byte[11] = 0x00
    response byte[12] = 0x38
    response byte[13] = 0x19
    response byte[14] = 0x01

    Changing host UART baudrate
    Send HCI command : HCI_Read_Local_Version_Information
    Recived HCI Event/Response
    Found a Texas Instruments' chip!
    Needed Firmware file : TIInit_11.8.32.bts
    Send HCI command : HCI_Read_BD_ADDR
    Recived HCI Event/Response
    response byte[0] = 0x04
    response byte[1] = 0x0e
    response byte[2] = 0x0a
    response byte[3] = 0x01
    response byte[4] = 0x09
    response byte[5] = 0x10
    response byte[6] = 0x00
    response byte[7] = 0xb6
    response byte[8] = 0x37
    response byte[9] = 0xc8
    response byte[10] = 0x79
    response byte[11] = 0xec
    response byte[12] = 0x7c
    response byte[13] = 0x20
    response byte[14] = 0xac
    root@am335x-evm:~#

    Thankshci-test-arm

  • hello

    i found there is an hardware issue in our custom board.

    once new board come then after i will update status

    till then bye

    thank you so much for guidance with this matter..

    regards,

    Raju