On Thu, 29 May 2014 16:17:53 -0700 (PDT)
Joshua Datko <jbd...@gmail.com> wrote:
> The CryptoCape, a collaboration between SparkFun and myself, is now
> available for purchase at SparkFun Electronics [1]. In short, the
> cape adds some hardware crypto chips, a RTC with battery, and an
> ATmega328p which is designed to be flashed from the Beagle. It will
> be officially announced on the "new products Friday" post tomorrow,
> but I think this group deserved an early announcement.
What is it?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/NhMSP9ywlzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
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...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/NhMSP9ywlzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/NhMSP9ywlzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
The RTC uses the ds1307 kernel driver and you're correct, it shows up as rtc1. It is loaded when the capemgr instantiates the device tree, since the driver is in the CryptoCape DTS file. So you shouldn't need any init.d/systemd scripting it should "just work"TM.
You'll have to set the clock once and then it should hold pretty well. In testing think I had a bum battery b/c it depleted rather quickly. Once I changed batteries it seems to be holding steady.
On Thu, May 29, 2014 at 7:28 PM, Mike <belly...@gmail.com> wrote:
On 05/29/2014 07:17 PM, Joshua Datko wrote:How is the RTC implemented at the software level? More to the point perhaps, how early in the boot process does the system time get set from (presumably) rtc1?
The CryptoCape, a collaboration between SparkFun and myself, is now available for purchase at SparkFun Electronics [1]. In short, the cape adds some hardware crypto chips, a RTC with battery, and an ATmega328p which is designed to be flashed from the Beagle. It will be officially announced on the "new products Friday" post tomorrow, but I think this group deserved an early announcement.
Thanks to BeagleBoard.org for making a great platform and special thanks to Robert Nelson for backporting the TPM driver to 3.8.
This community is awesome; I've learned so much by following this list. Thanks to everyone who shares their time and knowledge.
There's only 1 left :)
Happy Hacking!
Josh
[1] https://www.sparkfun.com/products/12773
About a month or so ago I setup a battery backed RTC, along with a fairly current systemd. Systemd have chosen to rewrite hwclock and last I looked it still only honored/used rtc0. Perhaps I didn't explain the situation good enough on the systemd mailing list, but I couldn't seem to get past anyone not understanding why a board wouldn't have a battery backed RTC on board. Having said all that I did get it working just using init.d scripts. Just seems like such an ugly hack when the whole point of systemd is to essential do away with all the scripts.
The board looks like something very interesting to explore. I'm sure one will find its' way here when cash flow permits.
Mike
--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/NhMSP9ywlzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.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...@googlegroups.com.
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.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Are you guys talking about the crypto cape or the RTC cape? The crypto capediscussed in this thread uses a ds3231 not a ds1307. Also why anyone *needs* the rtc cape I don't get. just keep the rtc rail powered on the processor. That I believe is a software issue.Eric
On Thu, May 29, 2014 at 6:31 PM, Joshua Datko <jbd...@gmail.com> wrote:
The RTC uses the ds1307 kernel driver and you're correct, it shows up as rtc1. It is loaded when the capemgr instantiates the device tree, since the driver is in the CryptoCape DTS file. So you shouldn't need any init.d/systemd scripting it should "just work"TM.
You'll have to set the clock once and then it should hold pretty well. In testing think I had a bum battery b/c it depleted rather quickly. Once I changed batteries it seems to be holding steady.
On Thu, May 29, 2014 at 7:28 PM, Mike <belly...@gmail.com> wrote:
On 05/29/2014 07:17 PM, Joshua Datko wrote:How is the RTC implemented at the software level? More to the point perhaps, how early in the boot process does the system time get set from (presumably) rtc1?
The CryptoCape, a collaboration between SparkFun and myself, is now available for purchase at SparkFun Electronics [1]. In short, the cape adds some hardware crypto chips, a RTC with battery, and an ATmega328p which is designed to be flashed from the Beagle. It will be officially announced on the "new products Friday" post tomorrow, but I think this group deserved an early announcement.
Thanks to BeagleBoard.org for making a great platform and special thanks to Robert Nelson for backporting the TPM driver to 3.8.
This community is awesome; I've learned so much by following this list. Thanks to everyone who shares their time and knowledge.
There's only 1 left :)
Happy Hacking!
Josh
[1] https://www.sparkfun.com/products/12773
About a month or so ago I setup a battery backed RTC, along with a fairly current systemd. Systemd have chosen to rewrite hwclock and last I looked it still only honored/used rtc0. Perhaps I didn't explain the situation good enough on the systemd mailing list, but I couldn't seem to get past anyone not understanding why a board wouldn't have a battery backed RTC on board. Having said all that I did get it working just using init.d scripts. Just seems like such an ugly hack when the whole point of systemd is to essential do away with all the scripts.
The board looks like something very interesting to explore. I'm sure one will find its' way here when cash flow permits.
Mike
--- You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/NhMSP9ywlzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Are you guys talking about the crypto cape or the RTC cape? The crypto capediscussed in this thread uses a ds3231 not a ds1307. Also why anyone *needs* the rtc cape I don't get. just keep the rtc rail powered on the processor. That I believe is a software issue.
Eric
--
I'm trying to interface to the ATECC108 but I'm not running linux. Main issue I've run into is trying to wake up the chip, which requires holding SDA low for at least 60 usec. This is tricky because the AM335x I2C controller won't send any data to the bus without sending an address first, and if it doesn't get an ACK after sending the address it won't send any data, just aborts the transaction with a STOP condition.In the libcrypti2c code you have a function ci2c_wakeup() that sends two 0 bytes to the device. How do you get the AM335x to send those bytes, if the device is asleep and thus won't ACK the address? Or are you doing the same thing I've found, which is that the low bits in the device address happen to hold SDA low just long enough to wake up the chip? (I keep hoping there's a better solution, not involving any bitbanging. Maybe there isn't.)