SAMA5 demo configuration: TRNG and /dev/random are now enabled
This commit is contained in:
parent
dbeee18171
commit
06c87638ae
@ -5829,3 +5829,6 @@
|
||||
drvier. Untested on initial check-in (2013-10-19).
|
||||
* arch/arm/src/sama5/sam_trng.c, sam_trng.h, and chip/sam_trng.h: Add
|
||||
a /dev/random driver based on the SAMA5D3 TRNG peripheral (2013-10-20).
|
||||
* configs/sama5d3x-3k/demo: The TRNG and /dev/random are now enabled
|
||||
by default in the demo configuration (2013-10-20).
|
||||
|
||||
|
@ -1290,6 +1290,15 @@ Configurations
|
||||
|
||||
nsh> cat /dev/kbda
|
||||
|
||||
10. Support SAMA5D3 TRNG peripheral is enabled so that it provides
|
||||
/dev/random. The following configuration settings are relevant:
|
||||
|
||||
System Type:
|
||||
CONFIG_SAMA5_TRNG=y : Enable the TRNG peripheral
|
||||
|
||||
Drivers (automatically selected):
|
||||
CONFIG_DEV_RANDOM=y : Enable /dev/random
|
||||
|
||||
The following features are *not* enabled in the demo configuration but
|
||||
might be of some use to you:
|
||||
|
||||
|
@ -170,7 +170,7 @@ CONFIG_SAMA5_UDPHS=y
|
||||
# CONFIG_SAMA5_SHA is not set
|
||||
# CONFIG_SAMA5_AES is not set
|
||||
# CONFIG_SAMA5_TDES is not set
|
||||
# CONFIG_SAMA5_TRNG is not set
|
||||
CONFIG_SAMA5_TRNG=y
|
||||
# CONFIG_SAMA5_ARM is not set
|
||||
# CONFIG_SAMA5_FUSE is not set
|
||||
CONFIG_SAMA5_MPDDRC=y
|
||||
@ -385,6 +385,7 @@ CONFIG_PTHREAD_STACK_DEFAULT=2048
|
||||
CONFIG_DISABLE_POLL=y
|
||||
CONFIG_DEV_NULL=y
|
||||
# CONFIG_DEV_ZERO is not set
|
||||
CONFIG_DEV_RANDOM=y
|
||||
# CONFIG_LOOP is not set
|
||||
# CONFIG_RAMDISK is not set
|
||||
# CONFIG_CAN is not set
|
||||
@ -685,6 +686,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
||||
# CONFIG_EXAMPLES_PIPE is not set
|
||||
# CONFIG_EXAMPLES_POSIXSPAWN is not set
|
||||
# CONFIG_EXAMPLES_QENCODER is not set
|
||||
# CONFIG_EXAMPLES_RANDOM is not set
|
||||
# CONFIG_EXAMPLES_RGMP is not set
|
||||
# CONFIG_EXAMPLES_ROMFS is not set
|
||||
# CONFIG_EXAMPLES_SENDMAIL is not set
|
||||
|
Loading…
Reference in New Issue
Block a user