-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to build this flasher in Yocto environment? #66
Comments
I have a similar problem (I was just trying to see if I could build for custom arm64 linux build with yocto on x86_64 ubuntu by editing the build scripts and cmake files and it was proving "problematic"). Then I read that the code "doesn't require an operating system" so I tried downloading the pre-built ubuntu arm64 image from releases. And it runs on our NXP i.MX8 just fine. So perhaps investigate using that? |
Or if you did get it to build, I'd be very greatful if you could discuss that with me? I've got it to build right up until it wants to start installing some of the artifacts for further compilation which doesn't work because I'm cross-compiling. |
I was also trying to modify build scripts but this is madness that gave me a headache. So far I've been working on something different but I will probably go a way you mentioned, will use build for ubuntu ARM64 and provide necessary libraries if needed. The other solution that I guess could work is to use flasher inside a Docker environment running on a target device. |
"...this is madness that gave me a headache..." 🤣 agreed... I believe (don't sue me if I'm wrong) the Ubuntu build is statically linked, so you shouldn't need any libraries... |
I'm trying to build this flasher in Yocto ecosystem as a part of my meta-layer, however, I have some difficulties. My target architecture is aarch64 - which seems to be supported, however provided CMakeLists.txt seems to require a compilation for a particular distro e.g. Ubuntu 22.04 etc, which is not a case in the context of Yocto. Is there a workaround I could use to include building this flasher in Yocto?
The text was updated successfully, but these errors were encountered: