/dev/i2c-1 missing on Pocket Beagle

I fired up a Pocket Beagle today with the 2018-10-28 image and notice /dev/i2c-1 is missing.

Here’s what dmesg says:

bone $ dmesg -H | grep i2c
[ +0.000852] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ +0.000063] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_bb_i2c1_pins, deferring probe
[ +0.000937] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ +0.001268] i2c /dev entries driver
[ +0.007484] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ +0.000108] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ +0.000759] pinctrl-single 44e10800.pinmux: pin PIN97 already requested by ocp:P2_09_pinmux; cannot claim for 4802a000.i2c
[ +0.011333] pinctrl-single 44e10800.pinmux: pin-97 (4802a000.i2c) status -22
[ +0.007129] pinctrl-single 44e10800.pinmux: could not request pin 97 (PIN97) from group pinmux_bb_i2c1_pins on device pinctrl-single
[ +0.012083] omap_i2c 4802a000.i2c: Error applying setting, reverse things back
[ +0.007347] omap_i2c: probe of 4802a000.i2c failed with error -22

And

bone$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[e9bcff232834702c1c810710706ee815d77b080b]
eeprom:[A335PBGL00A21750EPB02572]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Image 2018-10-28]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2018.09-00002-gd5b4c4b656]:[location: dd MBR]
kernel:[4.14.71-ti-r81]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-I2C1A-FAST-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.4.20181019.0-0rcnee0~stretch+20181019]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.3-git20181009.0-0rcnee0~stretch+20181010]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.106310] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.381858] pinctrl-single 44e10800.pinmux: pin PIN97 already requested by ocp:P2_09_pinmux; cannot claim for 4802a000.i2c
[ 1.393191] pinctrl-single 44e10800.pinmux: pin-97 (4802a000.i2c) status -22
[ 1.400320] pinctrl-single 44e10800.pinmux: could not request pin 97 (PIN97) from group pinmux_bb_i2c1_pins on device pinctrl-single
dmesg | grep gpio-of-helper
[ 1.114738] gpio-of-helper ocp:cape-universal: ready
END

What’s up?

–Mark

p.s. Switching to i2c2 I was able to get my SparkFun IRArray working!

You need to use dtbo's with the "PB-" prefix.. there's a phandle name
conflict in the above..

Regards,

Is it normal for it to be missing on bootup?

–Mark

I think I found by problem. I was working on the Green Wireless and then transferred the SD card to the Pocket. I forgot to restore /boot/uEnv.txt.

Thanks for the help…

–Mark