Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
06c87638
Commit
06c87638
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
SAMA5 demo configuration: TRNG and /dev/random are now enabled
parent
dbeee181
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+3
-0
3 additions, 0 deletions
ChangeLog
configs/sama5d3x-ek/README.txt
+9
-0
9 additions, 0 deletions
configs/sama5d3x-ek/README.txt
configs/sama5d3x-ek/demo/defconfig
+3
-1
3 additions, 1 deletion
configs/sama5d3x-ek/demo/defconfig
with
15 additions
and
1 deletion
ChangeLog
+
3
−
0
View file @
06c87638
...
...
@@ -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).
This diff is collapsed.
Click to expand it.
configs/sama5d3x-ek/README.txt
+
9
−
0
View file @
06c87638
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
configs/sama5d3x-ek/demo/defconfig
+
3
−
1
View file @
06c87638
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment