Author Topic: GP Revolution GPL, Gaia and Gecko code  (Read 20180 times)

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
GP Revolution GPL, Gaia and Gecko code
« on: March 27, 2014, 03:54:43 AM »
As we promised here you can get the code that legaly we need to share. With this code it's not possible to build a full image for Revolution (neither Android or FFOS), so dont ask for it right now. We are working to get some way for you to build your own images, and it will be released when it's ready.

With Gaia and Gecko source code you can change FFOS for Revolution, for more info about how to build it search in MDN (Mozilla Developer Network) webpage.

Gaia: https://github.com/gp-b2g/gp-revolution-gaia
Gecko: https://github.com/gp-b2g/gp-revolution-gecko
GPL sources: http://gpfostemp.s3.amazonaws.com/GP_Revolution_GPL%20Source.zip

Offline Neuromancer2013

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
  • Karma: 8
  • Where is Wintermute?
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #1 on: March 27, 2014, 11:54:09 AM »
First of all, thank you very much for your and Geeksphone's efforts to make the code public ...

Quote
GPL sources: http://gpfostemp.s3.amazonaws.com/GP_Revolution_GPL%20Source.zip

At least we need some access permissions to get the zip-file from Amazon's S3.
Would you please help?

Neuromancer

Offline new299

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
  • Karma: 0
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #2 on: March 27, 2014, 08:29:51 PM »
The zip file you reference can not be downloaded and gives an "Access Denied" error.

Offline c.martinez.lozano

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 661
  • Karma: 97
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #3 on: March 27, 2014, 09:04:50 PM »
Now the access is public, sorry about the incovenience

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #4 on: March 28, 2014, 01:41:57 AM »
My fault, i forgot to give download permissions  :-[

Offline Cwiiis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
  • Karma: 4
    • View Profile
    • ChrisLord.net
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #5 on: March 28, 2014, 04:42:15 AM »
Fantastic! It's a shame that this is just a source dump and there's no B2G build manifest, but I think we can start working from here :)

Will you be publishing your build manifest(s) too?

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #6 on: March 28, 2014, 08:00:22 AM »
Yes, we are working in get a way to compile a image with some binaries which source code cannot publish.

Offline Cwiiis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
  • Karma: 4
    • View Profile
    • ChrisLord.net
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #7 on: March 28, 2014, 09:50:35 AM »
Could you share what revisions of Gecko/Gaia these are branched from? Trying to find this out manually is turning out to be quite a pain...

For Gecko, using a script that tries to minimise the diff, I end up with somewhere around December, then cherry-picking patches perhaps, but that doesn't seem right at all to me (given you're building 1.3 images and they don't seem *that* old)

Offline Cwiiis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
  • Karma: 4
    • View Profile
    • ChrisLord.net
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #8 on: March 28, 2014, 10:21:37 AM »
Heh, and just as I say that, I find it :)

If you're working on gecko-dev (https://github.com/mozilla/gecko-dev), the Gecko here appears to be based on commit 72f48b27377cc2d7b1ef4becce004ea7229a90cb, which is March 24th on the b2g_v1_3 branch. This is probably give or take a few revisions either way, but this is the minimal difference for at least a few dozen revisions either side.

Most of the changes appear to be build related, then:
- disable GPU-accelerated canvas
- Intel-specific RIL changes
- Allow use of deprecated TextureClient/Host (does this even work...?)
- A (PVR specific?) change to YCrCb_420 format conversion
- Some vendor-specific changes to Gralloc/HAL formats
- Some other changes to GrallocTextureClient I don't really understand out of context, but look to be chipset-specific oddities
- Clovertrail-specific battery status reading change
- Removal of a load of audio/video stuff (I assume replaced by binary components?)
- Some allowed system call changes (which are unfortunately muddled due to whitespace changes)
- Removal of gralloc buffer fences for Android JB version < 18

I think getting this building without Geeksphone's help is going to be quite a task, I may wait a bit longer :) The build system changes are the trickiest bit, there are too many thousands of lines for me to read through and understand why the changes have been made.

The delta is not *too* large though, I have high hopes that we'll be building Revolution images in the not-too-far future :)

Offline Cwiiis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
  • Karma: 4
    • View Profile
    • ChrisLord.net
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #9 on: March 28, 2014, 10:30:48 AM »
These are the actual Gecko changes, I believe: https://pastebin.mozilla.org/4712755

Offline Cwiiis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 33
  • Karma: 4
    • View Profile
    • ChrisLord.net
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #10 on: April 07, 2014, 03:16:28 AM »
I realise a week isn't a huge amount of time, was just wondering if there's any update on this? I'd love to be able to build images for this device before the FirefoxOS reference device becomes available (soon, I think).

Offline derstef

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
  • Karma: 1
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #11 on: April 18, 2014, 12:13:23 PM »
Thank you for your look into the code.
As an owner of a revolution i would be happy to see all the GP changes in the official tree and be able to build releases from there instead of using the GP fork.

Offline xinouch

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 169
  • Karma: 13
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #12 on: April 28, 2014, 06:39:06 AM »
great to hear that we will have android 4.4 and cyanogenmod 11 on the revolution.

can we also have all the components to build firefox os ourself ? that would be amazing ;)

Offline Bada3.0

  • Sr. Member
  • ****
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 381
  • Karma: 36
  • FREIHEIT!
    • View Profile
    • FIREFOXER
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #13 on: April 28, 2014, 07:25:46 AM »
great to hear that we will have android 4.4 and cyanogenmod 11 on the revolution.

can we also have all the components to build firefox os ourself ? that would be amazing ;)

I couldn't believe it when I was reading it - sorry german article:

http://www.telekom-presse.at/geeksphone_revolution_mit_android_4-4_kitkat_oder_firefox_os_2-0_ab_1-_mai_um_199_euro.id.30193.htm

On 1. May Geeksphone wants to sell GP Revolution for 199 € with Android 4.4, CM11 or Firefox 2.0 (!!!)

Can someone prove that information? unbelievable for me!  :) :D


EDIT: There are PLANS for Firefox OS 2.0 - it's not done yet  ;D that would be too fast  ;)
« Last Edit: April 28, 2014, 07:28:29 AM by Bada3.0 »
Geeksphone Revolution
ZTE Open C (FFOS 2.2)
Samsung Wave II

Havin' problems with connecting your GP Revolution with ADB or want to add some features or some improvements? Try my little scripting project "FIREFOXER" and tell me your opinion :-)

--> http://forum.geeksphone.com/index.php?topic=6063.0

Offline Rodrigo (gp)

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 23
  • Posts: 2083
  • Karma: 27
    • View Profile
Re:GP Revolution GPL, Gaia and Gecko code
« Reply #14 on: April 28, 2014, 07:37:16 AM »
great to hear that we will have android 4.4 and cyanogenmod 11 on the revolution.

can we also have all the components to build firefox os ourself ? that would be amazing ;)

I couldn't believe it when I was reading it - sorry german article:

http://www.telekom-presse.at/geeksphone_revolution_mit_android_4-4_kitkat_oder_firefox_os_2-0_ab_1-_mai_um_199_euro.id.30193.htm

On 1. May Geeksphone wants to sell GP Revolution for 199 € with Android 4.4, CM11 or Firefox 2.0 (!!!)

Can someone prove that information? unbelievable for me!  :) :D


EDIT: There are PLANS for Firefox OS 2.0 - it's not done yet  ;D that would be too fast  ;)

Hi Bada 3.0

The engineering team in charge is starting to work on it.... ;)