LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-08-2012, 11:35 AM   #1
engr04
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Rep: Reputation: Disabled
UBI/UBIFS -f (--space-fixup) port to 2.6.30 kernel


Until recently, you cannot program a ubi image directly to nand flash for the following reason:

http://www.linux-mtd.infradead.org/faq/ubifs.html#L_why_ubiformat


However, the 3.0 or newer kernel now offer a solution to allow you to do this using the -f (--space_fixup). Documentation: http://www.linux-mtd.infradead.org/f...ee_space_fixup

There is a UBIFS backport tree that goes back to the 2.6.32 kernel. However, I'm using the 2.6.30 kernel on an embedded board.

What steps would I take to patch my 2.6.30 kernel with one of the UBIFS backports? I'm assuming I would start with the 2.6.32 backport.
 
Old 05-10-2012, 09:55 AM   #2
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 167

Rep: Reputation: 29
I would just get git://git.infradead.org/~dedekind/ubifs-v2.6.32.git and try to compare the code to your current kernel. If there are not too many changes you should be able to add the UBIFS patch easily.
 
Old 05-10-2012, 07:11 PM   #3
engr04
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
There were enough changes to make me decide to upgrade to the 2.6.36 kernel. Thanks for your comments.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shifting from Jffs2 to UBIFS sunr2007 Linux - Kernel 3 03-17-2011 07:40 AM
UBI failed priyadarshan Linux - Newbie 0 12-09-2010 11:07 PM
mount ubi fs sandro76 Linux - Mobile 0 02-12-2010 09:43 AM
RTS toggling in serial port from kernel space bizoo Programming 3 02-02-2010 10:15 AM
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration