The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Serial port on Raspberry Pi using Devuan » 2018-09-05 02:39:52

## memory shared with the GPU
gpu_mem=128

## always audio
#dtparam=audio=on

## maximum amps on usb ports
max_usb_current=1

## enable hardware-accelerated graphics
dtoverlay=vc4-kms-v3d

#dtparms=i2c2_iknowwhatimdoing

dtoverlay=pi3-disable-bt
dtoverlay=pi3-disable-wif

enable_uart=1

## kernel
kernel=kernel8.img

My cmdLine.txt is netbooting so I don't know if that is of help. But I can give to you with the IP address removed:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs rootfstype=nfs nfsroot=XX.XX.XX.XX:/root elevator=deadline fsck.repair=yes rootwait ip=dhcp plymouth.ignore-serial-consoles

.

It maybe the plymouth.ignore-serial-consoles that does it.

#2 Re: Hardware & System Configuration » Serial port on Raspberry Pi using Devuan » 2018-09-04 03:30:45

Solved it when I realised that by disabling the bluetooth and wifi and enabling the UART, the kernel creates /dev/ttyS0. I was trying to use /dev/ttyAMA0 which gets switched to the second UART after the enabling and disabling.

#3 Hardware & System Configuration » Serial port on Raspberry Pi using Devuan » 2018-08-23 09:08:19

minghia
Replies: 5

We are trying to use the serial port on a Raspberry Pi 3B running Devuan and we can't seem to anything through what we think is the serial port on pins 8 & 10 on the header. Does anyone have any experience getting the serial port to work on a Raspberry Pi using Devuan?

Note I have enable-uart=1 in my /boot/config.txt and I have also disabled the WiFi and the Bluetooth.

Tony

#4 Re: Installation » Raspberry 3 - Unable to locate package python-rpi.gpio » 2018-08-10 05:10:43

I found it by using pip install RPi.GPIO. Unfortunately it doesn't work under Devuan. When you try to import from python you get an error stating that the software only runs on a Raspberry Pi.

Is there a way to access the GPIO pins on a Devuan O/S? Under other linuxes it is simply a case of typing:

echo X > /sys/class/gpio/export

and this creates the directory tree from which you can read or write to the pins using /sys/class/gpioX value. Unfortunately this appears not to work under Devuan on a RPi 3B+.  Any suggestions would be appreciated.

#5 Re: Hardware & System Configuration » Problem reboot 3B+ » 2018-07-10 11:53:51

I think you misunderstood my problem. Booting the device is not the problem as I am booting over the network. The non-booting happens when I reboot the 3B+ and it shuts down okay but all the lights go off and nothing happens until I power cycle the 3B+.

#6 Hardware & System Configuration » Problem reboot 3B+ » 2018-06-29 08:45:56

minghia
Replies: 3

I just got my new 3B+ today and it is having trouble rebooting. When I reboot it, it just hangs with no lights on. I saw a post on a Raspberry Pi site that indicated that there might be problems with the LAN driver. Is there a later LAN driver than doesn't have this problem? Of course the problems may be with my power supply but I don't think the system would cold boot if that was the case.

Does anyone have suggestions?

#7 Re: Installation » Network booting » 2018-06-22 05:25:23

I got the system to boot and run after using the latest ascii raspberry pi image and happy days. The problem is that I want to separately mount /usr but the system complains that it can't find libgssapi_krb5.so.2 and the system is next to useless. Is there way to disable Kerebros under Devuan or am I stuck?

#8 Re: Installation » Network booting » 2018-06-19 12:02:04

I upgrade to ascii and one of my problems appears to be finding the right combination of bootcode.bin, start.elf, kernel?.img and the associated files to get the system to boot up. If I use the current Raspbian stable set of files I can get the system to load the root file system but the kernel panics. Does anyone have any ideas?

I went back to booting from a SD card but for some reason when I tried to install nfs-common it failed to configure. I have tried the numerous recommendations about this problem but a status 10 as the reason for the install configuration of nfs-common is a tad useless unless I can find out what it means. Has anyone got nfs-common working on Devuan ascii on a Raspberry Pi 3B?

I love that the fact I don't have to use systemd but surely getting a NFS client should be relative easy.

#9 Re: Installation » Network booting » 2018-06-18 09:16:06

I got around the missing vcgencmd by using a Raspian SD card that I had lying around. Of course it doesn't work if one doesn't install mount.nfs. Unfortunately since we are basically a Centos shop getting and my target is isolated from the real world I have to go a round about way to get files onto this system.

#10 Re: Installation » Network booting » 2018-06-18 07:21:46

That's only useful if you have a machine with a proper PXE BIOS. There is some black magic you have to do to get a Raspberry Pi to boot off the network

echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt

and then reboot the system. The Raspbian doco states you can check the system has changed by typing:

$ vcgencmd otp_dump | grep 17:
17:3020000a

to verify that the system has changed into network boot mode but this doesn't work with Devuan as the vcgencmd command is not present. I got it to boot but the kernel panicked.

#11 Installation » Network booting » 2018-06-18 02:43:10

minghia
Replies: 8

How do I get the Devuan distro to network boot? I know with Raspbian you follow the documentation here: https://www.raspberrypi.org/documentati … utorial.md but the command

vcgencmd 

doesn't exist and nor does its package libraspberrypi-bin. Any ideas on how I get started?

Tony

Board footer

Forum Software