maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Help with kernel flasher (https://talk.maemo.org/showthread.php?t=14500)

dbenne00 2008-01-06 06:05

Help with kernel flasher
 
I'm totally new at this, and searched for some help... but no luck.

I am trying to use the kernel_flasher to install the support for high speed MMC cards and fixes. I have my 770 in red-pill mode (not sure if that's necessary), have root access, and am trying to run "sh kernel_flash zImage-48MHz" from "media/mmc1/kernel_flasher".

I am getting a series of errors:
./xxd: Permision denied
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
This is not a valid kernel image, cowardly exiting.

Can someone point me in the right direction?

Thanks.

GeneralAntilles 2008-01-06 06:18

Re: Help with kernel flasher
 
Flashing has to be done from a desktop. You didn't actually think you could overwrite a running kernel with another one, did you? :p

fanoush 2008-01-06 08:41

Re: Help with kernel flasher
 
extract flasher directly to internal flash, do not run it from mmc, do not use 'sh ..'
just something like
Code:

cd
tar zxvf /media/mmc1/kernel_flasher.tgz
./kernel_flasher/kernel_flash /media/mmc1/zImage


fanoush 2008-01-06 08:56

Re: Help with kernel flasher
 
Quote:

Originally Posted by GeneralAntilles (Post 121767)
Flashing has to be done from a desktop. You didn't actually think you could overwrite a running kernel with another one, did you? :p

You can. Kernel is unzipped to RAM at boot time, kernel flash partition sits unused while it runs.
http://fanoush.wz.cz/maemo/#kernelflasher
Actually the kernel flasher is 'safer' than initfs flasher. Initfs partition is rewritten while it is mounted and dsme and bme run from it.

dbenne00 2008-01-06 15:43

Re: Help with kernel flasher
 
Quote:

Originally Posted by fanoush (Post 121796)
extract flasher directly to internal flash, do not run it from mmc, do not use 'sh ..'
just something like
Code:

cd
tar zxvf /media/mmc1/kernel_flasher.tgz
./kernel_flasher/kernel_flash /media/mmc1/zImage


Thanks, that did the trick!

Thanks also for this great kernel update. Now I can transfer large files to my 770 using WiFi or USB without it rebooting after a few minutes. Not to mention the fact that the transfer rate is now well over 4X what it used to be.


All times are GMT. The time now is 01:59.

vBulletin® Version 3.8.8