-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure: error: No configured Linux kernel sources in /usr/src/rpi-kernel #4
Comments
ARCH=arm bcmrpi_defconfig Are you quite sure about those options? Those would be for 32bit arm and ten year old pi hardware. Also I don't think you need to specify ARCH for native compile, that is for when you are cross-compiling. Pick the right option for your install: https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel-configuration Also, at the very end of this instruction you have, there is an option to just install the headers, that might work, maybe https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel-headers |
Hi, I just have two questions:
I did a (there is no OpenPLC_v3/utils/ethercat_src/build/ethercat.cfg in my tree, the directory build is missing) so, I thougth I just try to use %QX0.0 for the first output but nothing happens (while EtherCAT is running correctly). I have to admit, that I had a version without EtherCAT installed of OpenPLC_v3 before, but after re-installing your branch it seems to work correctly:
(/home/pi/ECAT/OpenPLC_v3/ is the correct directory)
|
Hi When you install OpenPLC, you have to do so by specifying ethercat option:
That will also make the missing build directory. And start printing out it's configured ethercat variables. Just run the install again if you have previously done so with different options. As for the addresses such as %QX0.0 etc, for ethercat variables it just auto assigns them incrementing from zero. During startup it prints out the addresses it has assigned for what, e.g.
And you just have to use those addresses it prints out in your PLC program. Currently EtherCAT is coded so it just starts from zero and increments however many variables it has in it's configuration. So I guess if modbus also needs to be used at the same time then modbus has to be configured to not overlap this range, I don't know if there is an easy way to do this. Currently there is no configuration to shift the ethercat address range to start from something else than zero. The successful installation with ethercat included should be concluding like so:
Specifically note the line that says: Including EtherCAT Let me know how it goes |
Ok, that's strange, because I did a is there a way to completly purge the openPLC install and start from scratch? Or another way of installing your openPLC version over the first installation? |
could you do a |
Hey, sorry for delayed answer, were away for a few days. I'm afraid it has to be |
Hi,
I am trying to follow your installation manual, but I get the error when running the line with
./configure --sysconfdir=/etc --enable-8139too=no
so I followed this: https://www.raspberrypi.com/documentation/computers/linux_kernel.html
but I cannot configure the kernel because I get:
how did you make the igh configure file work?
The text was updated successfully, but these errors were encountered: