Red Hat Bugzilla – Bug 1474493
missing jffs2 and some mtd related modules
Last modified: 2017-08-22 09:09:37 EDT
Description of problem:
mtdram, block2mtd are disabled on all architectures, jffs2 modules are enabled only on armv archs.
available docs for unpacking/modifying roms for embedded systems includes mtdram/block2mtd modules. which means on non-arm archs run slow qemu guest to modify.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. modprobe jffs2
2. modprobe mtdram
3. modprobe block2mtd
modules not found
user should follow documentation for modifying roms using mtdram/block2mtd and jffs2
and other, which are already enabled for arm
Can you give an example of the type of documentation you are trying to follow?
fedora has in mtd-utils jffs2reader, which should be able to list/dump content of file but not working on images with lzma compression
I'm okay turning on JFFS2 but CONFIG_MTD_MTDRAM is listed as a test driver. I understand it's uses are limited but I'm not really excited about enabling it for all of Fedora.
Created attachment 1305892 [details]
this is what i tested
(In reply to Laura Abbott from comment #5)
> I'm okay turning on JFFS2 but CONFIG_MTD_MTDRAM is listed as a test driver.
> I understand it's uses are limited but I'm not really excited about enabling
> it for all of Fedora.
there are three modules usable for simulating flash devices:
nandsim for nand and block2mtd and mtdram for nor
as most of toolchains for embedded platforms are for x86, i'm fine with enabling it only for x86, not all architectures like i did in patch
what i tested so far is nandsim. block2mtd and mtdram i would like to test after vacation
even i managed to use jffs2reader after endianess convertion using jffs2dump -e,
it is tricky to dump dontent.
with nandsim and jffs2 i was able to mount image and chroot to it just using qemu-mips-static within few seconds
anything i can do to get enabled those modules?
If the following set of options is sufficnet we can turn them on.
(In reply to Laura Abbott from comment #10)
> If the following set of options is sufficnet we can turn them on.
it should be sufficient