vxworks_kernel_programmers_guide_6.6.pdf is as follows:
Including the translation layer component
Choose the Translation Layer appropriate to the technology used by your flash
Medium. The main variants of Flash devices are nor and NAND. trueffs
Provides support:
■ Nor devices.
■ NAND devices that conform to the ssfdc specification.
From the description of the NAND part, only NAND Flash devices that comply with the ssfdc standard are supported. In history, vxworks5.4 once supported nftl's
st_nand_mlc ";C) change the frequency in nfc_init () from 0 to 1;2) Change lp_options in nand_ids.c to 0 -- the options we want are all defined;
Others:======================================Modify the previous modification to oob_place;Read/read_oob returns the content of the entire OOB. nftl knows which locations (ecc pos) are useless to it.
Nftl manages BBM by itself, so the action on bad block in LLD sh
Summary
Continue to fix nffs2 bug;
Complete the schedule of LNBs;
Feasibility of research project "nftl porting;
MondayGeneralHold a regular meeting to confirm that this week's work is release NSPR;The latest rumor may be merged with Intel FSD;
Nffs2Understand why-1 is required for checkdskspace: Because validpageno is calculated for checkdskspace, the remaining space is obtained. If the using block contains an invalid page during GC, it cannot
sysfs interface instead of older IOCTL or/proc/MTD interfaces, when possible.
The/proc/MTD proc file system file provides general MTD information. This is a legacy interface and the sysfs interface provides more information.MTD subsystem supports bare NAND flashes with software and hardware ECC, onenand flashes, CFI (Common flash Interface) nor flashes, and other flash types.
Additionally, MTD supports legacy FTL/nftl "Translation layers", M-systems
UBI File System OverviewBefore linux-2.6.27, talking about flash file system, we often think of cramfs, jffs2, yaffs2 and other file systems. They are also based on the file system + MTD + flash device architecture. After the linux-2.6.27, the kernel added a new type of FLASH file system ubi (unsorted block images ). Here we will briefly introduce the reasons for adding the ubi file system and how to use it. I have just got in touch with this file system. I may not understand it. please correct
Block
31
NftlLn
Nftl
Block
93
FTLLn
FTL
Block
44
Table 7-2. MTD/dev entries, minor numbers, and naming schemes
/Dev entry
Minor number range
Naming Scheme
MTDN
0 to 32 per increments of 2
N= Minor/2
MtdrN
1 to 33 per increments of 2
N= (Minor-1)/2
MtdblockN
0 to 16 per increments of 1
N= Minor
NftlLn
0 to 255 per sets
Before linux-2.6.27, talking about flash file system, we often think of cramfs, jffs2, yaffs2 and other file systems. They are also based on the file system + MTD + flash device architecture. After the linux-2.6.27, the kernel added a new type of FLASH file system ubi (unsorted block images ). Here we will briefly introduce the reasons for adding the ubi file system and how to use it. I have just got in touch with this file system. I may not understand it. please correct me.
I. background
Flash
file systems. They are also based on the file system + MTD + flash device architecture. After the linux-2.6.27, the kernel added a new type of FLASH file system ubi (unsorted block images ). Background:
Flash has the following features: "First erase and then write", "Bad Block", and "limited read/write count". Currently, the main methods for flash management are as follows:
1. MTD + FTL/nftl (flash Conversion Layer/NAND Flash Conversion Layer) + trad
Wince NAND Flash-Fal
From esslabwiki
1. Introduction
Flash is different from the common disk, and its feature is that it does not have to perform write operations on the same memory volume location, the write operation can be performed only when the location of the remember entity of erase is required. Therefore, the general file system, such as fat16, FAT32, nfts ..., It cannot be used directly on flash memory. If you want to use these file systems, to apply the logical block address to the act
Virtual File System (VFS) layer and cannot be formatted. Multiple file systems can be created, you can specify the maximum memory size that can be used during creation.3. Network File System (NFS): NFS is a technology developed and developed by Sun to share files through networks between different machines and operating systems. In the development and debugging phase of an embedded Linux system, you can use this technology to establish an NFS-based root file system on the host and mount it to a
startup
Console: switching to color frame buffer device 80x30
Fb0: s3c2410fb Frame Buffer Device
Fb1: Virtual Frame Buffer Device, using 1024 K of video memory does not move. After restart
The second time: VGA is displayed with flashing color lines, but the effect is not good.
Initializing cryptographic API
Console: switching to color frame buffer device 80x30
Fb0: s3c2410fb Frame Buffer Device
Fb1: Virtual Frame Buffer Device, using 1024 K of video memory
S3C2410 RTC, (c) 2004 simtec electroni
usb_device204 s3c2410_serial252 scull253 usb_endpoint254 rtcBlock devices: 1 ramdisk256 rfd 7 loop 31 mtdblock 93 nftl 96 inftl179 mmcThe/proc module must contain
For specific application methods, the source program and experiment are more effective.
For other debugging methods, such as GDB, LTT, and sysrq, in other books, such: detailed description of Embedded Linux System Development Technology-Based on ARM, building embedded Linux system, etc.
a block. Generally, each 512 bytes corresponds to a redundancy zone of 16 redundant bytes for poor storage.
Incorrect verification code, logical address, and so on.
Based on the bit that can be stored in a flash unit, flash can be divided into SLC and MLC. MLC
Flash storage 2 ~ 4-bit information.
Problems to be Solved Using Flash
1. Limited block erasure times
Use the loss smoothing method to make each block use an approximate balance
2. Ectopic update
After the data in Flash is modified, it m
Io_port_test.tar.gz
Io_mem.tar.gz
Io_mem_test.tar.gz
Both modules implement access control for blocking dedicated devices and notify the kernel that llseek is not supported. The specific test is in io_port.
The test results are as follows:
[Tekkaman2440 @ workshop] # cd/lib/modules/[tekkaman2440 @ workshop] # insmod workshop [tekkaman2440 @ workshop] # insmod workshop [tekkaman2440 @ workshop] # Cat/proc/devicescharacter Devices: 1 mem 2 Pty 3 ttyp 4/dev/VC/0 4 tty 4 TTYs 5/dev/tty 5/dev/
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.