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?

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?

Thanks for your help,
Tim



-- 
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/00c6beb3-451b-4781-9e19-39ffe35a2369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to