Add ADI board support, packages, and build infrastructure - #19
Conversation
|
The patches were added in analogdevicesinc/buildroot#113 and analogdevicesinc/buildroot#118 |
|
Also needs to be added to CI/CD |
|
And would be nice to rename |
| unix2dos ${FILE} | ||
| } | ||
|
|
||
| calibrate () { |
There was a problem hiding this comment.
nitpick: In more than one place we have this space before (). Would be nice to clean it up. I guess something an agent can easily do?
4e00d38 to
bfa8975
Compare
|
Resolved pending dependencies with local runs then drop nios2, used There is no fix but to build with < gcc-15, buildroot < 6775ccc5a1 . |
|
libini needs bumping cmake 3.1. CMake 4.0 (e46695bbe4) removes support to cmake < 3.5. |
|
It is not clear to me why are different. In particular, pluto version introduces templating |
728aac7 to
512c8bb
Compare
Board files, init scripts, post-build script, MSD overlay, busybox config, and WPA supplicant support for the ADALM-PLUTO (PlutoSDR) platform. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Board files, init scripts, post-build script, MSD overlay, busybox config, and calibration data for the ADALM2000 (M2k) platform. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Common networking init script, FRU init script, post-build script, and QUADMXFE FRU binary files shared across microblaze/NIOS2 boards. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Add libini, libad9361-iio, and libm2k packages for the ADI IIO ecosystem. These provide INI config parsing, AD9361 multi-chip sync, and ADALM2000 device interfacing respectively. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Tools to display and manipulate FMC FRU information. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
| @@ -0,0 +1,39 @@ | |||
| BUILDROOT_VERSION ?= adi-2026.02-y | |||
There was a problem hiding this comment.
The top level custom ADI Makefile and patch files mimic Yocto and does not follow mainline Buildroot. This is a custom implementation that also does not follow the standard upstream approach which is already followed by ADSP.
|
Please also document your changes in the |
ok |
cb976e0 to
13e35d7
Compare
| BR2_PACKAGE_JESD204B_STATUS=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| BR2_TARGET_ROOTFS_CPIO_GZIP=y | ||
| BR2_PACKAGE_HOST_DROPBEAR=y |
There was a problem hiding this comment.
This is being removed in a follow up patch... So I would say to just no add it here?
There was a problem hiding this comment.
I'll rebase the entire series and then this will be gone
pamolloy
left a comment
There was a problem hiding this comment.
Note there is a fixup commit currently on the branch
67ab143 to
7020e1c
Compare
Add defconfigs for PlutoSDR, ADALM2000, Sidekiq Z2, MicroBlaze, and NIOS2 ADI platforms. Paths updated to use BR2_EXTERNAL_ADI_PATH. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
These patches capture ADI-specific changes to upstream buildroot packages that cannot be handled via br2-external: - 0001: libiio bump to v0.26 with hwmon and local config support - 0002: gnuradio python executable and dependency fixes - 0003: dropbear host build support (dropbearkey) - 0004: linux.mk simpleImage ELF copy to output - 0005: skeleton fstab ptmxmode removal - 0006: python-pybind patch whitespace fix Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Add Azure Pipelines, Travis CI configuration, and CI helper scripts migrated from the buildroot fork. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
- Only eval BR2_ prefixed variables from .config to avoid errors from Make-level variables (TOPDIR, BASE_DIR, etc.) that are not valid shell - Create dummy LICENSE.html and VERSIONS files when not building the official image, as the real LICENSE.html is generated via 'make legal-info' and a post-processing script Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Point libiio at commit da72b6193911e8fc242422bea5bef90e23c3577d, the tip of the libiio-v0 branch. Regenerate all patches against buildroot 2025.05. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
The Linaro ARM 2018.05 external toolchain was removed in buildroot 2025.11. Replace with the ARM ARM 14.2.rel1 toolchain which is the direct successor. Also regenerate buildroot patches to apply cleanly against 2025.05: - Remove obsolete python-pybind whitespace patch (fixed upstream) - Update fstab patch context for upstream changes - Regenerate libiio patch from actual diff Note: nios2 defconfigs cannot be used with buildroot >= 2025.02 as the nios2 architecture was removed entirely. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
The Makefile clones upstream buildroot at a pinned version, applies ADI patches from patches/buildroot/, and forwards all make targets with BR2_EXTERNAL set automatically. Patch application is idempotent, skipping already-applied patches. Usage: make buildroot # clone + patch make buildroot-patch # re-apply patches make zynq_pluto_defconfig # load defconfig make # build Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
The host-dropbear package was never built during a clean build because package/Config.in.host did not source package/dropbear/Config.in.host, causing BR2_PACKAGE_HOST_DROPBEAR=y to be silently dropped by Kconfig. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
zlib is required for microblaze_*_defconfig Signed-off-by: Jorge Marques <jorge.marques@analog.com>
In hardened enviroments, the umask is set to a more restrictive value
through the systemd UMask parameter , but can be adjusted at the
execution level. If not set and under such circuntances, will trigger
ERROR: OE-core's config sanity checker detected ....
Please use a umask which allows a+rx and u+rwx
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
7020e1c to
677f64b
Compare
Commit 5e12a2b955390e973473fb5b0993d4eeac2e14dd raises cmake version to support cmake 4. Commit 94fb7036f0541e6d655d80610b3eb04aea580a69 from the same history updates minor collaterals to support current LTS distros. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Group the ADI boards under a common board/adi/ namespace alongside
the existing board/adi/ev-sc598-som/. Update defconfig path references
accordingly; inter-board ${BOARD_DIR}/../pluto/ relative paths in
post-build scripts remain valid as all three boards stay siblings.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
79ae182 to
d3e4328
Compare
Summary
Test plan
make zynq_pluto_defconfig && makemake zynq_m2k_defconfig && makemake zynq_sidekiqz2_defconfig && make