maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   A way to flash without USB? (https://talk.maemo.org/showthread.php?t=81341)

Pondake 2012-01-08 15:27

Re: A way to flash without USB?
 
Quote:

Originally Posted by ade (Post 1147459)
What do you consider kernel? Kernel images from /boot and kernel libraries from /lib are backupped...

Then what is not going to backup?

I think that would be the best question. ;)

mr_pingu 2012-01-08 15:47

Re: A way to flash without USB?
 
Why did my device broke then when restoring a backup with other kernel? That's what I mean, if you switch kernel with backupmenu you have an unbootable device...

ade 2012-01-08 15:48

Re: A way to flash without USB?
 
Quote:

Originally Posted by Pondake (Post 1147462)
Then what is not going to backup?

I think that would be the best question. ;)

In the link to the images you can draw your own conclusion: it offers two files (for optfs and rootfs)

Backup menu gives you the options to backup rootfs, optfs or both.

- optfs means all the files located in /opt.
- rootfs means all the files located in / (on partition ubi0:rootfs)

rootfs is the vital filesystem for booting the kernel and other nessecities.

ade 2012-01-08 15:52

Re: A way to flash without USB?
 
Quote:

Originally Posted by mr_pingu (Post 1147473)
Why did my device broke then when restoring a backup with other kernel? That's what I mean, if you switch kernel with backupmenu you have an unbootable device...

It could be that you had some dependencies on /opt.

That is why it is advised to restore both / and /opt from a same backup. The /opt and / images in the link will correspond.

That's my thought anyway ...

p.s. I have done a pk48 rootfs restore on a pk49 installed N900. No problem.

Pondake 2012-01-08 18:32

Re: A way to flash without USB?
 
Quote:

Originally Posted by ade (Post 1147477)
It could be that you had some dependencies on /opt.

That is why it is advised to restore both / and /opt from a same backup. The /opt and / images in the link will correspond.

That's my thought anyway ...

p.s. I have done a pk48 rootfs restore on a pk49 installed N900. No problem.

Another new thing!? What is the difference between these? pk48, and 49?

Would I really be safe if I backup/flash it ?

ade 2012-01-08 18:48

Re: A way to flash without USB?
 
Quote:

Originally Posted by Pondake (Post 1147529)
Another new thing!? What is the difference between these? pk48, and 49?

Would I really be safe if I backup/flash it ?

pk=Power Kernel. Not interesting in this context, but just mentioned to demonstrate a restore can be done while using another kernel version.

Now what do you want to achieve? You currently have a proper functioning N900 as I understand (except from the USB) that you want to be able to restore without USB? Then start with installing the backup menu and make backups. It can always be usefull, if only to extract certain files from it. No guarantees everything will always work 100%, but a backup is a good starting point in case of trouble.

Pondake 2012-01-08 18:57

Re: A way to flash without USB?
 
Quote:

Originally Posted by ade (Post 1147536)
pk=Power Kernel. Not interesting in this context, but just mentioned to demonstrate a restore can be done while using another kernel version.

Now what do you want to achieve? You currently have a proper functioning N900 as I understand (except from the USB) that you want to be able to restore without USB? Then start with installing the backup menu and make backups. It can always be usefull, if only to extract certain files from it. No guarantees everything will always work 100%, but a backup is a good starting point in case of trouble.

I want to start clean, and install everything I need except everything I want. Start over with a clean rootfs except 1MB being free.

So making a backup now, and restore the backup which was provided on an earlier reply, will make the n900 unbrickable?

Oh and I was just being stupid, I knew what Power Kernel was as I'm using it, but just didn't knew that PK was Power Kernel. :rolleyes:

Estel 2012-01-08 18:57

Re: A way to flash without USB?
 
Backupmenu doesn't backup kernel. Kernel image in /boot/ is totally different thing - actual kernel used sits in special part of NAND, that isn't possible to being written via dd or tar -x. That's why You need flasher (be it on-device, or flasher3.5), to flash kernel.

Anyway, person with broken USB port, can easily re-estabilish connection via test pins beneath battery. Search forum for howto. One remainder - there was a FUD, that testpins omits protection circuits, and connect to chip directly. It isn't true - the only part that is not present - compared to regular U$SB port - is common mode choke. This, if used with poorly shielded cable and enviroment with high interferences, may lead to problems in getting full USB 2.0 speed, but certainly won't ''blow up'' Your chip.

/Estel

Pondake 2012-01-08 19:00

Re: A way to flash without USB?
 
Quote:

Originally Posted by Estel (Post 1147541)
Backupmenu doesn't backup kernel. Kernel image in /boot/ is totally different thing - actual kernel used sits in special part of NAND, that isn't possible to being written via dd or tar -x. That's why You need flasher (be it on-device, or flasher3.5), to flash kernel.

Anyway, person with broken USB port, can easily re-estabilish connection via test pins beneath battery. Search forum for howto. One remainder - there was a FUD, that testpins omits protection circuits, and connect to chip directly. It isn't true - the only part that is not present - compared to regular U$SB port - is common mode choke. This, if used with poorly shielded cable and enviroment with high interferences, may lead to problems in getting full USB 2.0 speed, but certainly won't ''blow up'' Your chip.

/Estel

I'll definitely will look after this, thanks for your time Estel !

ade 2012-01-08 20:07

Re: A way to flash without USB?
 
Quote:

Originally Posted by Estel (Post 1147541)
Backupmenu doesn't backup kernel. Kernel image in /boot/ is totally different thing - actual kernel used sits in special part of NAND, that isn't possible to being written via dd or tar -x. That's why You need flasher (be it on-device, or flasher3.5), to flash kernel.

/Estel

Estel,
I am pretty sure in my multiboot configuration, /boot/multiboot/vmlinuz-2.6.28.10-power49 is my kernel image, just like /boot/multiboot/vmlinuz-2.6.28.NIT.07 is my nitdroid kernel image. Remove it, and you can't start your system. Now you say it is a totally different thing. You may be right for a non-multiboot system (then it uses the fiasco image in my opinion), but not in my case.

Please elaborate on this if you can show me I am wrong.


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

vBulletin® Version 3.8.8