2018-07-09, 08:45 PM
(2018-07-08, 09:15 PM)dlorrain Wrote:(2018-07-06, 08:29 AM)Rooco Wrote:(2018-07-05, 10:11 PM)dlorrain Wrote: Hi,
I tried to install it on a fresh open plotter install on my new rpi 3+ and here is the error message : "
INFO: Loading driver "./i2c-gpio-param.ko".
insmod: ERROR: could not insert module ./i2c-gpio-param.ko: Invalid module format
******************************************************************************************
ERROR occured!!
Could not load "./i2c-gpio-param.ko".
I tried to install it manually and same error Invalid module format
Any idea ?
Thanks
Hello!
Which OpenPlotter image are you using?
Have you compiled the Moitessier tools at your own or do you use the precompiled debian package included in the OpenPlotter image?
This error occurs if the kernel and the modules used by the Moitessier HAT are compiled with a different compiler. The Moitessier modules are loaded dynamically upon booting, so it is essential that they have the same format. If you want to compile the tools/drivers at your own use the official compiler provided by Raspberry.
Regards,
Thomas
Hi,
Very strange I am using the OpenPlotter v1.0.0 IMG downloaded from this website...
I will reinstall it and see if I have the same issue.
Regards.
D.
Hi,
On a fresh install, not the same error, but still cannot install moitessier hat propely.
(Lecture de la base de données... 124174 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../moitessier_4.14.34_2018.04.29-213134_armhf.deb ...
Dépaquetage de moitessier (4.14.34-2018.04.29-213134) sur (4.14.34-2018.04.29-213134) ...
Paramétrage de moitessier (4.14.34-2018.04.29-213134) ...
Running post install...
Updating HAT firmware...
******************************************************************************************
This script is used to flash the STM32 microcontroller on the Moitessier HAT.
One of the following options can be applied:
-r : Will load the latest firmware release from the remote repository https://github.com/mr-rooney/moitessier-firmware.git.
The firmware will be located in "/home/pi/moitessier/flasher/fw/application.binary".
-s : Specifies the firmware that should be used.
This option requires the path + filename as parameter
-f : Forces the Raspberry Pi to shutdown after firmware update. A shutdown + power cycle
is required only for virgin Moitessier HATs without any firmware.
Note: Options -s and -r must not be applied at the same time!!
******************************************************************************************
**************************************************************************************
The firmware file "application.binary" is used for the update
**************************************************************************************
WARNING: Module "i2c_gpio_param" is loaded, we will unload and reload afterwards.
INFO: Unloading "i2c_gpio_param"
INFO: Loading driver "i2c-gpio-param.ko".
declare -a i2cDevicesToDeleteList=([0]="i2c-7")
INFO: Deleting I2C device i2c-7.
INFO: Creating I2C bus.
INFO: Terminating running processes...
INFO: Killing process kplex.
INFO: gpsd not running.
WARNING: Module "moitessier" is loaded, we will unload to gain access to the required GPIO pins.
INFO: Unloading "moitessier".
rmmod: ERROR: Module moitessier is in use
******************************************************************************************
ERROR occured!!
Could not unload "moitessier"
******************************************************************************************
Error occured. You might try to install the package again.
Finished. If the process has been successful, the system will automatically restart in a few seconds. If there have been failures, check the log and close this window.