Comments (9)
cannot reproduce this...file is there and under git control
frank@frank-G5:/media/data_ext/git/kernel/BPI-R2-4.14 (5.10-main) [0M5U]
$ ls -l include/dt-bindings/gpio/gpio.h
-rw-rw-r-- 1 frank frank 1170 Mai 19 11:19 include/dt-bindings/gpio/gpio.h
frank@frank-G5:/media/data_ext/git/kernel/BPI-R2-4.14 (5.10-main) [0M5U]
$ git logone include/dt-bindings/gpio/gpio.h
ede033e1e863 2019-02-07 dt-bindings: gpio: document the new pull-up/pull-down flags Thomas Petazzoni
e10f72bf4b3e 2017-11-30 gpio: gpiolib: Generalise state persistence beyond sleep Andrew Jeffery
....
https://github.com/frank-w/BPI-Router-Linux/blob/5.10-main/include/dt-bindings/gpio/gpio.h
you can try
git checkout include/dt-bindings/gpio/gpio.h
or something is wrong in your build-environment...do you use build.sh from your source root?
from bpi-router-linux.
yes , i sure file exist
Here is my complete operation:
niko@ubuntu-compile:~/BPI-Router-Linux$ pwd
/home/niko/BPI-Router-Linux
niko@ubuntu-compile:~/BPI-Router-Linux$ git branch
* 5.10-main
5.15-main
niko@ubuntu-compile:~/BPI-Router-Linux$ git status
On branch 5.10-main
Your branch is up to date with 'origin/5.10-main'.
nothing to commit, working tree clean
niko@ubuntu-compile:~/BPI-Router-Linux$
./build.sh importconfig
./build.sh config
./build.sh
arch/arm/boot/dts/mt2701-evb.dts:9:10: fatal error: dt-bindings/gpio/gpio.h: No such file or directory
9 | #include <dt-bindings/gpio/gpio.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:326: arch/arm/boot/dts/mt2701-evb.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from arch/arm/boot/dts/mt6589-aquaris5.dts:9:
arch/arm/boot/dts/mt6589.dtsi:8:10: fatal error: dt-bindings/interrupt-controller/irq.h: No such file or directory
8 | #include <dt-bindings/interrupt-controller/irq.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:326: arch/arm/boot/dts/mt6589-aquaris5.dtb] Error 1
In file included from arch/arm/boot/dts/mt6580-evbp1.dts:9:
arch/arm/boot/dts/mt6580.dtsi:8:10: fatal error: dt-bindings/interrupt-controller/irq.h: No such file or directory
8 | #include <dt-bindings/interrupt-controller/irq.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:326: arch/arm/boot/dts/mt6580-evbp1.dtb] Error 1
make: *** [Makefile:1387: dtbs] Error 2
make: *** Waiting for unfinished jobs....
but
niko@ubuntu-compile:~/BPI-Router-Linux$ ls ./include/dt-bindings/interrupt-controller/irq.h
./include/dt-bindings/interrupt-controller/irq.h
niko@ubuntu-compile:~/BPI-Router-Linux$
from bpi-router-linux.
Something is strange with your buildchain...you did the right steps and i compiled 5.10 sucessfully on my ubuntu 22.04 host
from bpi-router-linux.
i same use ubuntu 22.04
niko@ubuntu-compile:~/BPI-Router-Linux$ uname -a
Linux ubuntu-compile 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
niko@ubuntu-compile:~/BPI-Router-Linux$ cat /proc/version
Linux version 5.15.0-107-generic (buildd@lcy02-amd64-012) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024
niko@ubuntu-compile:~/BPI-Router-Linux$
but i get same error when i compile in bpi r2 , i use basis image https://drive.google.com/drive/folders/1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk
from bpi-router-linux.
i use basis image https://drive.google.com/drive/folders/1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk
but not support ipset , and i not found this kernel version source code , i just need ipset support
from bpi-router-linux.
why not using later kernel-version? r2 itself also works in 6.6 (latest LTS), but internal wifi (mt6625l) is last supported in 5.15
but strange anyway why it does not compile for you...i updated the tree and pushed it...lets see if pipeline fails too...
on my current system i use this gcc:
$ arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.5.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --without-target-system-zlib --enable-libpth-m2 --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=/usr/arm-linux-gnueabihf/include --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
gcc version 9.5.0 (Ubuntu 9.5.0-1ubuntu1~22.04)
from bpi-router-linux.
in version 6.6-main , i get same error
DTC arch/arm/boot/dts/mediatek/mt2701-evb.dtb
/home/niko/BPI-Router-Linux/arch/arm/boot/dts/mediatek/mt2701-evb.dts:9:10: fatal error: dt-bindings/gpio/gpio.h: No such file or directory
9 | #include <dt-bindings/gpio/gpio.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
and
niko@ubuntu-compile:~/BPI-Router-Linux$ arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/11/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --without-target-system-zlib --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a+fp --with-float=hard --with-mode=thumb --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=/usr/arm-linux-gnueabihf/include --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
niko@ubuntu-compile:~/BPI-Router-Linux$
Let me try downgrading the version of gcc
from bpi-router-linux.
i download release souce code and build success !
maybe git clone loss some file ?
from bpi-router-linux.
i can also build successful and as the file is there there is something broken in build-process, you can try to reset your tree "ARCH=arm make mrproper" and maybe do a git hard reset (git reset --hard origin/5.10-main)
release source-code is taken from git :p see pipeline...it does a git clone first
from bpi-router-linux.
Related Issues (20)
- BPI-r3 expose pps HOT 8
- adding CONFIG_NTP_PPS module not 6.2-main brach HOT 1
- build.sh Deb Pack Gen debarch if statement backwards HOT 2
- Wireguard support BPI-R3 HOT 2
- WiFi doesn't work on kernel 5.15 HOT 9
- bpi-r2, kernel 5.15.129 - compilation errors (mediatek) - arm-linux-gnueabihf-gcc (Debian 13.2.0-2) HOT 4
- [bpi-r2pro/linux 6.1] how to populate spi devices in /dev HOT 1
- bpi-r3 will it be able to support armbian? HOT 1
- i2c rtcs HOT 2
- [BPI-R3][Kernel 6.1] LVM issue HOT 2
- BPI-R3 Mini HOT 8
- 6.9-rc kernel wifi not working - here is the fix HOT 5
- SFP interface does not work on you 6.9-rc branch HOT 36
- Wifi advanced features do not work on your 6.9-rc HOT 4
- [BPI-R4] File missing: ./arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-sd.dtso etc. HOT 2
- mt7615 wifi doesn't work properly on kernel 5.15 HOT 2
- arm64 linux-headers-6.6.25-bpi-r3-main package ships with x86-64 files HOT 5
- [BPI-R4] Docker support HOT 5
- please install libncurses5-dev (Ubuntu 24.04) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpi-router-linux.