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/CAOCHtYhBQX9yu6KUOSdw0tnkC0-%2Bu59RO86pvFex6Q1081UTjA%40mail.gmail.com.

Reply via email to