Robert:

Here you go; thanks for looking into this.

-Steve


debian@beaglebone:/dev$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[7cdc270818b76d829d247cf05fe309c320a3929a]
eeprom:[A335BNLTEIA04218BBBK03D9]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[BB-HDMI-TDA998x-00A0]
UBOOT: Loaded Overlay:[BBORG_PROTO-00A2]
kernel:[4.19.94-ti-r47]
nodejs:[v10.21.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
uboot_overlay_options:[dtb_overlay = /lib/firmware/BB-I2C2-RTC-DS3231.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20200814.0-0~buster+20200814]
pkg:[bb-wl18xx-firmware]:[1.20200813.1-0~buster+20200813]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev 
users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi 
iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait 
uboot_detected_capes=BBORG_PROTO, coherent_pool=1M net.ifnames=0 lpj=1990656 
rng_core.default_quality=100 quiet]
dmesg | grep remote
[   58.172688] remoteproc remoteproc0: wkup_m3 is available
[   58.383916] remoteproc remoteproc0: powering up wkup_m3
[   58.383945] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, 
size 217168
[   58.384202] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   62.993005] remoteproc remoteproc1: 4a334000.pru is available
[   63.024061] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   62.993005] remoteproc remoteproc1: 4a334000.pru is available
[   62.993220] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed 
successfully
[   63.024061] remoteproc remoteproc2: 4a338000.pru is available
[   63.024270] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed 
successfully
dmesg | grep pinctrl-single
[    0.952687] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.966071] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

> On Sep 4, 2020, at 11:22 AM, Robert Nelson <[email protected]> wrote:
> 
> On Fri, Sep 4, 2020 at 9:59 AM Steve Lentz <[email protected]> wrote:
>> 
>> Tarmo:
>> 
>> I’ve been following this with some interest and finally got around to trying 
>> it on my BBB running the 2020-04-06 release.
>> 
>> I have an external DS3231 connected to I2C2. I’ve got it working and mounted 
>> as RTC1, but the magic of swapping the DS3231 for the AM335x-s is not 
>> happening for me.
>> 
>> I have confirmed the DS3231 is RTC1 by the simple method of asking for the 
>> time with the I2C jumpers disconnected, which results in an error.  
>> Reconnecting the jumpers restores operation of RTC1.  RTC0 works whether the 
>> jumpers are connected or not.
>> 
>> I added the dtb_overlay command to /boot/uEnv.txt and restarted.  I don’t 
>> have an rc.local file, so I ran echo ds3231 0x68 > 
>> /sys/class/i2c-adapter/i2c-2/new_device from the command line after 
>> rebooting.
>> 
>> What is needed so that the device tree swaps the two clocks, making the 
>> external DS3231 RTC0, as indicated in the thread below?  Is this something 
>> in the alpha image?
> 
> Let's check some things, please provide a dump of:
> 
> sudo /opt/scripts/tools/version.sh
> 
> Regards,
> 
> -- 
> Robert Nelson
> https://rcn-ee.com/

-- 
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/DB5C489D-88D6-4F1E-971E-23447AFFE0C4%40gmail.com.

Reply via email to