This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Raspbian bug kills Moitessier HAT systems after upgrading to kernel 4.19.118
#17
pi@openplotter:~/Downloads $ sudo dpkg -i moitessier_4.19.118_2.0.1_armhf.deb
(Lese Datenbank ... 102217 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von moitessier_4.19.118_2.0.1_armhf.deb ...
Entpacken von moitessier (2.0.1) über (2.0.1) ...

******************************************************************************************
Running post remove... (upgrade)
******************************************************************************************


******************************************************************************************
Nothing to do
******************************************************************************************

moitessier (2.0.1) wird eingerichtet ...

******************************************************************************************
Running post install...
******************************************************************************************

/etc/systemd/system/moitessier.shutdown.service

******************************************************************************************
File /etc/systemd/system/moitessier.shutdown.service deleted.
******************************************************************************************

[Unit]
Description=Moitessier Shutdown

[Service]
ExecStart=/home/pi/moitessier/scripts/system_shutdown
Restart=always

[Install]
WantedBy=multi-user.target

******************************************************************************************
Setting up interfaces...
******************************************************************************************

moitessier: setting up /etc/modules
i2c-dev

******************************************************************************************
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 "./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!!
******************************************************************************************


******************************************************************************************
Determining I2C GPIO device
******************************************************************************************


******************************************************************************************
I2C GPIO device: i2c-7
******************************************************************************************


******************************************************************************************
The firmware file "application.binary" is used for the update
******************************************************************************************


******************************************************************************************
Terminating running processes...
******************************************************************************************


******************************************************************************************
"kplex" not running
******************************************************************************************


******************************************************************************************
"gpsd" not running
******************************************************************************************


******************************************************************************************
"opencpn" killed
******************************************************************************************


******************************************************************************************
"node" killed
******************************************************************************************


******************************************************************************************
WARNING!!

Module "moitessier" is loaded, we will unload to gain access to the required GPIO pins.
******************************************************************************************

INFO: Unloading "moitessier".
...................................

******************************************************************************************
Flashing firmware.
******************************************************************************************

stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Raw BINARY
Warning: Not a tty: /dev/i2c-7
Error probing interface "serial_posix"
Interface i2c: addr 0x41

GPIO sequence start
setting gpio 18 to 1... OK
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 17 to 1... OK
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 18 to 0... OK
delay 100000 us
delay 100000 us
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 18 to 1... OK
delay 100000 us
delay 100000 us
GPIO sequence end

size = 131072
Version : 0x10
Device ID : 0x0442 (STM32F030xC/F09xxx)
- RAM : Up to 32KiB (6144b reserved by bootloader)
- Flash : Up to 128KiB (size first sector: 2x2048)
- Option RAM : 16b
- System RAM : 8KiB
Write to memory
Erasing memory
Wrote and verified address 0x08020000 (100.00%) Done.

Starting execution at address 0x08000000... done.

GPIO sequence start
delay 100000 us
delay 100000 us
setting gpio 17 to 0... OK
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 18 to 1... OK
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 18 to 0... OK
delay 100000 us
delay 100000 us
delay 100000 us
setting gpio 18 to 1... OK
GPIO sequence end



******************************************************************************************
FIRMWARE UPDATE SUCCESSFULL!!!
******************************************************************************************


******************************************************************************************
Installation succeeded. Rebooting system...
******************************************************************************************
Reply


Messages In This Thread
RE: Raspbian bug kills Moitessier HAT systems after upgrading to kernel 4.19.118 - by nebosa - 2020-06-30, 03:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)