Giter Club home page Giter Club logo

Comments (13)

Arno0x avatar Arno0x commented on May 4, 2024

Just as a side note: current GoTTY ARM release is suitable for the ARMv7 (Raspberry pi2). Not sure how many flavors of ARM architecture you can compile GoTTY for...

from gotty.

nephaste avatar nephaste commented on May 4, 2024

here is the output on my HS-210 Qnap test

runtime: this CPU has no floating point hardware, so it cannot run
this GOARM=6 binary. Recompile using GOARM=5.

from gotty.

jungle-boogie avatar jungle-boogie commented on May 4, 2024

Can you compile from source?

from gotty.

nephaste avatar nephaste commented on May 4, 2024

not enought knownledge in go to do it.. i wonder if binaries for different ARM version could be available

from gotty.

yudai avatar yudai commented on May 4, 2024

Created a test release for ARM5 architecture: https://github.com/yudai/gotty/releases/tag/arm5-test
I myself cannot test it because I don't have an environment with a ARMv5 processor, so @nephaste, could you try it out?
I'm not sure if this works on other ARM processors like ARMv7. If it has the forward-compatibility, I can change the default GOARM value to 5 so that a single binary can support all ARM processors.

from gotty.

Arno0x avatar Arno0x commented on May 4, 2024

ARMv7 provides, as you could expect, new features, instruction set and performance. Even if an ARMv7 was backward compatible and able to run ARMv5 code, I think it would be a shame not to leverage from pure ARMv7 code...
http://infocenter.arm.com/help/topic/com.arm.doc.dai0425/DAI0425_migrating_an_application_from_ARMv5_to_ARMv7_AR.pdf

from gotty.

yudai avatar yudai commented on May 4, 2024

@Arno0x Thank you for sharing your concern. However, it's hard to maintain binaries for all ARM versions by default. There are already 4 versions (5 ~ 8) of ARM architectures and I don't want to make the file list in the releases page longer by supporting those different versions.
I assume there is no big impact to the performance of gotty by using ARMv5 as the default because gotty doesn't use floating values or SIMD instructions heavily (at all?).
As long as there is no large performance difference confirmed by actual benchmarks, I think that distributing the most compatible binary is the best way.

from gotty.

nephaste avatar nephaste commented on May 4, 2024

Hi yudai,

no problem, i could test the bianries on ARMV5, only five minute to make the QPKG and install it

thanks for all

from gotty.

nephaste avatar nephaste commented on May 4, 2024

I confirm : https://github.com/yudai/gotty/releases/tag/arm5-test

is working great !!!! thanks a lot

from gotty.

Arno0x avatar Arno0x commented on May 4, 2024

Hi, I tested this ARMv5 release on a ARMv7 architecture (Raspberry Pi 2) and as you could expect, it works. Just slightly bigger binary. As Yudai said, I don't expect a big drop in performance due to the difference in the instruction set.

from gotty.

yudai avatar yudai commented on May 4, 2024

@nephaste Thank you for testing. I'm glad to hear it worked 👍

@Arno0x Thank you for validating the binary on ARMv7. I'd like to go with ARMv5 by default. Let me know when you got a performance issue on Raspberry PI 2 in the future.

from gotty.

yudai avatar yudai commented on May 4, 2024

Now ARMv5 is the default. Closing.

from gotty.

m040601 avatar m040601 commented on May 4, 2024

Just reporting that on July 2020,
the latest github precompiled binary release available,
that is, 2017 https://github.com/yudai/gotty/releases/tag/v2.0.0-alpha.3

is working fine on Raspbery Pi 2b v 1.1 (Armv7h)

from gotty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.