Git Product home page Git Product logo

analogdevicesinc / buildroot Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 55.0 106 MB

Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. Forked from https://git.busybox.net/buildroot/

License: Other

Makefile 64.87% Arc 0.05% Shell 7.22% Tcl 0.17% Batchfile 0.21% HTML 3.61% M4 0.05% C 8.27% Perl 0.75% C++ 0.83% Lex 0.11% Yacc 0.26% CMake 0.09% Python 12.74% CSS 0.09% JavaScript 0.35% Lua 0.21% Dockerfile 0.03% Java 0.05% Forth 0.03%

buildroot's Introduction

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: [email protected]
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches

buildroot's People

Contributors

aduskett avatar aldot avatar angeloc avatar arnout avatar asafkahlon avatar baruchsiach avatar bkuhls avatar culssw avatar erikbandersen avatar fabioestevam avatar ffontaine avatar fperrad avatar giuliobenetti avatar gustavoz avatar hthiery avatar jacmet avatar jameshilliard avatar joerg-krause avatar paralin avatar patrickdepinguin avatar pseiderer avatar rc-matthew-l-weber avatar ricardo-martincoski avatar romainnaour avatar tpetazzoni avatar tsed avatar vapier avatar wbx-github avatar yann-morin-1998 avatar yegorich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildroot's Issues

Hash values mismatch and build error with Vivado/Vitis 2022

I had to correct some hash values when compiling from the master branch like shown below. Is this intended or am I missing something?

diff --git a/package/ad936x_ref_cal/ad936x_ref_cal.hash b/package/ad936x_ref_cal/ad936x_ref_cal.hash
index 24eb7fb88b..65ecd9a092 100644
--- a/package/ad936x_ref_cal/ad936x_ref_cal.hash
+++ b/package/ad936x_ref_cal/ad936x_ref_cal.hash
@@ -1,5 +1,5 @@
 # Locally computed
-sha256 26aedd8021fa939ab2f53e55904d869207265242fef7ad86aa4673e219b7cbef ad936x_ref_cal-01747db5cd60ff64115a73ac1f3bb97911f5c58e-br1.tar.gz
+sha256 36213db5e63572bf226be087aa1aae305a0c37341ff5e5c37065dde5070a6ef8 ad936x_ref_cal-01747db5cd60ff64115a73ac1f3bb97911f5c58e-br1.tar.gz

 # License files (locally computed as well)
 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
diff --git a/package/libiio/libiio.hash b/package/libiio/libiio.hash
index e62d1a2f78..d5d9be67c4 100644
--- a/package/libiio/libiio.hash
+++ b/package/libiio/libiio.hash
@@ -15,4 +15,4 @@ sha256  81c414d5c47b715d9bc9275b9fabbfd9e9483e60c035f3001b5977932049595d      libiio-
 sha256  03d13165cbeb83b036743cbd9a10e336c728da162714f39d13250a3d94305cac       libiio-0.21.tar.gz
 sha256  742adfae2c6f7f443772bf08729693855c1799d1ff6cb86d707045c81d014dbf       libiio-fb64aca8adcaa607b482091b23b8edf10e5c1ad8.tar.gz
 sha256  df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00       libiio-0.23.tar.gz
-sha256  359df9cbb200361c6bd13d4ed3400e9ecb9d483f1dc5d7a57797e7b590bc5ac3  libiio-60de6b948a04d4074d2feca46dbb64dca92ae60d-br1.tar.gz
+sha256  0be2dab3aab022ffcfa35fd3ecf36b9b2f44b0427dc84a42a777908a89df9845    libiio-60de6b948a04d4074d2feca46dbb64dca92ae60d-br1.tar.gz

Outdated mounting points for Sidekiq Z2

From this discussion on the ADI's EZ forum it has been found that mounting points for the Sidekiq Z2 board are outdated since 1bfa9dc.

The fix is simply to add the /msd subdirectory to these two:

sidekiqz2/device_config: FIRMWARE=/mnt/msd/sidekiqz2.frm
sidekiqz2/post-build.sh: mkdir -p ${TARGET_DIR}/mnt/msd

dropbear is down

https://matt.ucc.asn.au/dropbear/dropbear.html is down, which generates this error

>>> host-makedevs  Collecting legal info
WARNING: the Buildroot source code has not been saved
Legal info produced in /mnt/d/git/plutosdr-fw/buildroot/output/legal-info
make[1]: Leaving directory '/mnt/d/git/plutosdr-fw/buildroot'
scripts/legal_info_html.sh "PlutoSDR" "/mnt/d/git/plutosdr-fw/buildroot/board/pluto/VERSIONS"
unknown error while trying https://matt.ucc.asn.au/dropbear/releases
HTTP/2 520
date: Tue, 02 Aug 2022 18:37:39 GMT
content-length: 0
cache-control: no-store, no-cache
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Z%2BJmeVrPW9Q7KCjxIIrvPq5nt60otNFo5790ZWIm4uIR%2F4uyoXeIIQKmpH3bpkFtFfPhgF0sIPs7GOfdvD9I%2FIEMvXADhBSanGD%2F6B%2FtMXg3tptDvBlKrXlKkitk556NWg%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7348ed0a88c09bc8-FRA

curl: (3) URL using bad/illegal format or missing URL
unknown error while trying /sources/libxml2/2.9/

this error does not terminate the build process, but it might be still worth looking at

buildroot make failure

make -C buildroot TOOLCHAIN_EXTERNAL_INSTALL_DIR= ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- BUSYBOX_CONFIG_FILE=/buildroot/board/pluto/busybox-1.25.0.config all

ERROR INFO:
relocation R_X86_64_PC32 against symbol `_nc_user_definable' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:2864: recipe for target 'libgettextlib.la' failed
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory '/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/gettext-tools/gnulib-lib'
Makefile:2614: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/gettext-tools/gnulib-lib'
Makefile:2023: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/gettext-tools'
Makefile:1889: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/gettext-tools'
package/pkg-generic.mk:238: recipe for target '/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/.stamp_built' failed
make: *** [/home/cl/Documents/plutosdr-fw/buildroot/output/build/host-gettext-0.19.8.1/.stamp_built] Error 2
make: Leaving directory '/home/cl/Documents/plutosdr-fw/buildroot'

This is the message that make buildroot failed, I don't know what went wrong, hope to help solve it.

build problem with Vitis 2022.1

When I build buildroot, I get this error

Unable to detect the toolchain sysroot, Buildroot cannot use this toolchain.

I used these settings

export CROSS_COMPILE=arm-linux-gnueabihf-
export PATH=$PATH:/tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin

I checked where this error comes from. It is the file helpers.mk in the buildroot/toolchain folder.

libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \
if test "$${libc_a_path}" = "libc.a" ; then \
   echo "Unable to detect the toolchain sysroot, Buildroot cannot use this toolchain." ; \
   exit 1 ; \
fi ; 

I think the problem is that with the new Vitis libc.a is in a different folder, its in
/tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-none-eabi/aarch32-xilinx-eabi/usr/lib

but the gcc compiler is in
/tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin

The Makefile just looks for where the compiler is and takes that as the toolchain path

#gives us path/bin/arm-linux-gnueabihf-gcc
TOOLCHAIN = $(shell which $(CROSS_COMPILE)gcc)
#gives us path/bin
TOOLCHAIN2 = $(shell dirname $(TOOLCHAIN))
#gives us path we need
TOOLCHAIN_PATH = $(shell dirname $(TOOLCHAIN2))

which results in /tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/ as toolchain path.

Does anybody have an idea how to fix this?

support for RD9700 chipset

In ADALM-Pluto I'm missing a Linux Driver for the RD9700 chipset. This chipset is used in many cheap USB-Ethernet adapters

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.