maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI (https://talk.maemo.org/showthread.php?t=84193)

humble 2012-05-10 17:58

[WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
1 Attachment(s)
This is obsolete please refer to current release.

HSDK = Harmattan SDK


Prerequisite:

1.Flash openkernel, follow the instructions from http://talk.maemo.org/showthread.php?t=81579.

2.Get HarmChom, http://talk.maemo.org/showthread.php?t=82114 follow instruction on how to set this up. i recommend trying qole's project out too.

3.Put binaries of HSDK in /bin ,replace tar binary with new one( its from rootstrap) chmod a+x newly anded files

4.Download rootstrap from http://harmattan-dev.nokia.com/d6.ph...-rootstrap.tgz put it in MyDocs.

5.run "sdk-installer".

6.reboot(try 7 first).

7.run "sdk-starter"(this will start qchroot "HSDK")

note: run as root

Files include: names are self explanatory
sdk-installer
sdk-remover
sdk-starter
sdk-stopper
tar
sdk-installer.cpp
sdk-remover.cpp
sdk-starter.cpp
sdk-stopper.cpp

This is intended for those of us who would like to compile on the device with out complicating the system. if any of that makes senses to you then this is for you.

Current release : http://talk.maemo.org/showpost.php?p...8&postcount=16

humble 2012-05-11 14:00

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
2 Attachment(s)
i made a deb this morning (i can't test it) but let me know how it go's.

Edit: i need to rework the deb.

Edit: in this version you still have to chmod a+x accordingly,
and it looks for any .tgz in MyDocs so make sure the rootstrap is the only. tgz in that directory.

ejasmudar 2012-05-11 14:05

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Wow this is very interesting. Downloading rootstrap now

rcolistete 2012-05-12 01:16

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Quote:

Originally Posted by humble (Post 1204870)
4.Download rootstrap from http://harmattan-dev.nokia.com/d6.ph...-rootstrap.tgz put it in MyDocs.

Why not use the Harmattan SDK final rootstrap ?

humble 2012-05-12 05:13

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Quote:

Originally Posted by rcolistete (Post 1205531)

will do in next release.

humble 2012-05-12 17:44

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
OK I was playing around with the digsigsums, couldn't quite get it to work ... but now I have a working deb.

Edit: in this version you still have to chmod a+x accordingly,
and it looks for any .tgz in MyDocs so make sure the rootstrap is the only. tgz in that directory

humble 2012-05-14 20:20

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
i managed to build a proper deb (with Qt Creator) manifests and all that. i could add HarmChom to the package but its not my project. with that being said Prerequisite 1, 2, 4 still has to be done. theres a new one.

- first time uses you must install SDK from cmd line as root "hsdk -i".

then your free to start chroot from desktop.

note: remember that the rootstrap during installation should be the only .tgz in the MyDocs directory.

Parameters:
"-h help shows parameters"
"-i installs SDK"
"-r removes SDK"
"-s starts SDK"
"-e ends SDK"
"-v shows version"

humble 2012-06-11 22:43

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
hsdk (0.0.3)

* added binary blkid (to tell what kind of file system is in the image) plus its lib.
* added postinst, prerm script to .deb .
* added the ability to create images with filesystem, create mount directory, mount any image.

rcolistete 2012-07-23 18:59

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
After many trials to run HSDK on normal kernel & Inception, I am 95% sure that hsdk installation bricks (next reboot it keep rebooting) the MeeGo Harmattan OS when open mode kernel is not used. A firmware reflash fixes this problem (but all extra softwares are deleted).

Anyway, using HSDK I've created a "Harmattan SDK final" image and it works well with qchroot (from HarmChom), without HSDK.

(Update) I've tested HSDK 0.0.3 and looking inside the .deb, there are some system file changes, maybe they are the reason of boot loop when using Inception (and without open mode kernel) on my N9.
Previous versions of HSDK don't have system file changes, maybe they can be used with Inception & without open mode kernel. But I can't risk to test it now as my N9 is well configured and being used a lot.

(2nd update) HSDK 0.0.1 works 100% ok for Inception users (without open mode kernel), see post #13.

www.rzr.online.fr 2012-07-23 19:14

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
cool idea ; I'd like to rebuild for shared repo

it may become the 500th package too ...

wanna share the src / link to .dsc is fine

regards


All times are GMT. The time now is 22:39.

vBulletin® Version 3.8.8