Reply
Thread Tools
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#11
You could package it to substitute the original binary as it's done by the enhanced busybox version.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#12
I think it is not good idea to create package which substitute package. Then we will have package which substitute package which substitute package which substitute package...

No Debian system is doing this

And as I wrote I need to fix some code...
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#13
Originally Posted by pali View Post
I think it is not good idea to create package which substitute package. Then we will have package which substitute package which substitute package which substitute package...

No Debian system is doing this

And as I wrote I need to fix some code...
Recodes of the other things will come. I have a vested interest in seeing an /sbin/preinit replacement (or licensing change - not that I'm hoping that'll go through) that permits for proper OSS-style redistribution.

As for the other pieces, I honestly don't see what's wrong with packaging open-getbootstate seperately at first, and the making a 'proper' package replacement once all the components are available in properly open form.

Up to you and the CSSU people of course, but I don't think an open replacement of a closed part should be kept from the CSSU, especially when we don't know when or if everything that belonged to the same Nokia stock package will get recoded.
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#14
Originally Posted by pali View Post
And as I wrote I need to fix some code...
Oh, I never addressed this point - what's the code you think needs fixing up?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#15
correct saving boot state for DSME. Now it save in harmattan format, this need to rewrite for fremantle version. DSME is open, so I need only time to fix that. You can see in my getbootstate commented code, which force to always write boot state to DSME file.
 

The Following 5 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#16
Next problem is that my version (patched harmattan) use system time to detect frequently boot counts. But on Maemo 5 system time is read from HW in later boot. So getbootstate still gets < 60 seconds timestamps.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#17
Fixed problem with time. Now it only use reset boot count and watchdog reset count (in fremantle watchdog is not used, but it does not break anything). Updated sources are on: https://code.launchpad.net/~pali/+ju...o_getbootstate
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#18
I got the opportunity to test your getbootstate on a second, completely newly reflashed N900 (fiasco and eMMC), without any other modifications involved in the boot.

I just wanted to say that it works perfectly on this N900 too, with almost completely stock settings (this is not, however, your latest update that fixed the problem with time, but the one I compiled earlier - but that shouldn't make a difference).

So as I understand it you only have to fix the format in which it saves the bootstate for DSME and then it's ready for CSSU inclusion?
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
djdas's Avatar
Posts: 77 | Thanked: 49 times | Joined on Apr 2010 @ Italy
#19
By reading the whole post (and better the rest of the thread) not only that sentence
 

The Following User Says Thank You to djdas For This Useful Post:
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#20
Now that a "stable" CSSU has been created, is there any more chance of this being moved into the "testing/sid" CSSU?
 
Reply

Tags
free maemo!, getbootstate, open source


 
Forum Jump


All times are GMT. The time now is 21:16.