maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   How to create custom FIASCO image from original? (https://talk.maemo.org/showthread.php?t=52302)

maemofied 2010-05-10 10:59

How to create custom FIASCO image from original?
 
I would like to know if we can create custom FIASCO images from the original Diablo FIASCO image for N810.

The use case is like, I flash my N810 and I then install my favourite apps like maemo-mapper, canola, rootsh, gpsd etc..

To avoid this reinstalling of all apps after each flash I would like add my favourite apps to the original Diablo FIASCO image so that I just install my new FIASCO image and my tablet is ready to use.

Please help me out.

hawaii 2010-05-10 16:45

Re: How to create custom FIASCO image from original?
 
You can dd the rootfs from an off-booted kernel, just as a Mer installation and then use that with flasher to only over-write the rootfs.

I haven't found a way to integrate rootfs changes back into a full FIASCO image, and I know not of any documentation for this.

maacruz 2010-05-12 07:18

Re: How to create custom FIASCO image from original?
 
1 Attachment(s)
There is no released tool to build fiasco images, but you can backup and flash each piece separately.
Just don't use dd, mtd flash memory is not safe for dd (any bad block would interrupt the dump leaving you with a broken image), use 0xFFFF or mkfs.jffs2 to build an image.
There are some threads here about how to use mkfs.jffs2 and the dualboot scripts are a good example.
I have attached here a build of 0xFFFF for the tablets, since you won't find one in its home page.

maemofied 2010-05-15 17:41

Re: How to create custom FIASCO image from original?
 
Sorry for the late reply.

I tried running 0xFFF.static but I get an error "Permission denied"
I am running it from root shell and had also made it an executable using "chmod +x ./0xFFF.static".

maacruz 2010-05-15 17:57

Re: How to create custom FIASCO image from original?
 
Are you trying to run it from mmc? Fat partitions are mounted as noexec.
Make sure you put it in your home directory or in /usr/local/sbin

qwerty12 2010-05-15 18:00

Re: How to create custom FIASCO image from original?
 
For the N900, at least, the sdk-fiasco-gen package is available in the nokia-binaries repository.
No idea if it works for creating N810 FIASCO images, however.

maemofied 2010-05-15 20:16

Re: How to create custom FIASCO image from original?
 
Quote:

Originally Posted by maacruz (Post 659863)
Are you trying to run it from mmc? Fat partitions are mounted as noexec.
Make sure you put it in your home directory or in /usr/local/sbin

Thank you very much.

Yes. I was running it from my memory card. I copied to my home directory and now it works.

I refered the documentation for the tool from the below link http://www.nopcode.org/0xFFFF/?p=docu

I backed-up my installation by running the commands
#0xFFFF -e /media/mmc1/backup
#0xFFFF -x /media/mmc1/backup

Now I hope I can restore my installation using the command
# 0xFFFF -R -p /media/mmc1/backup/rootfs.jffs

I still have to try that.

maacruz 2010-05-15 20:56

Re: How to create custom FIASCO image from original?
 
I do not know if it is safe to restore running from flash. In fact, I would assume it is not, since rootfs is mounted rw, so I advise flashing from PC (using flasher-3.0) or booting from mmc.

KristianW 2010-09-16 19:41

Re: How to create custom FIASCO image from original?
 
Quote:

Originally Posted by maemofied (Post 651613)
I would like to know if we can create custom FIASCO images from the original Diablo FIASCO image for N810.

The use case is like, I flash my N810 and I then install my favourite apps like maemo-mapper, canola, rootsh, gpsd etc..

To avoid this reinstalling of all apps after each flash I would like add my favourite apps to the original Diablo FIASCO image so that I just install my new FIASCO image and my tablet is ready to use.

Please help me out.

( I just found this thread, been away a while. )

What I use is Console Tools by Penguinbate.

The "pb" tool has a nifty backup/restore utility.
It saves a complete (or partial) OS with all apps as a file
to a linux partition on an mmc or usb-stick.

( To restore to flash memory, I run it from a cloned OS on an mmc,
but "pb", and especially "pbeasy" make cloning very easy.)

KristianW 2010-09-19 23:21

Re: How to create custom FIASCO image from original?
 
Quote:

Originally Posted by maemofied (Post 659991)
- - -
I refered the documentation for the tool from the below link http://www.nopcode.org/0xFFFF/?p=docu
- - -

There is something weird with that link, it only works sometimes.
Mostly I get "Not found on this server."

Googling "info 0xFFFF" gives this as a first item,
and clicking on "cashed" works.


EDIT :
Opening the original page with Tear never worked.
Opening it with MicroB with the URL in the address field occasionally worked.

Opening it in MicroB by googling for "0xFFFF",
and clicking on (the second post) "0xFFFF - / wk"
(with the URL www.nopcode.org/0xFFFF/ )
mostly worked (except just after an attempt with Tear (?) ).

When exploring the site with MicroB, after a couple of page changes
I usually got "Not found on this server" again.

The only thing that seemed to help was to quit MicroB,
restart it and google again.

??
Note: I tried all this many times in different order.
( I never saw anything like that before. )


EDIT 2 :
Tried this somtime later with similar results.
Then I cleared all cookies in both browsers,
and now I found the site with both browsers for a while.

Then the previous behaviour was back,
and clearing cookies made no difference.

( The cookies thing might, of course, be a coincidence.)


All times are GMT. The time now is 05:55.

vBulletin® Version 3.8.8