Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nexus S doesn't boot with master Gecko/Gaia branch

74 views
Skip to first unread message

Masashi Honma

unread,
May 11, 2013, 5:24:54 AM5/11/13
to dev...@lists.mozilla.org
I have built a tree for Nexus S.

I have dropped old source tree and newly type these commands.

$ git clone git://github.com/mozilla-b2g/B2G.git
$ cd B2G/
$ BRANCH=master ./config.sh nexus-s
$ ./build.sh -j8
$ ./flash.sh
$ ./flash.sh gaia

Build finished successfully, but after "./flash.sh gaia" Firefox OS
displays only black screen.
I tried "make reset-gaia" but nothing changed.

I attached a log of "./flash.sh gaia" command because it has some errors.

Is there any advice ?

Regards,
Masashi Honma.

Cesar Carruitero

unread,
May 11, 2013, 6:47:52 PM5/11/13
to dev...@lists.mozilla.org
Hi,

Maybe you can try with another branch


2013/5/11 Masashi Honma <masash...@gmail.com>
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
>

Masashi Honma

unread,
May 11, 2013, 8:33:27 PM5/11/13
to Cesar Carruitero, dev...@lists.mozilla.org
Hi, Cesar Carruitero.

I know v1-train works.

But I need to make a patch for master branch.

Is there any way to use master branch ?


2013/5/12 Cesar Carruitero <ce...@mozilla.pe>:

Chris Double

unread,
May 11, 2013, 8:34:44 PM5/11/13
to Masashi Honma, dev...@lists.mozilla.org
On Sat, May 11, 2013 at 9:24 PM, Masashi Honma <masash...@gmail.com> wrote:
> Is there any advice ?

Master branch of Gecko hasn't worked for Nexus S since the layers
refactoring. You'll need to use the v1-train branch. You can use
master gaia with this though. See:

<http://bluishcoder.co.nz/2013/04/22/running-firefox-os-on-nexus-s.html>

Chris.
--
http://www.bluishcoder.co.nz

"平田修樹 (Naoki Hirata)"

unread,
May 12, 2013, 4:50:39 AM5/12/13
to dev...@lists.mozilla.org
Honma-san, what error are you getting? you can logcat the device and see
if there's some sort of error in the logcat that will help understand
why you are getting the blackscreen.

-Naoki

On 5/11/13 5:33 PM, Masashi Honma wrote:
> Hi, Cesar Carruitero.
>
> I know v1-train works.
>
> But I need to make a patch for master branch.
>
> Is there any way to use master branch ?
>
>
> 2013/5/12 Cesar Carruitero <ce...@mozilla.pe>:
>> Hi,
>>
>> Maybe you can try with another branch
>>
>>
>> 2013/5/11 Masashi Honma <masash...@gmail.com>
>>
>>> I have built a tree for Nexus S.
>>>
>>> I have dropped old source tree and newly type these commands.
>>>
>>> $ git clone git://github.com/mozilla-b2g/B2G.git
>>> $ cd B2G/
>>> $ BRANCH=master ./config.sh nexus-s
>>> $ ./build.sh -j8
>>> $ ./flash.sh
>>> $ ./flash.sh gaia
>>>
>>> Build finished successfully, but after "./flash.sh gaia" Firefox OS
>>> displays only black screen.
>>> I tried "make reset-gaia" but nothing changed.
>>>
>>> I attached a log of "./flash.sh gaia" command because it has some errors.
>>>
>>> Is there any advice ?
>>>

Masashi Honma

unread,
May 12, 2013, 9:19:59 AM5/12/13
to Chris Double, dev...@lists.mozilla.org
Thanks, Chris. I could built and it works !

2013/5/12 Chris Double <chris....@double.co.nz>:
> On Sat, May 11, 2013 at 9:24 PM, Masashi Honma <masash...@gmail.com> wrote:
>> Is there any advice ?
>

Masashi Honma

unread,
May 12, 2013, 9:52:45 AM5/12/13
to 平田修樹 (Naoki Hirata), dev...@lists.mozilla.org
Hirata-san, I have compared failed log and succeeded log.

Only failed log has multiple this line.

-------------
W/GraphicBufferMapper( 195): unlock(...) failed -22 (Invalid argument)
-------------

I will send both log to your address. Because the log has AP mac
address (includes not mine).

2013/5/12 "平田修樹 (Naoki Hirata)" <nhi...@mozilla.com>:
>>>> Is there any advice ?
>>>>

Panagiotis Astithas

unread,
May 12, 2013, 11:42:43 AM5/12/13
to Chris Double, Mozilla B2G mailing list
On May 12, 2013 3:35 AM, "Chris Double" <chris....@double.co.nz> wrote:
>
> On Sat, May 11, 2013 at 9:24 PM, Masashi Honma <masash...@gmail.com>
wrote:
> > Is there any advice ?
>
> Master branch of Gecko hasn't worked for Nexus S since the layers
> refactoring. You'll need to use the v1-train branch. You can use
> master gaia with this though. See:
>
> <http://bluishcoder.co.nz/2013/04/22/running-firefox-os-on-nexus-s.html>

Wouldn't it make sense in that case to change the manifests for nexus-s so
that config.sh gives you v1-train gecko and master gaia by default?

Panos

Chris Double

unread,
May 12, 2013, 8:03:20 PM5/12/13
to Panagiotis Astithas, Mozilla B2G mailing list
On Mon, May 13, 2013 at 3:42 AM, Panagiotis Astithas <pas...@gmail.com> wrote:
> Wouldn't it make sense in that case to change the manifests for nexus-s so
> that config.sh gives you v1-train gecko and master gaia by default?

I don't know how the config.sh system works so I don't know. If you
know how to do it try submitting a patch and see what the b2g devs
say.

Chris.
--
http://www.bluishcoder.co.nz

Panos Astithas

unread,
May 13, 2013, 6:46:05 AM5/13/13
to Chris Double, Mozilla B2G mailing list
On Mon, May 13, 2013 at 3:03 AM, Chris Double <chris....@double.co.nz>wrote:

> On Mon, May 13, 2013 at 3:42 AM, Panagiotis Astithas <pas...@gmail.com>
> wrote:
> > Wouldn't it make sense in that case to change the manifests for nexus-s
> so
> > that config.sh gives you v1-train gecko and master gaia by default?
>
> I don't know how the config.sh system works so I don't know. If you
> know how to do it try submitting a patch and see what the b2g devs
> say.
>

I took a look, and it looks like specifying a particular branch for a
single repo like gaia would require modifications to the repo command,
which is something that hasn't been touched so far in b2g AFAICT. Modifying
the manifest file after using "./config.sh nexus-s" or the manual checkout
you recommend in your blog post seem better than a temporary hack that will
be obsolete once work on v1.2 begins.

Panos

Masashi Honma

unread,
May 11, 2013, 7:40:57 PM5/11/13
to Cesar Carruitero, dev...@lists.mozilla.org
Hi, Cesar Carruitero.

I know v1-train works.

But I need to make a patch for master branch.

Is there any way to use master branch ?




2013/5/12 Cesar Carruitero <ce...@mozilla.pe>:
> Hi,
>
> Maybe you can try with another branch
>
>
> 2013/5/11 Masashi Honma <masash...@gmail.com>
>
>> I have built a tree for Nexus S.
>>
>> I have dropped old source tree and newly type these commands.
>>
>> $ git clone git://github.com/mozilla-b2g/B2G.git
>> $ cd B2G/
>> $ BRANCH=master ./config.sh nexus-s
>> $ ./build.sh -j8
>> $ ./flash.sh
>> $ ./flash.sh gaia
>>
>> Build finished successfully, but after "./flash.sh gaia" Firefox OS
>> displays only black screen.
>> I tried "make reset-gaia" but nothing changed.
>>
>> I attached a log of "./flash.sh gaia" command because it has some errors.
>>
>> Is there any advice ?
>>

Masashi Honma

unread,
May 12, 2013, 9:51:03 AM5/12/13
to 平田修樹 (Naoki Hirata), dev...@lists.mozilla.org
Hirata-san, I have compared failed log and succeeded log.

Only failed log has multiple this line.

-------------
W/GraphicBufferMapper( 195): unlock(...) failed -22 (Invalid argument)
-------------

I will send both log to your address. Because the log has AP mac
address (includes not mine).

2013/5/12 "平田修樹 (Naoki Hirata)" <nhi...@mozilla.com>:
> Honma-san, what error are you getting? you can logcat the device and see if
> there's some sort of error in the logcat that will help understand why you
> are getting the blackscreen.
>
> -Naoki
>
>
> On 5/11/13 5:33 PM, Masashi Honma wrote:
>>

Dave Hylands

unread,
May 13, 2013, 11:25:13 AM5/13/13
to Masashi Honma, dev...@lists.mozilla.org, Cesar Carruitero
> I know v1-train works.
>
> But I need to make a patch for master branch.
>
> Is there any way to use master branch ?

BRANCH=master ./config.sh nexus-s

Dave Hylands

Julien Wajsberg

unread,
May 15, 2013, 8:23:51 AM5/15/13
to Panos Astithas, Mozilla B2G mailing list, Chris Double
It seems to me it is as easy as modifying the manifest for nexus-s in
the master branch:
see
https://github.com/mozilla-b2g/b2g-manifest/blob/v1-train/nexus-s.xml#L17 (v1-train)
vs
https://github.com/mozilla-b2g/b2g-manifest/blob/master/nexus-s.xml#L25
(master)


However I don't know if that is desirable.

--
Julien


signature.asc

Panos Astithas

unread,
May 15, 2013, 8:35:22 AM5/15/13
to Julien Wajsberg, Mozilla B2G mailing list, Chris Double
Huh, somehow I thought that repo modified it based on command line
arguments and environment variables. Although I think it would be better to
modify the manifest on v1-train, since that would be a one-line change. The
working combination is everything on v1-train and gaia on master. That
seems like a good solution to me until master is working again on nexus-s.

Thanks,
Panos

Panos Astithas

unread,
May 17, 2013, 4:32:57 PM5/17/13
to Julien Wajsberg, Mozilla B2G mailing list, Chris Double
Filed bug 873639 with a pull request to do just that.

Panos

Panos Astithas

unread,
May 25, 2013, 3:26:27 PM5/25/13
to Chris Double, Mozilla B2G mailing list
On Sun, May 12, 2013 at 3:34 AM, Chris Double <chris....@double.co.nz>wrote:

> On Sat, May 11, 2013 at 9:24 PM, Masashi Honma <masash...@gmail.com>
> wrote:
> > Is there any advice ?
>
> Master branch of Gecko hasn't worked for Nexus S since the layers
> refactoring. You'll need to use the v1-train branch.


Hi Chris,

do you happen to know if there is a bug on file for this, or if there is a
plan to fix it? What would it take to get the master branch working again
on Nexus S?

Thanks,
Panos

Chris Double

unread,
Jun 6, 2013, 11:49:38 PM6/6/13
to Panos Astithas, Mozilla B2G mailing list
On Sun, May 26, 2013 at 7:26 AM, Panos Astithas <pa...@mozilla.com> wrote:
>> Master branch of Gecko hasn't worked for Nexus S since the layers
>> refactoring. You'll need to use the v1-train branch.
>
> do you happen to know if there is a bug on file for this, or if there is a
> plan to fix it? What would it take to get the master branch working again on
> Nexus S?

Yes, it's bug 871624: https://bugzilla.mozilla.org/show_bug.cgi?id=871624

Chris
--
http://www.bluishcoder.co.nz

Kyle Machulis

unread,
Jun 7, 2013, 2:37:58 PM6/7/13
to Chris Double, Panos Astithas, Mozilla B2G mailing list
I'll be landing this today, so hopefully master should be back on track by tomorrow.
0 new messages