본문 바로가기

YAFFS

(10)
[펌] 리눅스 플래시 파일 시스템 분석 M. Tim Jones, 컨설턴트 엔지니어, Emulex Corp. 요약: JFFS(Journaling Flash File System)와 YAFFS(Yet Another Flash File System)에 대해 들어보았을테지만, 기반 플래시 디바이스 위에서 동작하는 파일 시스템이 무엇을 의미하는지 알고 있습니까? 이 기사는 리눅스(Linux®)를 위한 플래시 파일 시스템에 대해 소개하고, 닳기 균등화를 통해 반영구적인 기반 디바이스(플래시)를 보호하는 방법을 익히고, 기본적인 설계와 함께 다양한 플래시 파일 시스템을 알아보겠습니다. 원문 게재일: 2008 년 9 월 23 일 ------------------------------------------------------------------------..
YAFFS Garbage Collection New garbage collector If we're very low on erased blocks then we do aggressive garbage collection otherwise we do "leasurely" garbage collection. Aggressive gc looks further (whole array) and will accept less dirty blocks. Passive gc only inspects smaller areas and will only accept more dirty blocks. The idea is to help clear out space in a more spread-out manner. Dunno if it really does anythin..
NAND Flash (NAND vs. NOR) NAND FLASH NAND vs. NOR Beside the different silicon cell design, the most important difference between NAND and NOR Flash is the bus interface. NOR Flash is connected to a address / data bus direct like other memory devices as SRAM etc. NAND Flash uses a multiplexed I/O Interface with some additional control pins. NAND flash is a sequential access device appropriate for mass storage application..
YAFFS Overview YAFFS OverviewSubmitted by Wookey on 29 June, 2006 - 1:30am. Computer | Information | YAFFS YAFFS is a filesystem designed specifically for the characteristics of NAND flash. Its well-proven primary features are: Fast - typically much faster than alternatives Easily ported (currently ported to GNU/Linux, WinCE, eCOS, pSOS, VxWorks, and various bare-metal systems) Log structured, providing wear-l..
YAFFS CheckPoint
YAFFS Write 위 그림은 파일의 데이터를 NAND Flash에 write할 때의 Flowchart를 나타낸 것입니다. ① Write 정보 계산 Write 할 chunk, offset, count를 계산합니다. ② Cache에 저장 여유 공간이 있으면, Cache에 해당 데이터를 저장합니다. ③ NAND Flash에 저장 Cache에 저장된 데이터를 NAND flash에 write 합니다.
YAFFS Create 위 그림은 YAFFS에서 Object를 만드는 과정을 Flowchart로 나타낸 것입니다. ① Create New Object 새로운 Object를 만들어 ObjectID를 부여하고, 멤버들을 초기화 합니다. ② Object Member setting 주어진 인자 값을 사용하여 Object의 멤버들을 설정하고, 부모 디렉토리에 추가 시킵니다. ③ Update Object Header 만들어진 Object의 Header를 생성하고 이를 flash에 저장합니다.
YAFFS Scan 위 그림은 YAFFS Mount 시 NAND Flash Memory를 Scan하여 Object Tree를 형성하는 것을 FlwChart로 나타낸 것이다. 위 그림은 YAFFS Scan 시 NAND Flash에 저장된 Object Header를 Scan하여 저장하는 것을 나타낸 것이다.