OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: boosalis on February 20, 2004, 03:26:40 pm

Title: Using mkfs.jffs2
Post by: boosalis on February 20, 2004, 03:26:40 pm
Can anyone provide some guidence in how to  create a jffs2 file system from a modifed Zaurus file initrd.bin.  Here is what I have done so far:

Bumping along in the dark I have been able to get the ROM off a 5600 then copy and mount the file system \"initrd.bin\" to my desktop

I made two minor changes to the logos as a test (Both in /usr/Qtopia.rom/pics).  This changd the size of initrd.bin by a few bytes when compared to the original.


Then I ran
      /opt/Qtopia/bin/mkfs.jffs2 -d \"dirName\" -o initrd.bin

After migrating this and other files to the compact flash, the boot failed.  

Do I have to  set the padding option on the mkfs.jffs2 utility.  If so, then to what

Do I need to modify the parameters in the update.pro file.

Any help is most appreciated.

Thank you
David
Title: Using mkfs.jffs2
Post by: tumnus on February 20, 2004, 06:56:56 pm
Don\'t know about creating a new initrd.bin, but do you know you can remount / on your 5600 as read/write, change whatever and then remount it read only again? Just do

mount / -o rw,remount

and then this to get it back to read only:

mount / -o ro,remount

I think there\'s about 700KB of flash left to play around with by default. I used this method to put Opera 7 in the ROM, which is about 400KB bigger than Opera 6.

Probably easier than creating your own initrd.bin just to change a couple of images.
Title: Using mkfs.jffs2
Post by: boosalis on February 20, 2004, 08:51:50 pm
Tummis.  
Will give it a try.  Thanks for the suggestion.  
-David