OESF Portables Forum

General Forums => General Discussion => Topic started by: Meanie on November 14, 2006, 01:13:30 am

Title: Mkfs.jffs2
Post by: Meanie on November 14, 2006, 01:13:30 am
I am trying to get a working mkfs.jffs2 for the C3000. I downloaded the one from the link in zaurususergroup, but the file does not seem to work properly. it says its for the 6000 but it is missing the -e 16k option
does anyone have a copy of mkfs.jffs2 for the Z that works? I think the one for the c7x0 should work if I could only find it ...
Title: Mkfs.jffs2
Post by: koen on November 14, 2006, 05:03:48 am
http://www.angstrom-distribution.org/repo/...s&pnm=mtd-utils (http://www.angstrom-distribution.org/repo/?action=details&pnm=mtd-utils)
Title: Mkfs.jffs2
Post by: Meanie on November 15, 2006, 04:24:37 pm
Quote
http://www.angstrom-distribution.org/repo/...s&pnm=mtd-utils (http://www.angstrom-distribution.org/repo/?action=details&pnm=mtd-utils)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146232\"][{POST_SNAPBACK}][/a][/div]

thanks. got it working , well almost.
strangely, i was able to rebuild an initrd.bin file for cacko and boot it up with tetsu's kernel, but the initrd.bin file loading an old 2.4.20 kernel based oz rootfs fails to boot complaining about incorrect header/magic bit...
Title: Mkfs.jffs2
Post by: koen on November 15, 2006, 04:33:47 pm
Quote
Quote
http://www.angstrom-distribution.org/repo/...s&pnm=mtd-utils (http://www.angstrom-distribution.org/repo/?action=details&pnm=mtd-utils)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146232\"][{POST_SNAPBACK}][/a][/div]

thanks. got it working , well almost.
strangely, i was able to rebuild an initrd.bin file for cacko and boot it up with tetsu's kernel, but the initrd.bin file loading an old 2.4.20 kernel based oz rootfs fails to boot complaining about incorrect header/magic bit...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146378\"][{POST_SNAPBACK}][/a][/div]

Right, zaurus images need an extra header to work with angelboot, you could try stripping of the header before pulling it apart.
Title: Mkfs.jffs2
Post by: Meanie on November 15, 2006, 06:18:45 pm
Quote
Quote
Quote
http://www.angstrom-distribution.org/repo/...s&pnm=mtd-utils (http://www.angstrom-distribution.org/repo/?action=details&pnm=mtd-utils)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146232\"][{POST_SNAPBACK}][/a][/div]

thanks. got it working , well almost.
strangely, i was able to rebuild an initrd.bin file for cacko and boot it up with tetsu's kernel, but the initrd.bin file loading an old 2.4.20 kernel based oz rootfs fails to boot complaining about incorrect header/magic bit...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146378\"][{POST_SNAPBACK}][/a][/div]

Right, zaurus images need an extra header to work with angelboot, you could try stripping of the header before pulling it apart.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146379\"][{POST_SNAPBACK}][/a][/div]

I did that. Used head -c 16 to get the header off the initrd.bin file and prepended it back after creating the jffs2 image. It works when I boot a custom cacko initrd file so I guess the header is right. But it does not boot the OZ initrd file for some reason that escapes me.