Don't know yet :). Information about this topic was confusing, so first step was to prove that the BBB and a Li-Po battery can keep the RTC alive.
El divendres 18 de juliol de 2014 20:43:40 UTC+2, William Hermans va escriure: > > edugalvez, > > I must have missed that post, or the post predates me on these groups. > Thanks for sharing, this is very good to know. Truly. > > On the other side of the coin, how is this useful once you're running > Linux ? Perhaps /dev/mem ? > > > On Fri, Jul 18, 2014 at 12:29 AM, <edugalve...@gmail.com <javascript:>> > wrote: > >> Hi, >> >> I just managed to put the PMIC in SLEEP state, and the AM335x in RTC_Only >> state. It has been done using u-boot, based on Matt ( >> https://groups.google.com/d/msg/beagleboard/K7DuusrJ6G4/unH1m5HpiuoJ) >> explanation: >> >> *U-Boot# i2c mw 24 a 00 * >> *--- Send 0x00 to PMIC* >> >> *U-Boot# base 44e3e000* >> *Base Address: 0x44e3e000* >> *--- Set RTC registers as base address* >> >> *U-Boot# mw 98 10011* >> *--- Program RCT_PMIC register as PMIC_Power_EN enable, wakeup event >> enabled, and active low* >> >> *U-Boot# mw 48 10* >> *--- Set alarm2 as interrupt* >> >> *U-Boot# cp 8 88 4* >> *--- copy actual hour to alarm2 hours* >> >> *U-Boot# md 0 2* >> *44e3e000: 00000056 00000044 V...D...* >> *--- read actual second/minute (56/44)* >> >> *U-Boot# mw 84 46* >> *-- set minute 46 as alarm2 trigger* >> >> And wait until it is powered off. A pmic wakeup event (AC on, for >> example) will wake up the whole Beaglebone. >> >> Regards! >> >> On Monday, July 7, 2014 7:15:53 PM UTC+2, Alexander Holler wrote: >>> >>> Am 07.07.2014 17:54, schrieb David Anders: >>> > or just purchase a RTC Cape >>> > >>> > http://elinux.org/CircuitCo:RTC_Cape for $29.99MSRP >>> >>> Thanks, but I already have fully working hot-pluggable USB-RTCs I can >>> use with almost all RTC-less boards I have. >>> >>> But you might have an interesst in some patches I've written to use >>> them. They will make it possible to use the RTC-drivers as modules (and >>> the time still will be set automatically by the kernel), besides to >>> choose by kernel-command-line which RTC driver will be used: >>> >>> https://lkml.org/lkml/2014/6/13/6 >>> >>> Unfortunately they will likely never end up in mainline. >>> >>> Regards, >>> >>> Alexander Holler >>> >>> > >>> > >>> > On Friday, February 1, 2013 1:51:51 AM UTC-6, Alexander Holler wrote: >>> >> >>> >> Hello, >>> >> >>> >> I've ust had a look at the specs for BeagleBone Black. >>> >> >>> >> As usual, my first question was: Does it support RTC operation? >>> >> >>> >> Having a first look at the schematics, it does not look like it is >>> >> possible to connect some coin battery or similiar to drive the >>> processor >>> >> in RTC only mode. Am I right and this another non-RTC design which >>> needs >>> >> an external RTC connected to I2C or similiar? >>> >>> -- >> 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...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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. For more options, visit https://groups.google.com/d/optout.