On Mon, Nov 19, 2007 at 09:21:46AM -0300, Osvaldo Santana Neto wrote: > Hi Nikolaus,
Hi Osvaldo and Nikolaus, > I've the same problem here and after reading the block2mtd source code > I see a "hidden" parameter that we've to pass when loading it (the > eraseblock size): > Replace this line: > > > echo "/dev/loop0" > /sys/module/block2mtd/parameters/block2mtd > > with this one: > > > echo "/dev/loop0,131072" > /sys/module/block2mtd/parameters/block2mtd > > 131072 == 128KiB == 0x20000 (the eraseblock size reported by n800). I got the same problem with my n770. the eraseblock size seems to be the same for both devices. I expect N810 to be the same. > Please, tell me if this works (or not) because I'm creating a > utility[1] to build hibrid images (mamona + closed source components > from FIASCO image). Great! I expect to start working on the FIASCO support again and give it a better support, so there'r some missing fields to understand yet (and nested comments and mobo marks should be handled too. > BTW, I would like do congratulate the pancake to provide a lot of > useful information about FIASCO. My project has been developed over > this information. Thanks! It was a few hours work to understand how the data is structured, is quite obvious, but I should give better support for it and clean up some code, but current work is sufficient for most uses. Now i'm planning to start to work on a graphical frontend for the flasher and the fiasco tool for packing/unpacking firmwares graphically. Maybe end-users would greet this :) > [1] http://tinyurl.com/2fx73a (this is a *really* early stage > software, so, probabily it won't works correctly) > > Thanks, > Osvaldo > > On 11/17/07, Mag. Dr. Nikolaus Klepp <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I've a strange problem with N800 FIASKO images: > > > > I extract the rootfs from RX-34_2007SE_4.2007.38-2_PR_COMBINED_MR0_ARM.bin, > > then I mount it with this procedure (from > > http://maemo.org/community/wiki/ModifyingRootImage ): > > > > mknod /tmp/mtdblock b 31 0 > > modprobe loop > > losetup /dev/loop0 rootfs.jffs2 > > modprobe mtdblock > > modprobe block2mtd > > echo "/dev/loop0" > /sys/module/block2mtd/parameters/block2mtd > > modprobe jffs2 > > mount -t jffs2 /tmp/mtdblock /mnt > > > > This completes without error. Now when I try to archive the contents of the > > filesystem tar claims that some files are shortened and the missing blocks > > are filled with 0. > > > > I tried to extract the contents of the rootfs with 0xffff on the device, > > too, > > but all created files have 0 size. > > > > Do you have any idea what I do wrong? > > > > Nik > > _______________________________________________ > > 0xffff mailing list > > 0xffff@lists.nopcode.org > > https://lists.nopcode.org/mailman/listinfo/0xffff > > > > > -- > Osvaldo Santana Neto > Open Bossa - Open Source Stream > INdT - Instituto Nokia de Tecnologia > _______________________________________________ > 0xffff mailing list > 0xffff@lists.nopcode.org > https://lists.nopcode.org/mailman/listinfo/0xffff > _______________________________________________ 0xffff mailing list 0xffff@lists.nopcode.org https://lists.nopcode.org/mailman/listinfo/0xffff