parrot-opensource / bebop-opensource

Open Source Software used in Parrot Bebop
9 stars 5 forks source link

Building to an elf file #2

Open lexanded opened 7 years ago

lexanded commented 7 years ago

I would like to know if it is possible to build this repo to an elf file in order to load it directly as an update. I am interested in modifying the imu scan rate in order to use it for autonomous flying using the bebop_autonomy driver.

Thank you

ymorgan commented 7 years ago

Hi, This repository contains only source code of components used by the bebop firmware whose license requires us to publish it (GPL/LGPL...). It does NOT contain the full source code of the bebop that is under a proprietary license (like the main process that contains the flight stack and the video pipeline) or source code that is under open source license that do not requires us to publish the source code (BSD/APACHE2...).

lexanded commented 7 years ago

Hi, ok thanks for the fast response. Are you planning on increasing the scan rate of the imu? It would improve autonomous control for the bebop.

Thanks again

ymorgan commented 7 years ago

Hi, No, there is no plan to change the rate of acquisition of the IMU.

aricwang88 commented 7 years ago

Where can I find the patch, the latest kernel version is 3.4.11+ , not 3.4.11, who can help? I need to build kernel modules.

ymorgan commented 7 years ago

The complete source code of the kernel is in https://github.com/Parrot-Developers/bebop-opensource/tree/master/sources/linux-3.4.11 (tagged for each version) The 3.4.11+ is just the name of the directory created at build time indicating the revision level of the build (it can be a sha1 or a string or +, we choose + to have the same name at each build)

The config is at the same location. The toolchain is here https://github.com/Parrot-Developers/toolchains (2012-03 for the kernel)

aricwang88 commented 7 years ago

@ymorgan, thx for you quickly reply. My bebop2 upgrade to 4.0.5, the kernel version is Linux Bebop2-010974 3.4.11+ #1 SMP PREEMPT Mon Apr 3 09:55:58 CEST 2017 armv7l GNU/Linux, but all my own kernel modules built for 3.4.11, now can't insmod, and with the error disagrees about version of symbol module_layout