-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support armhf #10
Comments
Do you mean more platforms (ie. build for Sailfish, Ubuntu Phone)? Or are you specifically thinking ARM vs i386 here? So the scripts can be used for SBCs. |
See https://doublethinkco.wordpress.com/2015/09/22/porting-ethereum-to-mobile-linux/ for target platforms (all ARM). The list at https://doublethinkco.wordpress.com/ethereum-light-client/ includes the SBCs. The Intel Edison is the only i386 one for now, though I have an Intel NUC as well, which I would like it to work for. So in general, I think i386 is very low priority for now. |
Hey @phonikg! Actually, maybe this is a task which would make sense for you to look at? Or are all your DEVgrant target platforms ARM too? Have you tried using webthree-umbrella-cross yet? |
So yeah, i386 and amd64 are probably the only ones really worth considering. Also maybe armhl as well as armel might be needed. I get a suspicion that either Tizen or Sailfish is actually a different ARM variant than Android. Will have to dig into that. Beyond x86 and ARM though? Balls to them. |
armhf, I mean. |
Yeah @bob all EthEmbedded boards are armhf. I was always thinking on Intel Edison x86 as a bonus but Christoph from Slock.it has that running already no no sense in duplicating that work if they will share it.... my understanding is that they are compiling on device though, so an x86 cross compilation would still be extremely helpful. |
Thanks @phonikg. And you are specifically building armhf for your existing binaries? Or perhaps that is just happening by default? |
Also, @phonikg. With this existing setup, I've just been able to build myself an ARM binary on a VM in Azure. So I think we are very, very close to a "done" point, where we are iterating and bug-fixing on something which is functional. Have you tried the Dockerfile yet yourself? If not, please do give it a whirl. just git clone, docker build and then docker run -i -t /bin/bash to then do the actual build. |
@phonikg , you can even just do |
While we are all working away at testing, and due to the fact that I have not been able to follow through and get a binary yet at this point, would you be able to provide me with any binaries you guys have been able to create? Email me a link even, so I could download and try running on a few arm devices? |
NVM!! @bobsummerwill posted this an hour ago:( https://github.com/doublethinkco/webthree-umbrella-cross/releases |
@phonikg and @martinbrook: So it might be a simple as building the xcompiler with arm-unknown-linux-gnueabihf. This is the other line I was thinking of which @anthony-cros had mentioned as a hack, but might be OK in this instance for armhf ...
Maybe there are more little warts like this? Or maybe not! |
yes I suspect it will be necessary now, in light of all the recent findings |
Lots of related ARM ABI discussion happening in #21. |
Sadly, there doesn't seem to be an explicit option for armel in crosstool-ng:
|
now i understand we can create such "sample" ourself (some kind of a profile I believe) |
samples present themselves that way:
and
|
Hopefully its as simple as |
I was wondering too, but i doubt it :) what other differences do you know of between hf/el? can float really be the only one? |
I believe its simply software vs hardware based floating point. This opinion is based mainly on this article: |
thanks @martinbrook , you're probably right actually |
to be committed soon, it's actually quite small
that's going to be the trickier part, but I'll make a convenience function. I'm hoping to make it open-close-principle friendly so everyone can just extend a baseline script.
sounds good |
do you need me to try on the TM1 too? |
==> 210dcbd |
Try to your cross-built armhf binary on the TM1? Yes, please! It might "just work". #20 is now tracking Tizen support specifically, so that would be the place to put that result. So to get this working for me, I am going to need to make an extra Dockerfile, right? Which passes an extra parameter pointing to an armhf config? |
no i meant the apt-get install g++-arm-linux-gnueabi/apt-get install g++-arm-linux-gnueabihf combination, sadly I already tried the armhf binary i created earlier, but no dice |
so you could reuse the current docker file for that, just pass along the parameter ("default" or "/my/path/to/my/config") |
|
@anthony-cros said - no i meant the apt-get install g++-arm-linux-gnueabi/apt-get install g++-arm-linux-gnueabihf combination, sadly I already tried the armhf binary i created earlier, but no dice Replied in #42. See also #20 (Support Tizen). |
yes, at least with the |
See b99d13a :) |
WOOT! Nice one. We still need you to upload your armhf xcompiler results, though, right? Like updating Docker-eth to something like ...
|
sounds good, i'm rerunning them and will upload! |
Thanks! I don't understand how YOU were able to run ./build-wandboard.sh yourself. Wasn't YOUR container missing the xcompiler files for unknown-arm-linux-gnuabihf too? |
oh no, I only ran the ./build-xcompiler-wandboard.sh one! |
Ha ha! |
hmm i seem to be getting an error on upload, let me try again |
a bit more work needed here actually |
see #53 for latest development I'm getting this however, @bobsummerwill , could it be something you changed recently?
|
MERGED! And will do some runs and see where I can get to :-) |
All good. I'm re-declaring this as done. Have uploaded new binaries to release. It's in a state where we can reliably produce armel and armhf binaries now, and start iterating on the ABI details. |
so it appears the ubuntu touch phone is armhf: |
No description provided.
The text was updated successfully, but these errors were encountered: