Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
JFFS2 NAND Flash support arrives in stable Linux tree
Oct. 13, 2003

Good news: JFFS2's support for NAND Flash memory has been merged into the 2.6.0-test tree. According Red Hat's David Woodhouse, JFFS2 on NAND has received heavy testing under the 2.4 kernel, and is present in the handhelds.org kernel tree. Support for eCos is in progress. This is welcome news for device developers seeking to reduce costs by using embedded Linux as the OS and low-cost NAND Flash for program and data storage.

JFFS2 is a journaling filesystem for flash devices that handles wear-leveling and other restrictions of Flash technology efficiently. It has seen extensively use in projects such as the Familiar Project.

NAND Flash memory is the newer, cheaper kind of Flash memory. Unlike the traditional NOR Flash, which is directly accessible like an EPROM or SRAM, NAND is addressable only through a single 8-bit bus used for both data and addresses, with separate control lines. JFFS2 for NOR Flash has been officially stable since the 2.4.12 Linux kernel release.

Woodhouse credits Texas Instruments for "generous sponsorship" -- they "kindly paid Red Hat to lock me in a room for a few weeks with the JFFS2 code, some NAND flash, and a vat of coffee" -- that led to implementation of the difficult parts of JFFS2 on NAND. These included "the details of flushing the write-behind buffer appropriately upon fsync(), sync() and other stimuli, and the code to deal with failure to write the write-behind buffer -- recovering its contents and writing them out elsewhere on the flash to avoid data loss."

In addition to TI, Woodhouse thanked Thomas Gleixner for his work on NAND hardware drivers as well as on JFFS2/NAND.

Inclusion in the stable Linux kernel tree traditionally signifies that code is ready for production use, but Woodhouse admonishes users to test the new code carefully: "While I'm fairly confident of the behaviour and it's been stress testing both with and without simulated errors on a DiskOnChip on my desk for the best part of a week now, it remains relatively new code and should therefore be treated with respect. You are advised to undertake your own testing under your own particular usage patterns."

Besides its new support for NAND devices, the recent development phase brought JFFS2 bug fixes. "The CVS tree also now contains changes to the garbage-collector which affect the way it merges data nodes, which should significantly improve its progress," says Woodhouse. "These should be of benefit even on NOR flash, and may well allow us to reduce the free-block thresholds which people keep complaining about."



Related Stories:


(Click here for further information)


FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Major Mono rev ships
• ETX module targets military apps
• Linux netbook return rates higher?
• Italian carrier ships Linux MID
• 5-second Linux boots on low-powered hardware
• MontaVista "Summit" concludes
• Freescale to jettison cellular chip business
• Open-source server appliance is "free"
• MontaVista Linux drives Dell's quick-boot feature
• "Virtual platform" targets Linux device developers
• Mobile Linux platform supports Cortex-A8 SoC
• Linux design targets 802.11n-enabled homes
• Virtualization design targets wireless base stations
• Linux virtualization tech tapped for telematics
• Linux Foundation spins end-user conference


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Tinest Linux system, yet?
• Garmin Nav devices run Gnome Linux
• ARM9 board boots Debian in 0.69 seconds
• Low-cost laptop runs Linpus Linux
• Linux-friendly Beagle fetches $150
• Mini Linux PC breaks $100 barrier
• Open source camera records geotagged video to SATA HDD
• Open set-top box ships
• First $100 laptop runs Linux


DesktopLinux headlines:
• Major Mono rev ships
• Intrepid Ibex beta-tests
• Linux netbook returns higher?
• Open-source image editing project launches
• Linux Foundation launches end-user conference
• GNOME 2.24 gains "Empathy" IM
• gOS 3.0 goes gold
• Linux Foundation courts individual members
• Netbook version of Mandriva thinks small
• Mozilla removes EULA from Linux Firefox


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.