Comments (12)
cryptodev is only available in branch 4.14-main...in other branches just ignore it. in 4.14-main the clear throws also an error if there are no files to remove :)
Which branch do you want to build?
If you do not need cryptodev,just ignore this. It's an additional script and not needed to build the kernel itself so mainscript goes over it
from bpi-router-linux.
Thanks for quick response, appreciated. My board should arrive in next week or so, I'm just getting prepared :-)
I am actually building 4.14-main (based on this looking like to most compatible build feature-wise) - looks like it the clean throwing the error as you noted.
from bpi-router-linux.
If building 4.14-main,the error should be different.
make[1]: *** M=/home/mark/banana-pi/BPI-R2-4.14/cryptodev/cryptodev-linux: No such file or directory. Stop.
The directory itself should exist
https://github.com/frank-w/BPI-R2-4.14/tree/4.14-main/cryptodev/cryptodev-linux
The error should say that files cannot be removed because they does not exist if not previous compiled. But as i said if you do not need cryptodev you can ignore that
from bpi-router-linux.
Don't think I need the crypto... but it was niggling me....
In the cryptodev/build.sh
should:
make clean
make KERNEL_DIR=$kerneldir CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm
not be:
make KERNEL_DIR=$kerneldir clean
make KERNEL_DIR=$kerneldir CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm
This allows me the build it cleanly in the cryptodev directory.
But building the full kernel now gives:
Build CryptoDev
make -C /home/mark/banana-pi/BPI-R2-4.14 M=/home/mark/banana-pi/BPI-R2-4.14/cryptodev/cryptodev-linux ARCH=arm CROSS_COMPILE=ccache arm-linux-gnueabihf- clean
make[1]: Entering directory '/home/mark/banana-pi/BPI-R2-4.14'
./scripts/gcc-version.sh: line 26: ccachegcc: command not found
./scripts/gcc-version.sh: line 27: ccachegcc: command not found
make[1]: ccachegcc: Command not found
make[1]: ccachegcc: Command not found
make[1]: *** No rule to make target 'arm-linux-gnueabihf-'. Stop.
make[1]: Leaving directory '/home/mark/banana-pi/BPI-R2-4.14'
Makefile:39: recipe for target 'clean' failed
make: *** [clean] Error 2
make -C /home/mark/banana-pi/BPI-R2-4.14 M=/home/mark/banana-pi/BPI-R2-4.14/cryptodev/cryptodev-linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules
make[1]: Entering directory '/home/mark/banana-pi/BPI-R2-4.14'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory
I'm not sure why the
ARCH=arm CROSS_COMPILE=ccache arm-linux-gnueabihf-
is being added to the clean in this case!
from bpi-router-linux.
my script does not add it
it seems it is added by Makefile
but removing this $(KERNEL_MAKE_OPTS) results in an infinite loop
from bpi-router-linux.
Yes, the Makefile should be:
$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean
That, and the change to the build.sh to add the KERNEL_DIR works. Thanks for the pointer.
from bpi-router-linux.
$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean
does also not work...clean seems to treat M=... as dir not as var and tries to access it...
but this Makefile is not modified by me...
from bpi-router-linux.
Have you also make the change to cryptodev/build.sh I mentioned above ?
In the cryptodev/build.sh
make clean
make KERNEL_DIR=$kerneldir CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm
should be:
make KERNEL_DIR=$kerneldir clean
make KERNEL_DIR=$kerneldir CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm
from bpi-router-linux.
right, i only hae to change cryptodev/build.sh and it works if i call it alone....in main build.sh i got the mentioned error where ccache and crosscompiler and concatenated
from bpi-router-linux.
Yes you need to change the cryptodev-linux Makefile to:
$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean
to fix the errors
from bpi-router-linux.
see the last commit...works here...sorry had not pushed it...now you can see it
from bpi-router-linux.
Yep, all good. Thanks.
from bpi-router-linux.
Related Issues (20)
- bpi-r3 eth1 dropping packets HOT 5
- 6.1-main deb package is not compatible with Debian Bullseye HOT 7
- mt7530 doesn't work on bpi-r3 if mtk_eth is built as module HOT 6
- bpi-r3 branch 6.3-rc missing SFP support / transmit queue timeout HOT 38
- 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
- Debian package > 5.4 have no kernel with dtb HOT 5
- [Solved] About 10x performance degradation with 5.15-main HOT 11
- Initramfs and bootargs support? HOT 2
- [Question] 5.15 & hwnat HOT 3
- Linux ACL's (Access Control Lists) does not work for ext4 for some reason. HOT 4
- cryptodev not available on kernel 6.1 HOT 7
- iptables not available on kernel 6.1 HOT 4
- is it possible to resize the filesystem when using SD card? HOT 2
- SFP1 vlan not working on the r3 HOT 2
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.