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
422b2254
Commit
422b2254
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic updates to comments and READMEs
parent
698baf9b
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
arch/arm/src/sama5/sam_pmecc.c
+3
-1
3 additions, 1 deletion
arch/arm/src/sama5/sam_pmecc.c
configs/sama5d3x-ek/README.txt
+2
-1
2 additions, 1 deletion
configs/sama5d3x-ek/README.txt
drivers/mtd/README.txt
+7
-4
7 additions, 4 deletions
drivers/mtd/README.txt
with
12 additions
and
6 deletions
arch/arm/src/sama5/sam_pmecc.c
+
3
−
1
View file @
422b2254
...
...
@@ -1153,7 +1153,9 @@ int pmecc_configure(struct sam_nandcs_s *priv, bool protected)
}
/* Save the size of the spare area.
* REVISIT: Could we save a bit by setting this to eccend?
*
* REVISIT: Could we save a bit by setting this to eccend since there is
* no need to read beyond that?
*/
g_pmecc
.
desc
.
sparesize
=
priv
->
raw
.
model
.
sparesize
;
...
...
This diff is collapsed.
Click to expand it.
configs/sama5d3x-ek/README.txt
+
2
−
1
View file @
422b2254
...
...
@@ -1466,7 +1466,8 @@ NAND Support
Another option is Smart FS. Smart FS is another small file system
designed to work with FLASH. Properties: It does support some wear-
leveling, but like FAT, cannot handle bad blocks.
leveling like NXFFS, but like FAT, cannot handle bad blocks and like
NXFFS, it will try to re-write erased bits.
Using NAND with NXFFS
---------------------
...
...
This diff is collapsed.
Click to expand it.
drivers/mtd/README.txt
+
7
−
4
View file @
422b2254
...
...
@@ -123,11 +123,12 @@ NAND MEMORY
SMART FS
--------
I have not yet tried SmartFS. But I know that it does not perform bad
block checking (like FAT). I do not know if it assumes that it can write
into erased regions of a sector multiple times (like NXFFS).
I have not yet tried SmartFS. It does support some wear-leveling
similar to NXFFS, but like FAT, cannot handle bad blocks and like NXFFS,
it will try to re-write erased bits. So SmartFS is not really an
option either.
What is Needed
What is Needed
--------------
What is needed to work with FAT properly would be another MTD layer
...
...
@@ -136,3 +137,5 @@ NAND MEMORY
on top of the NAND.
Another, less general, option would be support bad blocks within FAT.
Such a solution migh be possible for SLC NAND, but would not be
sufficiently general for all NAND types.
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