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

B2G on Raspberry Pi

474 views
Skip to first unread message

pd .

unread,
Jun 23, 2012, 12:48:40 PM6/23/12
to mozilla...@lists.mozilla.org
Hi

Has anyone heard of B2G running on a Raspberry Pi?

Can anyone think of a reason why B2G would not currently run on Raspberry Pi considering B2G supports ARM6 architecture, the same as the Raspberry Pi chip?

Thanks
pd

Marcio Galli

unread,
Jun 24, 2012, 7:13:44 PM6/24/12
to pd ., mozilla...@lists.mozilla.org
I also wonder if someone was able to deploy B2G with tablets or other
Arm system different of a smartphone

m
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g



--
www.telasocial.com

Ben Francis

unread,
Jun 25, 2012, 8:44:58 AM6/25/12
to pd ., mozilla...@lists.mozilla.org
On Sat, Jun 23, 2012 at 6:48 PM, pd . <an0n...@gmail.com> wrote:

> Has anyone heard of B2G running on a Raspberry Pi?
>

As far as I know, nobody has done this yet. The porting guide is really for
porting devices that originally ship with Android so may not be that
helpful https://wiki.mozilla.org/B2G/Porting

Something that shouldn't be too difficult to do is to use a desktop build
of B2G in full screen mode, running on top of Debian (Raspbian) which
already runs on a Raspberry Pi.

If a member of the community wanted to work on this, it would be a great
thing to demo at a Raspberry Jam event (the one in London is hosted by
Mozilla and I'm hoping to attend one in Cambridge at some point).

If my Raspberry Pi ever arrives, I might even try it myself. One day.

Ben

--
Ben Francis
http://tola.me.uk

Fabrice Desre

unread,
Jun 25, 2012, 8:48:33 AM6/25/12
to dev...@lists.mozilla.org
On 06/25/2012 05:44 AM, Ben Francis wrote:
> On Sat, Jun 23, 2012 at 6:48 PM, pd . <an0n...@gmail.com> wrote:
>
>> Has anyone heard of B2G running on a Raspberry Pi?
>>
>
> As far as I know, nobody has done this yet. The porting guide is really for
> porting devices that originally ship with Android so may not be that
> helpful https://wiki.mozilla.org/B2G/Porting
>
> Something that shouldn't be too difficult to do is to use a desktop build
> of B2G in full screen mode, running on top of Debian (Raspbian) which
> already runs on a Raspberry Pi.
>
> If a member of the community wanted to work on this, it would be a great
> thing to demo at a Raspberry Jam event (the one in London is hosted by
> Mozilla and I'm hoping to attend one in Cambridge at some point).


There's a guide at https://wiki.mozilla.org/Mobile/Fennec/RaspberryPi
from romaxa to build fennec for the Raspberry PI. Replacing
--enable-application=mobile/xul by --enable-application=b2g should give
a working build.

Fabrice
--
Fabrice Desré
b2g team
Mozilla Corporation

Marcio Galli

unread,
Jun 25, 2012, 8:58:23 AM6/25/12
to Fabrice Desre, dev...@lists.mozilla.org
On Mon, Jun 25, 2012 at 9:48 AM, Fabrice Desre <fab...@mozilla.com> wrote:
> On 06/25/2012 05:44 AM, Ben Francis wrote:
>>
>> On Sat, Jun 23, 2012 at 6:48 PM, pd . <an0n...@gmail.com> wrote:
>>
>>> Has anyone heard of B2G running on a Raspberry Pi?
>>>
>>
>> As far as I know, nobody has done this yet. The porting guide is really
>> for
>> porting devices that originally ship with Android so may not be that
>> helpful https://wiki.mozilla.org/B2G/Porting
>>
>> Something that shouldn't be too difficult to do is to use a desktop build
>> of B2G in full screen mode, running on top of Debian (Raspbian) which
>> already runs on a Raspberry Pi.
>>

Would you know ( or have architectural doc URL ) on how much
difference ( pros and cons ) we get via that approach? It sounds to me
a Gecko+Gaia-Gonk in high level. I see that initial instructions on
Gonk are inspiring, on the other hand — only what you need OS with
some direct access to apps. I see various cases, for other Arms, out
of a simple Gonk + Gecko build.

m

>> If a member of the community wanted to work on this, it would be a great
>> thing to demo at a Raspberry Jam event (the one in London is hosted by
>> Mozilla and I'm hoping to attend one in Cambridge at some point).
>
>
>
> There's a guide at https://wiki.mozilla.org/Mobile/Fennec/RaspberryPi from
> romaxa to build fennec for the Raspberry PI. Replacing
> --enable-application=mobile/xul by --enable-application=b2g should give a
> working build.
>
>        Fabrice
> --
> Fabrice Desré
> b2g team
> Mozilla Corporation
>

pd

unread,
Jun 25, 2012, 5:42:52 AM6/25/12
to mozilla...@lists.mozilla.org
I have a Rasperry Pi and the first-run performance impressions were
disappointing. I would like to test the B2G theory of less architectural
layers improving performance. Unfortunately I don't have any experience
building Mozilla applications but I'm willing to give it a try,
especially if I have some support from people on a mailing list such as
this. Of course since the current B2G focus is all about smartphones
(perhaps ignoring the upcoming open web on TV market?) then it's
possible nobody would be interested. I'd like to hear from people either
way.

On 25-Jun-2012 9:13 AM, Marcio Galli wrote:
> I also wonder if someone was able to deploy B2G with tablets or other
> Arm system different of a smartphone
>
> m
>
> On Sat, Jun 23, 2012 at 1:48 PM, pd .<an0n...@gmail.com> wrote:
>> Hi
>>
>> Has anyone heard of B2G running on a Raspberry Pi?
>>
>> Can anyone think of a reason why B2G would not currently run on Raspberry Pi considering B2G supports ARM6 architecture, the same as the Raspberry Pi chip?
>>
>> Thanks
>> pd

Ben Francis

unread,
Jun 26, 2012, 6:07:10 AM6/26/12
to pd, mozilla...@lists.mozilla.org
On Mon, Jun 25, 2012 at 11:42 AM, pd <an0n...@gmail.com> wrote:

> Unfortunately I don't have any experience building Mozilla applications
> but I'm willing to give it a try, especially if I have some support from
> people on a mailing list such as this.


This is certainly the right place to ask for help.


> Of course since the current B2G focus is all about smartphones (perhaps
> ignoring the upcoming open web on TV market?) then it's possible nobody
> would be interested. I'd like to hear from people either way.


It's true that the B2G team is very focused on smartphones right now, but I
wouldn't say they're "ignoring" the possibility of B2G on other form
factors. It's just a case of taking one step at a time :)

I'm interested in hearing about B2G on Raspberry Pi (and smart TVs,
desktops, tablets and toasters) and others may be too so feel free to fire
away with your questions, someone may be able to help.

Marcio Galli

unread,
Jun 26, 2012, 10:10:28 AM6/26/12
to Ben Francis, mozilla...@lists.mozilla.org, pd
For thre TVs it may well fall in the smartphone ( or better ) category
– TVs are pushing very powerful machines. In fact they push a full
linux stack nowadays — they can affort that when you think in a
60''inches 3D polarized TV out there in the supermaket. All of them =
full stack today = they are all the same market Mozilla is going =
Marketplace but using a more mild name — I see no sales related
terminology involved yet with them.

>From an interaction after Ron Piovesan, business development Mozilla
as I understand from the article, one of the partners ( or interested
parties ) in Brazil said

“Hoje temos que trabalhar a programação de aplicativos para web,
dispositivos Android e iPhone. Com a plataforma da Mozilla será mais
rápido e fácil disponibilizar um aplicativo para vários dispositivos –
smartphones, desktops, tablets – sem ônus para o desenvolvedor”,
avalia Samir Iásbeck de Oliveira, CEO da Qranio, plataforma web e
mobile que tem a proposta de transformar o aprendizado em algo
divertido. "

Which translates as a customer ( = developer ) interest to deploy apps
in smartphones, desktops, and tablets.

m

> Ben
>
> --
> Ben Francis
> http://tola.me.uk
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g



--
www.telasocial.com

rom...@gmail.com

unread,
Aug 9, 2012, 12:28:52 PM8/9/12
to mozilla...@googlegroups.com, mozilla...@lists.mozilla.org, Ben Francis, pd
Here is demo of my B2G build for raspberry pi:
http://www.youtube.com/watch?v=9f_Y7HoTFLQ&feature=youtu.be

Also there are some instructions about how to build it.
Br, Oleg

rom...@gmail.com

unread,
Aug 9, 2012, 12:28:52 PM8/9/12
to mozilla...@lists.mozilla.org, mozilla...@lists.mozilla.org, Ben Francis, pd
Here is demo of my B2G build for raspberry pi:
http://www.youtube.com/watch?v=9f_Y7HoTFLQ&feature=youtu.be

Also there are some instructions about how to build it.
Br, Oleg

On Tuesday, 26 June 2012 07:10:28 UTC-7, Marcio Galli wrote:

Ben Francis

unread,
Aug 14, 2012, 5:58:54 AM8/14/12
to rom...@gmail.com, mozilla...@lists.mozilla.org, mozilla...@googlegroups.com, pd
On Thu, Aug 9, 2012 at 5:28 PM, <rom...@gmail.com> wrote:

> Here is demo of my B2G build for raspberry pi:
> http://www.youtube.com/watch?v=9f_Y7HoTFLQ&feature=youtu.be
>
> Also there are some instructions about how to build it.


This is awesome.

pd .

unread,
Sep 19, 2012, 10:29:29 AM9/19/12
to mozilla...@googlegroups.com, rom...@gmail.com, mozilla...@lists.mozilla.org, pd
Hmm, well I finally got a version of something like B2G running on my Raspi. More to the point I ran the interface from a shell prompt. Not really what I was thinking when it comes to B2G. I thought the underlying bot and drivers work would be well integrated into the UI as one smooth and faster experience. I guess it is still very much earlier days. If anyone is interested I can report more observations.

I'm sure a truckload of hard work has gone into getting it this far. However awesome is not the word I'd use :)

pd .

unread,
Jan 18, 2013, 8:08:50 AM1/18/13
to mozilla...@lists.mozilla.org
Would it be possible to get Raspberry Pi builds created on a nightly basis? There seems to be a wide community of Raspberry Pi users who are happy to take a .img file, write it to an SD card and use that to boot a Raspberry Pi to see what happens. Considering the relatively limited power of the hardware in the Raspberry Pi, perhaps the more people who test Firefox OS on a Raspberry Pi, the more feedback Mozilla will re Firefox OS's snappyness and memory usage on a device with low specs similar to the target hardware of very low-end 3rd world affordable phones.

pd .

unread,
Jan 18, 2013, 8:08:50 AM1/18/13
to mozilla...@googlegroups.com, mozilla...@lists.mozilla.org
On Sunday, June 24, 2012 2:48:40 AM UTC+10, pd . wrote:

Marcio Galli

unread,
Jan 18, 2013, 2:13:10 PM1/18/13
to pd ., mozilla...@lists.mozilla.org, mozilla...@googlegroups.com
I am also interested in this area. So far I am using Gecko XULRunner
core on Raspberry (which I took from the apt-get iceweasel) and it's
slow but it is good to prove things and to move on with what matters
in my use case – connect with the web.

Even with limited acceleration and hooks I think it is great. Perhaps
first an important part is to collected the interested peers. I wonder
if we could crowd fund someone to keep some works in the Raspberry Pi
for us. But I wonder how to make things visible. I am mentioning
crowdfunding because I know Mozilla will have other priorities so this
perhaps can be done in the open aside from Mozilla main priorization.

m
0 new messages