The officially official Devuan Forum!

You are not logged in.

#1 ARM Builds » Updating kernel (Raspberry pi 2) » 2023-12-12 10:05:12

holala
Replies: 1

Hello. I want to use wireguard with my raspberry pi.

Installing the wireguard package requires another kernel - 6.1.0-14-rt-armmp.
I installed it and removed the current 6.1.64 kernel. However

uname -r

stil returns 6.1.64.

After some research I found that the actual booted kernel is the one in

/boot/broadcom/kernel7.img

. I believe that apt doesn't generate this specific img file (it generates the initramfs files though...).

I wonder how to generate the kernel7.img file without building custom kernel myself? Probably from the initrd.gz file? Or just putting vmlinuz-6.1.0-14-rt-armmp as kernel7.img ?

Otherwise I find these instructions proper for the task: https://www.raspberrypi.com/documentati … ernel.html

#2 Re: ARM Builds » Orange Pi Zero 3 » 2023-12-05 14:07:27

Hello. Thank you for your work. I just ordered few of these "Orange Pi 3G-IOT-A 256MB RAM 512MB EMMC Flash DDR2 MT6572 Mini PC WiFi Bluetooth Development Board SBC Single Board Computer".

I guess Pi zero 3 is different from Pi-3G, but once they arrive I'll follow your instructions to setup them.

#3 Re: Other Issues » Correct usage of openrc with python scripts » 2023-09-14 11:32:37

I confirm that openrc-run is located in /sbin

#4 Other Issues » Correct usage of openrc with python scripts » 2023-09-14 07:11:17

holala
Replies: 2

Hello.

I have pepared a simple openrc script to run OpenWebRX. Here it is:

#!/sbin/openrc-run

OWRX_PATH="/home/openwebrx/openwebrx"
PATH=$PATH:/home/openwebrx/openwebrx/
name="OpenWebRX"
#procname=python3
command_user="openwebrx:openwebrx"
command="/usr/bin/python3 /home/openwebrx/openwebrx/openwebrx.py"
command_args=">> /home/openwebrx/log/owrx.log 2>&1"
#output_log="$OWRX_PATH/../log/owrx.std"
#error_log=$OWRX_PATH/../log/owrx.err
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"

The problem is that openrc doesn't obey the

command_user

parameter and the proccess is ran by root.

Would you please give me a hint on how to solve this?

PS: By the way, the command_args seem not to be included also, when I check with

ps

#5 ARM Builds » [Solved][Raspberry Pi 2] Serial console » 2022-01-04 21:03:27

holala
Replies: 1

Hi!

Thanks for the nice work. I'm using

devuan_chimaera_4.0.0_armhf_rpi2.img.zip

After I wrote the image to the SD card I had problems using the serial console (namely, there were some boot output, but no login prompt).

So I modified cmdline.txt and /etc/inittab as follows:

config.txt

enable_uart=1

cmdline.txt

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=PARTUUID=a403f26f-02 rootfstype=ext4 fsck.repair=yes logo.nologo net.ifnames=0 firmware_class.path=/lib/firmware/updates/brcm rootwait

/etc/inittab

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Maybe only inittab modification was required, but I'm posting the cmdline.txt changes anyway.

Good luck!

Board footer

Forum Software