← Back to team overview

ubuntu-phone team mailing list archive

Re: Does Ubuntu Touch support self-hosting?

 

Thanks for the help.

Building on device is not a hard requirement so much as it is scratching of
a personal itch.   Along much the same line as Canonical's Convergence
vision, I want to push further along the path between the blurring of the
lines between mobile/wearable and desktop.

https://developer.ubuntu.com/en/blog/2015/06/08/sprinting-convergence/

With hardware as capable as the MX4 there is little reason why we should
accept a lesser experience compared to a desktop Linux.  The specs are
better than we had for desktops a few years back.

I started my own journey on Tizen a year ago with a C# focus but I'm
looking much wider than that now.

https://bobsummerwill.wordpress.com/2014/08/11/first-steps-on-the-path-to-tizen-self-hosting/

http://monotizen.com.

Tizen is in a very sorry state.  I will continue to target the OS because
it is still the most likely to succeed in the open market (because Samsung)
despite their appalling lack of community, dreadful communication and lack
of openness.  They have great wearable hardware in the Gear series.  Gear
S2 looks fabulous.  Shame comms are proprietary  (Samsung Accessory
Protocol is proprietary BLE protocol).

http://www.engadget.com/2015/07/22/tizen-the-emperor-has-no-clothes/

http://www.engadget.com/2015/09/17/tdc2015-tizen-3-0-first-milestone-what-does-that-mean/

Stepping back to this particular problem, there are both C++ and Go clients
for Ethereum, which work on Windows, OSX and Linux.  They are all
command-line apps with no UI, so even easier.   Ubuntu is the lead platform.

Following the lead of http://ethembedded.com/, I wanted to see whether we
could start with on-device builds for Tizen, Sailfish and Ubuntu Touch, and
then move on to cross-compilation as a second round.

The answer for Tizen 2.x is 'don't even bother trying'.  For Tizen 3.x on
SBCs that might be workable, but is not interesting to me.   Tizen 2.x is
what is used for all real devices I want this code on.   Sailfish and
Ubuntu Touch seem to be in much the same place - You can if you want to,
but do it in a chroot.

I *want* to do on-target and cross-builds for both the go and C++ clients
on all mobile, wearable, SBCs and IoT platforms.   Looks like I will have
to settle for a subset of that :-)

WRT go cross builds.  Thank you for that Github template, Niklas.   I am
new to go, let alone go cross-compilation, so will have so catch up to do
there.

Peter Szilagyi, one of the main Ethereum go developers just got the go
client working on Android with go cross-compilation using
https://github.com/karalabe/xgo:

https://www.reddit.com/r/ethereum/comments/3kj7kh/pwning_the_way_forward/?sort=confidence

OK - that is quite long enough.

Thanks and best wishes!

Bob Summerwill
http://bobsummerwill.wordpress.com/contact-bob/
On Sep 19, 2015 6:50 PM, "Rodney Dawes" <rodney.dawes@xxxxxxxxxxxxx> wrote:

> Recommended way to install regular .deb packages on Ubuntu Phone?
>
> https://askubuntu.com/questions/620740/recommended-way-to-install-regularcli-deb-packages-on-ubuntu-phone/623311#623311
>
> You can compile on the device, in a chroot, if you really need to. I
> wouldn't recommend bothering with such thing though, unless there is
> some absolute pressing need to do so.
>
>
> On Sat, 2015-09-19 at 17:41 -0400, Bob Summerwill wrote:
> > I have just bought a Meizu MX4 Ubuntu Edition.  It is one of my target
> > platforms for porting of the Ethereum Light Client.  See
> > http://doublethink.co.
> >
> > This is my first Ubuntu Touch development, though I have done some
> > Firefox OS, Tizen and Sailfish.
> >
> > Does Ubuntu Touch support self-hosting or only cross-compilation from
> > Ubuntu desktop?   In the simplest form, I am asking whether GCC can be
> > run on-target.  Thanks!
> >
> > Bob Summerwill
> > http://bobsummerwill.wordpress.com/about/
> >
>
>

References