On Sat, 6 Dec 2008 12:47:31 -0500
Ryan Abel <[EMAIL PROTECTED]> wrote:

> On Dec 6, 2008, at 1:47 PM, pancake wrote:
> 
> > As i read in the last update of the OS. Nokia provides now an OTA  
> > flashing
> > utility which allows to update the device without using an external
> > computer and USB. (i didnt update my n810 yet, but i would be  
> > interested
> > to see how it works :)
> 
> 
> Not entirely, it only flashes the kernel and initfs images. That does  
> bring the question of, though, will the fiasco-flasher also be opened?
> 

Well, certainly it is not a flashing problem.

The problem lives in the fiasco format of the last firmware (RX44). There's
some 0xff padding as a second header (the rest of headers are filled), my
flasher was just stopping because of unknown header, but now it is skipped
and works properly with all the current available images :)

I have also implemented a hw revision identification that can be forced
manually using the '-S' (sub-version) flag.

Now the piece names appends the version and sub-version strings. So no
dupped dump problem now. This fixes the problem of flashing parts of
the firmware of another sub-version (hw revision) of the device.

So, now I can say that 0xFFFF works properly for flashing directly fiasco
images.

I will release the 0.4 version this week after doing some work. I also plan
to build it for linux x86-32,64,arm and mips as deb and rpm. If I have some
spare time I can try to build it also on a powerpc macosx and w32, but help
is welcome :)

I want to make little code cleanup and make the output of the flasher messages
be more nice. Here's the current output after flashing my n810 with the
last firmware:

(0xFFFF -RF = Flash and reboot)

$ 0xFFFF -RF RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin
found n770/n810 (0421:0105)
Software Version: RX-44_DIABLO_4.2008.36-5_PR_MR0
HW revision string: 'prod_code:RX-44,hw_rev:0805'
SubVersionString autodetected: '0805'
Root device is: flash
Device's USB mode is 'client'
Current rd flag setting:
disable OMAP watchdog  : not set
disable RETU watchdog  : not set
disable lifeguard reset: not set
enable serial console  : not set
disable USB timeout    : not set
Software Version: RX-44_DIABLO_4.2008.36-5_PR_MR0
HW revision string: 'prod_code:RX-44,hw_rev:0805'
SubVersionString autodetected: '0805'
==> (xloader) xloader-RX-44,0808-1.1.16-200833maemo1
Skipping 'xloader-RX-44,0808-1.1.16-200833maemo1' does not matches -S subversion
ignored
==> (xloader) 
xloader-RX-44,0801,0802,0803,0804,0805,0806,0901,0902-1.1.16-200833maemo1
Flashing 
xloader-RX-44,0801,0802,0803,0804,0805,0806,0901,0902-1.1.16-200833maemo1 
(xloader)
| hash: 0x9016 size: 9216 (00 00 24 00)
[=] Bulkwriting the xloader piece...
100% [#################################################################]
xloader flashed not commiting until secondary arrives...
Flash done succesfully.
==> (secondary) secondary-RX-44,0808-1.1.16-200833maemo1
Skipping 'secondary-RX-44,0808-1.1.16-200833maemo1' does not matches -S 
subversion
ignored
==> (secondary) 
secondary-RX-44,0801,0802,0803,0804,0805,0806,0901,0902-1.1.16-200833maemo1
Flashing 
secondary-RX-44,0801,0802,0803,0804,0805,0806,0901,0902-1.1.16-200833maemo1 
(secondary)
| hash: 0x7ec8 size: 100736 (00 01 89 80)
[=] Bulkwriting the secondary piece...
100% [#################################################################]
Flash done succesfully.
==> (kernel) kernel-2.6.21-200835maemo1
Flashing kernel-2.6.21-200835maemo1 ((null))
Unknown piece type
==> (initfs) initfs-0.95.19-200835maemo2
Flashing initfs-0.95.19-200835maemo2 (initfs)
| hash: 0x7b2 size: 2327808 (00 23 85 00)
[=] Bulkwriting the initfs piece...
100% [#################################################################]
Flash done succesfully.
==> (rootfs) rootfs-RX-34+RX-44+RX-48_DIABLO_4.2008.36-5_PR_MR0
Flashing rootfs-RX-34+RX-44+RX-48_DIABLO_4.2008.36-5_PR_MR0 (rootfs)
| hash: 0xd66e size: 125698048 (07 7e 00 00)
[=] Bulkwriting the rootfs piece...
100% [#################################################################]
Flash done succesfully.

Enjoy! :)


  --pancake
_______________________________________________
maemo-community mailing list
maemo-community@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-community

Reply via email to