On Wed, Sep 26, 2018 at 4:24 PM Tim M <timlorimurta...@hotmail.com> wrote: > > I did the following: > > - I fetched https://github.com/beagleboard/bb.org-overlays > - copied the file BB-I2C2-RTC-DS1338.dts to BB-I2C2-RTC-DS1307.dts > - edited BB-I2C2-RTC-DS1307.dts to refer to my DS1307 chip instead of DS1338 > - make src/arm/BB-I2C2-RTC-DS1307.dtbo > - sudo cp ./src/arm/BB-I2C2-RTC-DS1307.dtbo /lib/firmware/ > > I added the following lines to /boot/uEnv.txt: > uboot_overlay_addr0=/lib/firmware/BB-UART2-00A0.dtbo > uboot_overlay_addr1=/lib/firmware/BB-I2C2-RTC-DS1307.dtbo > > I rebooted. > > After rebooting, dmesg shows this: > bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,1633BBBG0596' > bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - > #slots=4 > bone_capemgr bone_capemgr: slot #0: No cape found > bone_capemgr bone_capemgr: slot #1: No cape found > bone_capemgr bone_capemgr: slot #2: No cape found > bone_capemgr bone_capemgr: slot #3: No cape found > bone_capemgr bone_capemgr: initialized OK. > > I expected to see BB-UART2-00A0.dtbo in slot #1 and BB-I2C2-RTC-DS1307.dtbo > in slot #2. > The overlays are not loaded. What am I doing wrong?
Run this script: sudo /opt/scripts/tools/version.sh It'll give us more information for debugging.. > I also expect that loading the overlay BB-I2C2-RTC-DS1307.dtbo will create > /dev/rtc1, and also load the module rtc-ds1286.ko. Am I correct in thinking > this? Actually we have an alias swap going on... The am335x's un-useful rtc becomes /dev/rtc1 and the DS1307 becomes /dev/rtc0, thus all the standard clock programs just work with the external rtc.. And the ds1307 module is usually built in, so you won't see the module thru lsmod... 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhcUG4Ku876PzuWX98sM87v5F5vE%3D1-Brt9-UacRy6FSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.