|
#1
|
|||
|
|||
|
Can anybody help me explain how to use the fiasco-gen tool from the sdk-fiasco-gen_2.8.2.0.1+0m5_i386.deb package to generate a flashable EMMC image ?
Fiasco-gen is part of a SDK tool package and can be used to make fiasco images. http://maemo.org/packages/view/sdk-fiasco-gen/ http://repository.maemo.org/pool/mae...1+0m5_i386.deb I have used it successfully to make a flashable image for the NAND memory. By combining a rootfs image and a kernel image in one fiasco image with: Code:
fiasco-gen -g -k kernelImage -r rootfsImage -o myOwnFiasco.bin Code:
flasher-3.5 -F myOwnFiasco.bin -f -R But now I want to make a fiasco image for the eMMC memory. Code:
fiasco-gen -g -m mmcImage -o myMmcFiasco.bin I think the problem is with the way I use the fiasco-gen tool. It has a number of extra options that I don't know how to use: Code:
-m, --mmc=ARG Location of MMC image
--mmc-append=ARG MMC raw image to append
--mmc-partition=ARG Partition for the MMC raw image (in layout)
--initrd=ARG Location of intird image
Code:
flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -u Code:
{...name = "internal";...partition {....fs_type = "vfat";....prefix = "mydocs";....no_create = true;...}...partition {....size = 2048;....fs_type = "ext3";....prefix = "home";...}...partition{....size = 768;....fs_type = "swap";...}..}
Can anybody help me figure out how to use this tool? I have not found any documentation for this (non-free Nokia) tool other than the help text. Last edited by Bernard; 2011-06-19 at 10:31. |
|
#2
|
||||
|
|
||||
|
You'll need to pass a layout file
Code:
mmc {
name = "internal";
partition {
fs_type = "vfat";
prefix = "mydocs";
no_create = true;
}
partition {
size = 2048;
fs_type = "ext3";
prefix = "home";
}
partition {
size = 768;
fs_type = "swap";
}
}
Code:
fiasco-gen -l layoutFile -m mmcImage -o myMmcFiasco.bin |
| The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
#3
|
|||
|
|||
|
hmm, I get an error:
Code:
Layout should belong to image |
|
#4
|
||||
|
|
||||
|
No idea, I've only tested this with the same "mmc" file from the VANILLA file and it worked.
How are you creating that file? |
|
#5
|
|||
|
|||
|
Code:
flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -u Code:
fiasco-gen -l layoutFile -m mmc -o myMmcFiasco.bin Quote:
|
|
#6
|
||||
|
|
||||
|
Code:
[sbox-FREMANTLE_ARMEL: ~/custom] > fiasco-gen --mmc=mmc --layout=layout -o test.fiasco -g fiasco-gen v2.8.2 (Jan 26 2010) Adding mmc : mmc (255947 kB) |
|
#7
|
|||
|
|||
|
It seems you first need to specify the mmc, than the layout file
Code:
fiasco-gen -g -m mmc -l layoutFile -o myMmcFiasco.bin |
| The Following User Says Thank You to Bernard For This Useful Post: | ||
|
#8
|
||||
|
||||
|
Hi, I would like to know if your generated eMMc image contains some tweaks or some new scripts which do not exist in the original ? The main question is is it possible to tweak the SDK and produce a modified image file which will be flashable withe nookia N900??
I'm a BIG noob in linux system but I have a few Ideas. Thanks in advance. |
|
#9
|
|||
|
|||
|
my fiasco image for NAND is modified, because it is based on a backupmenu rootfs and a different kernel image.
But you also need the files in the /home folder on the ext3 partition on eMMC to make a complete backup. You can just boot the backup menu and restore the optfs backup, but I would much rather like to alter the eMMC flashable image. But I haven't figured out how to build my own mmc image. You can easily mount the first vFAT partition using mount: Code:
sudo mount -o loop mmc mountFolder |
|
#10
|
|||
|
|||
|
To add 1 giga do:
Code:
dd if=/dev/zero bs=1M count=1024 >> mmc the "maximal" size of the file mmc is ~4.1G.... when is expanded ?
__________________
User:rlinfati Last edited by rlinfati; 2011-06-19 at 15:26. |
![]() |
|
|