Seite 5 von 5

Re: piVCCU3 Firmware 3.43.15

Verfasst: 13.03.2019, 10:50
von Slice
Hallo zusammen,

ich habe gestern Abend auch den Schritt gewagt und das neue Update eingespielt.
Bei der Gelegenheit gleich mal noch vorher ein Backup der kompletten SD-Karte durchgeführt und auf eine zweite SD-Karte eingespielt.
Lief alles ohne Probleme durch, danach habe ich dann wie gesagt auf die neue Version upgedated.
Bisher keine Auffälligkeiten, mal schauen was die Zeit noch so bringt!

Danke nochmal an deimos!

Grüße,
Slice

Re: piVCCU3 Firmware 3.43.15

Verfasst: 14.03.2019, 18:28
von CyberMicha
Hi zusammen,
habe gerade mal ein Update gefahren und nun geht gar nix mehr :(

Code: Alles auswählen

[code]piVCCU version: 3.43.15-18
Kernel modules: Not available
Raw UART dev:   Not available
Rasp.Pi3 UART:  Assigned to GPIO pins
HMRF Hardware:  unknown
HMIP Hardware:  unknown
Board serial:   unknown
Radio MAC:      unknown
SGTIN:          unknown
State:          STOPPED

Code: Alles auswählen

● pivccu.service - piVCCU
   Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: enabled)
   Active: failed (Result: resources) since Thu 2019-03-14 17:20:28 UTC; 6min ago
      CPU: 288ms

Mar 14 17:19:52 raspberrypi start_container.sh[17088]: modprobe: FATAL: Module rpi_rf_mod_led not found in directory /lib/modules/4.14.98-v7+
Mar 14 17:19:52 raspberrypi start_container.sh[17088]: kernel.sched_rt_runtime_us = -1
Mar 14 17:19:58 raspberrypi start_container.sh[17088]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Mar 14 17:19:58 raspberrypi start_container.sh[17088]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Mar 14 17:19:58 raspberrypi start_container.sh[17088]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Mar 14 17:19:58 raspberrypi systemd[1]: pivccu.service: PID file /var/run/pivccu3.pid not readable (yet?) after start: No such file or directory
Mar 14 17:20:28 raspberrypi systemd[1]: pivccu.service: Daemon never wrote its PID file. Failing.
Mar 14 17:20:28 raspberrypi systemd[1]: Failed to start piVCCU.
Mar 14 17:20:28 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
Mar 14 17:20:28 raspberrypi systemd[1]: pivccu.service: Failed with result 'resources'.

Leider hilft das hier auch nicht:

Code: Alles auswählen

pi@raspberrypi:~ $ cd /usr/src/linux-headers-4.14.98-v7+
pi@raspberrypi:/usr/src/linux-headers-4.14.98-v7+ $ sudo mkdir -p net/wireguard
pi@raspberrypi:/usr/src/linux-headers-4.14.98-v7+ $ sudo touch net/wireguard/Kconfig
pi@raspberrypi:/usr/src/linux-headers-4.14.98-v7+ $ sudo touch net/wireguard/Makefile
pi@raspberrypi:/usr/src/linux-headers-4.14.98-v7+ $ sudo make scripts
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
  HOSTCC  scripts/genksyms/parse.tab.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  CHK     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/sortextable
scripts/sortextable.c:31:32: fatal error: tools/be_byteshift.h: No such file or directory
 #include <tools/be_byteshift.h>
                                ^
compilation terminated.
scripts/Makefile.host:102: recipe for target 'scripts/sortextable' failed
make[1]: *** [scripts/sortextable] Error 1
Makefile:572: recipe for target 'scripts' failed
make: *** [scripts] Error 2
pi@raspberrypi:/usr/src/linux-headers-4.14.98-v7+ $ sudo dpkg-reconfigure pivccu-modules-dkms
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.

------------------------------
Deleting module version: 1.0.26
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/pivccu/1.0.26/source ->
                 /usr/src/pivccu-1.0.26

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.14.98-v7+ ARCH=arm all....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.14.98-v7+ (armv7l)
Consult /var/lib/dkms/pivccu/1.0.26/build/make.log for more information.

Code: Alles auswählen

DKMS make.log for pivccu-1.0.26 for kernel 4.14.98-v7+ (armv7l)
Thu 14 Mar 17:23:59 UTC 2019
make -C /lib/modules/4.14.98-v7+/build M=/var/lib/dkms/pivccu/1.0.26/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.98-v7+'
  CC [M]  /var/lib/dkms/pivccu/1.0.26/build/eq3_char_loop.o
  CC [M]  /var/lib/dkms/pivccu/1.0.26/build/plat_eq3ccu2.o
  CC [M]  /var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu/1.0.26/build/pl011_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu/1.0.26/build/dw_apb_raw_uart.o
/var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.c: In function ‘generic_raw_uart_get_gpio_pin_number’:
/var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.c:725:31: error: too few arguments to function ‘fwnode_get_named_gpiod’
     struct gpio_desc *gpiod = fwnode_get_named_gpiod(fwnode, label);
                               ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/asm-generic/gpio.h:14:0,
                 from ./arch/arm/include/asm/gpio.h:10,
                 from ./include/linux/gpio.h:49,
                 from /var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.c:39:
./include/linux/gpio/consumer.h:138:19: note: declared here
 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode,
                   ^~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.o' failed
make[2]: *** [/var/lib/dkms/pivccu/1.0.26/build/generic_raw_uart.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1535: recipe for target '_module_/var/lib/dkms/pivccu/1.0.26/build' failed
make[1]: *** [_module_/var/lib/dkms/pivccu/1.0.26/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.98-v7+'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2

Re: piVCCU3 Firmware 3.43.15

Verfasst: 14.03.2019, 19:21
von deimos
Hi,

mach mal ein weiteres Update, da ist bereits ein Fix für online.

Viele Grüße
Alex

Re: piVCCU3 Firmware 3.43.15

Verfasst: 14.03.2019, 19:36
von CyberMicha
Hi Alex,
super hat funktioniert.

Vorhin hat er mir den aber noch nicht angezeigt hmmm.

LG Michael

Re: piVCCU3 Firmware 3.43.15

Verfasst: 14.03.2019, 20:23
von Cars10
deimos hat geschrieben:
14.03.2019, 19:21
Hi,

mach mal ein weiteres Update, da ist bereits ein Fix für online.

Viele Grüße
Alex
Hab grad schon befürchtet, dass ich beim Basteln das Funkmodul gekillt hab --> jetzt ist alles wieder tutti :-)

Re: piVCCU3 Firmware 3.43.15

Verfasst: 15.03.2019, 06:07
von klassisch
Brauche ich beim OPi dieses Update auch?
Folgendes steht an:

Code: Alles auswählen

root@opi2e_piVCCU3:~# apt upgrade -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-config pivccu-modules-dkms
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst pivccu-modules-dkms [1.0.25] (1.0.27 piVCCU stable:stable [all])
Inst armbian-config [5.76] (5.77 Armbian:stretch [all])
Conf pivccu-modules-dkms (1.0.27 piVCCU stable:stable [all])
Conf armbian-config (5.77 Armbian:stretch [all])

Re: piVCCU3 Firmware 3.43.15

Verfasst: 15.03.2019, 06:22
von deimos
Hi,

aktuell brauchst du das Update auf dem Orange Pi nicht zwingend.

Viele Grüße
Alex

Re: piVCCU3 Firmware 3.43.15

Verfasst: 15.03.2019, 06:26
von klassisch
vielen Dank, Alex!