Open chrisbohens opened 5 months ago
I managed to build U-Boot and Kernel on the master branch. In your documentation for Ubuntu 14.04 you have:
sudo apt update
sudo apt install -y autoconf bc build-essential curl git mercurial \
libc6-i386 python python-dialog unzip wget
In this bash code snippet missing are:
rsync tar g++ gcc patch dialog make libssl-dev
Not all of these are part of the Ubuntu 14.04 base image/installation! The non-decriptive error messages that I've gotten from your build.sh didn't exactly help with that either. Missing dependencies should be clearly stated.
Hi,
Thank you for the input, I will check the build dependencies and update the documentation accordingly.
We are currently updating this Linux BSP to a newer version to make it compatible with the latest Vivado versions. The update branch is still under development, but a release is planned in the next few days (including merge to master branch).
Alright, I have managed to get the master branch working but I get the exact same error when I try to build Buildroot.
I can send you my Ubuntu 14.04 Dockerfile later.
FROM ubuntu:14.04
RUN apt-get update && \
apt-get install --no-install-recommends -y \
autoconf bc build-essential curl git mercurial libc6-i386 python python-dialog unzip wget
# This is missing in the bash code snippet:
RUN apt-get install --no-install-recommends -y \
rsync tar g++ gcc patch dialog make libssl-dev
RUN git clone https://github.com/enclustra-bsp/bsp-altera.git
RUN cd bsp-altera && ./build.sh -d Mercury_SA2/Mercury_PE1/MMC
I am building the dockerimage the same way as above. And I also get the same error as above when trying to build Buildroot.
I recommend to use the update branch because main branch is quite outdated.
I created a build on a newly installed Ubuntu 22.04 (server). The only package that was missing in the prerequisites list was bzip2. I already updated the documentation.
Ok. Does building Buildroot work properly at your end? Right now we build it using the official Buildroot repo. It would make our build process a bit more straight forward if we could build it from this repo instead. I am still getting this cryptic error, see my original post above.
Building Buildroot is working on my end. Please check the build.log file for errors. The console output only shows that the Buildroot make command failed. You can also send the build.log file to support@enclustra.com, if you need help with it.
Hi,
I am using Docker to clone this repos update branch and build the Linux kernel and dtb file for my SA2 module:
My Dockerfile is:
1) Edited, see comment below.
2) There are dependencies missing in your docs in the update branch, namely ca-certificates and cpio and possibly more, see 3)
3) I only managed to get Linux and U-Boot to properly build. Buildroot threw an error:
Running it natively doesn't work either. So what is wrong/missing?
Please make it clear how to properly build your software. Usually this should be noted in the readme of the master branch in one way or another.