[RFC PATCH] openbmc: Use JFFS2 for RW overlay filesystem

Andrew Jeffery andrew at aj.id.au
Mon Feb 15 18:53:27 AEDT 2016


The patch under the cover shouldn't be applied yet - it requires Milton's
kernel work-around to talk to the spi-nor through string io accessors before
it's functional (otherwise you'll get a corrupt filesystem on reboot - you've
been warned). However, the patch implements the necessary bits and pieces to
generate a JFFS2 filesystem as part of the bitbake process.

I've tested the patch with Milton's patch applied and it seems functional.
Posted it to get some feedback or for Milton to take over :)

Note: The execution paths for alternate filesystems (using /dev/mtdblock*)
hasn't yet been tested.

Andrew Jeffery (1):
  openbmc: Use JFFS2 for RW overlay filesystem

 meta-phosphor/classes/image-overlay.bbclass        |  3 ++-
 meta-phosphor/classes/obmc-phosphor-image.bbclass  |  2 ++
 .../obmc-phosphor-image_types_uboot.bbclass        | 12 ++++++++++--
 .../obmc-phosphor-initfs/files/obmc-init.sh        | 22 +++++++++++++++-------
 .../obmc-phosphor-initfs/files/obmc-update.sh      | 13 +++++++++----
 5 files changed, 38 insertions(+), 14 deletions(-)

-- 
2.5.0



More information about the openbmc mailing list