UBIFS 8.2 image

John Watlington wad at laptop.org
Fri Oct 10 16:26:50 EDT 2008

Still trying to reproduce the first weirdness I saw, but I've already
run into pretty much the same problem with my standard test.

I installed UbiFS as indicated.

I installed 16 files of size 32 MB in the root partition.
df indicated around 50 MB free.

I started a loop of reading two files and comparing them,
then writing two 10MB files, reading them back (and
comparing them), then deleting them.  Repeat ad-infinitum.
After 11 cycles, writing files to the file system started failing.
(Read-only file system)

df indicates that 45 MB are still available!


On Oct 10, 2008, at 6:41 AM, Deepak Saxena wrote:

> Hi,
> I have created an initial UBIFS 8.2 image that can be used for testing
> and playing with.
> See  http://wiki.laptop.org/go/UBIFS_initial_experiments
> for information on how this was created and some of my intial notes.
> If you just want to download and run:
>  * Make sure your XO has security disabled
>  * Make sure your XO is running the latest OFW. The best way to do  
> this
>    is to update it to 8.2.0.
>  * Download the following files to a USB stick:
>    http://dev.laptop.org/~dsaxena/ubi_test/data.img
>    http://dev.laptop.org/~dsaxena/ubi_test/nand.img
>  * Boot the laptop with USB stick and escape into the OFW prompt.
>  * Run:
>    ok dev nand   : write-blocks write-pages ;  dend
>    write-blocks isn't unique # You can ignore this
>    ok update-nand u:\data.img
>  * At this point OFW will erase the flash and copy the contents of the
>    nand.img file to flash. When complete you can simply reboot the  
> system.
> If you want to know a bit more about UBIFS, why we're looking at it,
> and the overall impact a switch over would have, see the following
> page that is still under development:
> http://wiki.laptop.org/go/UBIFS_on_XO
> Thanks to Mitch Bradley for his help with OFW and Erik Garrison for
> his OFW image builder script.
> ~Deepak
> -- 
> Deepak Saxena - Kernel Developer - dsaxena at laptop.org
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel

More information about the Devel mailing list