Skip to content
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 armbian? #27

Open
fz420 opened this issue Sep 28, 2021 · 0 comments
Open

support armbian? #27

fz420 opened this issue Sep 28, 2021 · 0 comments

Comments

@fz420
Copy link

fz420 commented Sep 28, 2021

root @ aml in ~ |23:38:58 
$ goup version
goup version v0.1.6

root @ aml in ~ |23:39:46 
$ uname -a
Linux aml 5.0.2-aml-s905 #5.77 SMP PREEMPT Mon Apr 1 17:23:16 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux

root @ aml in ~ |23:39:51 
$ lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1512.0000
CPU min MHz:         100.0000
BogoMIPS:            48.00
L1d cache:           unknown size
L1i cache:           unknown size
L2 cache:            unknown size
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
root @ aml in ~ |23:39:52

The version check on armbian results in armv6l and the downloaded go does not work.

Modify the following file, recompile the downloaded go, and fix the problem.

modify   internal/commands/install.go
# line 597
# arch = "armv6l"
arch = "arm64"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant