Giter Site home page Giter Site logo

Comments (7)

hdj630 avatar hdj630 commented on August 14, 2024

I've put into our feature request queue. But we don't have plan for it right now.

from amazon-cloudwatch-agent.

haojhcwa avatar haojhcwa commented on August 14, 2024

Hi, arm32 bit is actually quite diverged and it would be difficult for us to add official support. However, I did a simple test enabling the building specifically for raspberry pi, and you can see my test here:

https://github.com/haojhcwa/amazon-cloudwatch-agent-1/tree/test-armhf-rpi

You should be able to checkout that branch and build your own agent by make release, and you should be able to find the deb package in build/bin/linux/armhf/

It does run on my rpi 2, though I only did some basic tests.

from amazon-cloudwatch-agent.

jason-riddle avatar jason-riddle commented on August 14, 2024

@haojhcwa Thanks for the explanation. Iā€™m curious, how has arm32 diverged from arm64? I ask because your branch only includes a Makefile change.

from amazon-cloudwatch-agent.

haojhcwa avatar haojhcwa commented on August 14, 2024

That's a good question, by diverged, I mean there are many flavors of arm32, I could tweak the make file to build a version of the agent for raspberry pi because its well known and have a rasbian support. However, a general support for arm32 is probably very complicated, for go, there is GOARM variable which supports ARM v5, v6, v7 for 32bit arms, in fact, different version of rpi uses different version of arm, rpi1 uses ARMv6, then rpi2 is ARMv7, and later ones are using 64bit ARMv8.

And for debian packages, a simple search shows there are quite some varieties:

$ dpkg-architecture -L |grep arm
uclibc-linux-armel
uclibc-linux-armeb
uclibc-linux-arm
uclibc-linux-arm64
musl-linux-armhf
musl-linux-armeb
musl-linux-arm
musl-linux-arm64
armhf
armel
arm64ilp32
armeb
arm
arm64
....

And another main issue for us right now is the difficulty to create automated testing for 32bit arm systems.

Please let me know if you can build and run the agent using my branch.

from amazon-cloudwatch-agent.

jason-riddle avatar jason-riddle commented on August 14, 2024

However, a general support for arm32 is probably very complicated, for go, there is GOARM variable which supports ARM v5, v6, v7 for 32bit arms, in fact, different version of rpi uses different version of arm, rpi1 uses ARMv6, then rpi2 is ARMv7, and later ones are using 64bit ARMv8.

Yep, I did not realize arm32 was that complicated.

Please let me know if you can build and run the agent using my branch.

Sure, I'll try it when I get the chance.

from amazon-cloudwatch-agent.

haojhcwa avatar haojhcwa commented on August 14, 2024

I've just built it using github actions and created a pre-release so you don't have to build it yourself, you can try download the deb.zip package here: https://github.com/haojhcwa/amazon-cloudwatch-agent-1/releases/tag/v1.247346.1rpi

from amazon-cloudwatch-agent.

jason-riddle avatar jason-riddle commented on August 14, 2024

Hey, so I was able to validate that your build works. I don't have a raspberry pi readily configured, so I used qemu-system-arm to simulate that device. Happy to provide more info.

from amazon-cloudwatch-agent.

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.