Author Topic: Mkfs.jffs2  (Read 2078 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mkfs.jffs2
« 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 ...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Mkfs.jffs2
« Reply #1 on: November 14, 2006, 05:03:48 am »
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mkfs.jffs2
« Reply #2 on: November 15, 2006, 04:24:37 pm »
Quote
http://www.angstrom-distribution.org/repo/...s&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...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Mkfs.jffs2
« Reply #3 on: November 15, 2006, 04:33:47 pm »
Quote
Quote
http://www.angstrom-distribution.org/repo/...s&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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mkfs.jffs2
« Reply #4 on: November 15, 2006, 06:18:45 pm »
Quote
Quote
Quote
http://www.angstrom-distribution.org/repo/...s&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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K