On Friday, 12 October 2018 00:40:01 UTC+1, RobertCNelson wrote:
>
> On Thu, Oct 11, 2018 at 5:21 PM David Robb <[email protected] 
> <javascript:>> wrote: 
> > 
> > I get the following error when trying to configure P9.12 as an input on 
> a BBGW: 
> > 
> > dar@arm:~$ sudo config-pin  P9.12 in+ 
> > P9_12 pinmux file not found! 
> > bash: /sys/devices/platform/ocp/ocp*P9_12_pinmux/state: No such file or 
> directory 
> > Cannot write pinmux file: 
> /sys/devices/platform/ocp/ocp*P9_12_pinmux/state 
> > 
> > I think this pin clashes with a BlueTooth enabled LED on the BBGW, but 
> it's the pin I have chosen for my input. 
> > I cannot easily move to another pin as I have many PCBs made using this 
> input. :-( 
> > 
> > In previous image builds I have been able to work around this by 
> editting the src/arm/BB-BBGW-WL1835-00A0.dts file to comment out the clash. 
> > 
> > What are my options for a work around with these newer kernel images? 
>
> Comment: 
>
>
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BBGW-WL1835-00A0.dts#L23
>  
>
>
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BBGW-WL1835-00A0.dts#L41-L45
>  
>
>
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BBGW-WL1835-00A0.dts#L123-L133
>  
>
> > 
> > Also, experiencing very slow boot times ~ 2 minutes with cape_universal 
> enabled. Ideally would like something around 10s. 
>
> Yes cape_universal slows things down, so does "rt".. 
>
> How many pins do you need? it would be "best" to construct an overlay 
> file with just what you want to use, and have most of cape_universal 
> disabled.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/

 
Many thanks. That did the job. I was then able to issue the config-pin 
command for P9.12

In order to speed the boot time up I created a DTS file for pin9_12 and 
explicitly loaded UART4, UART5 and I2C1 with:

dar@arm:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[29878c8f9a13833ac69956ecc086c95b99726dde]
eeprom:[A335BNLTGW1ABBGW16063598]
model:[TI_AM335x_BeagleBone_Green_Wireless]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2018.09-rc2-dirty]:[location: dd MBR]
kernel:[4.18.9-bone-rt-r9]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-UART4-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/BB-UART5-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr2=/lib/firmware/BB-I2C1-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr3=/lib/firmware/BB-P9_12-00A0.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
<pkg>]
pkg:[bb-cape-overlays]:[4.4.20180928.0-0rcnee0~stretch+20180928]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups: ‘debian’: no such user
groups:[]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait]
dmesg | grep pinctrl-single
[    0.875699] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.876586] gpio-of-helper ocp:cape-universal: ready
END

Is this an acceptable way forward or is the preferred method to use 
config-pin for uarts, i2c etc?

Boot time to having an active WLAN now down to around 20s

On a more troubling note, I'm getting problems with buffer overrun on my 
UARTS. I'm running 115200 baud without flow control. This worked fine with 
the 4.4 kernel. Has anything significant changed here? I've read some 
kernel config posts regarding OMAP drivers and 256 byte DMA buffers. How 
can I tell if these are enabled and functioning?

Best regards,
David

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7ac4a182-4b37-4783-ac4c-1a4955eee586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to