[Cryptech Tech] core/novena_i2c_simple
paul at psgd.org
Thu Oct 2 23:33:19 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 10/02/2014 09:20 AM, Joachim Strömbergson wrote:
> Paul, I'm looking at the novena_i2c_simple core to start
> integrating the trng on the Novena. Is that core a test core for
> hashing or generic i2c on the Novena?
It's a core for hashing, but you should easily be able to tease out
the project-dependent bits.
The only difference between the i2c code in the two projects is that
the _simple version accepts a range of i2c device addresses, and
reports which one was requested. (And I normalized the addresses to 7
bits; for some reason Bunnie used an 8-bit register and ignored low
bit, so the device configured as "0x1e" was actually at address 0x0f.)
> And what is the relation to core/novena?
core/novena is paired with core/i2c, similar to the way
core/coretest_hashes is paired with core/uart.
I should consolidate core/novena and core/i2c into something like
core/novena_i2c, since I've now got novena_i2c_simple and novena_eim.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the Tech