The officially official Devuan Forum!

You are not logged in.

#1 2019-11-19 12:17:22

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

RPi3A+/3B/3B+/(4B)

As an owner of these little computers, I was hoping that there might be an image of Devuan available for these, all I have found is a directory of a distro for the RPi3, & some talk of creating a RPi4 version.

So, if anyone is interested in these RPi, please add what you know to this thread, thanks. smile

Offline

#2 2019-11-19 18:51:57

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

Hello Camtaf,
There are already images for rpi1,rpi2,rpi3 here,  by @parazyd

What is still missing is a Image for rpi4,
But @parazyd landed support in the embedded sdk, 3 months ago.. smile
You can see it in the arm-sdk, tough I don't know the level of support..

I don't have a rpi4, if I had, I would test it..

Best Regards,
tux

Last edited by tuxd3v (2019-11-21 00:59:50)


Best Regards,
tux

Offline

#3 2019-11-20 10:58:52

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: RPi3A+/3B/3B+/(4B)

Thanks for the links. I have downloaded the RPi3 64bit version, but it extracts to a folder full of system folders, & I know the RPi usually has a FAT partition, as well as the Linux one.

Not quite sure what to do with them, do I copy the Rasbian FAT files to a FAT partition, & then all these system files into an EXT filesystem? Or do the /boot files go onto a FAT partition, & the rest onto a Linux filesystem?

Thanks for your help.

Last edited by Camtaf (2019-11-20 11:02:03)

Offline

#4 2019-11-20 13:26:42

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

Camtaf wrote:

Thanks for the links. I have downloaded the RPi3 64bit version, but it extracts to a folder full of system folders, & I know the RPi usually has a FAT partition, as well as the Linux one.

Not quite sure what to do with them, do I copy the Rasbian FAT files to a FAT partition, & then all these system files into an EXT filesystem? Or do the /boot files go onto a FAT partition, & the rest onto a Linux filesystem?

Thanks for your help.

Hello,
You Welcome.

I believe that you need 2 file-systems, since '/boot/cmdline.txt', states in the kernel bootargs 'root=/dev/mmcblk0p2'( it assumes a second partition.. )

2 partitions.
1st Partition  - copy /boot/* contents to it..
2nd Partition - copy all the rest to it( excluding /boot )..

There are still some doubts about the initial boot part, but I believe your line of thinking is correct smile


Best Regards,
tux

Offline

#5 2019-11-20 14:59:09

Dutch_Master
Member
Registered: 2018-05-31
Posts: 285  

Re: RPi3A+/3B/3B+/(4B)

It is, as it's the same with Raspbian: a FAT partition to hold proprietary stuff and a Linux partition (etx3 IIRC) for the remainder.

FYI: I've tried to get Devuan running on the older RPi1 (the original Raspberry Pi) but so far unsuccessfully. Some-one else has shown it works, so there's probably an error on my part. I don't have any newer RPi's.

Last edited by Dutch_Master (2019-11-20 14:59:33)

Online

#6 2019-11-20 18:59:18

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: RPi3A+/3B/3B+/(4B)

Thanks for your help fellas. smile

Offline

#7 2019-11-21 15:55:49

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

Camtaf wrote:

Thanks for your help fellas. smile

You welcome smile


Best Regards,
tux

Offline

#8 2019-11-21 18:50:48

FM81
Member
Registered: 2017-09-16
Posts: 30  

Re: RPi3A+/3B/3B+/(4B)

You can take the image for the RPi3, replace, firmware, kernel, bootloader as described here https://dev1galaxy.org/viewtopic.php?id=2935
The only difference in my way was, not to install all on a raspberry 2 or 3 as described; instead I've mounted the original image-file an replaced firmware and so on "by hand"

At least it boots, but I can only test it via ssh, because I own no micro-hdmi-cable at the moment ...

Best regards, FM_81


The most brilliant role in comedy is that of a fool, he must not be in order to make it seem. (Miguel de Cervantes)

Offline

#9 2019-11-22 05:18:57

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

I am trying by make a bootable Image for rpi..
But I only have versions 1( version 2.1 died a year ago sad )

So I am short to compare..
For what I saw they have several kernels for different boards, I don't know if they "flash" uboot into the beginning of the sd-card, because 1st partition starts at 4MB.. exactly the size I have for the boot-loader..

It would be nice to have a fluxbox or Enlightenment version of devuan optimised smile

I already compiled a optimised version, of fluxbox, but it would only works in armv7- armhf( it will not in rpi v1, its too much optimized for armv7... the vfp of arm1176jzf-s will not handle it.. )..

On Par with this, I also compiled the ARM Mali Open Stack( Lima + Panfrost ).. for armhf and for arm64, but no Image yet..

Last edited by tuxd3v (2019-11-22 05:21:12)


Best Regards,
tux

Offline

#10 2019-11-25 19:26:25

FM81
Member
Registered: 2017-09-16
Posts: 30  

Re: RPi3A+/3B/3B+/(4B)

Based on the raspi3-image (same root-password 'toor'), but for model 4:
https://www.file-upload.net/download-13 … mg.gz.html
I replaced/added files from the following debs:

firmware-brcm80211_20190114-1+rpt4_all.deb
libraspberrypi0_1.20190925-2_armhf.deb
libraspberrypi-bin_1.20190925-2_armhf.deb
libraspberrypi-dev_1.20190925-2_armhf.deb
raspberrypi-bootloader_1.20190925-2_armhf.deb
raspberrypi-kernel_1.20190925-2_armhf.deb

from the raspbian downlod-site.

Tested  with SSH and composite-video out, not with HDMI yet, but it should probably work too?
I'm sure, there is a lot of work undone, but as basic image it works and it survived an

apt-get update
apt-get upgrade

but updates are not included in the image ...
MD5-checksum should be

4b38c49972103a4c452212726de01159 *./devuan_ascii_2.0.0_arm64_raspi4.img.gz

Best Regards, FM_81


The most brilliant role in comedy is that of a fool, he must not be in order to make it seem. (Miguel de Cervantes)

Offline

#11 2019-11-27 04:53:18

nunya
Member
Registered: 2019-11-17
Posts: 1  

Re: RPi3A+/3B/3B+/(4B)

I have had good luck using SD Card Formatter 5.0.1 on my Windows 10  PC to format, the belena-Etcher to install devuan_ascii_2.0.0_arm64_raspi3.img.xz    152.7 MiB    2018-Jun-06 11:28 to install to my RPI3B+.

Offline

#12 2019-11-27 15:10:21

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

I Built a image for RPi's using the CPU 'arm1176jzf-s':
rpi-a-plus
rpi-a
rpi-b-plus
rpi-b-rev2
rpi-b
rpi-cm1-io1
rpi-zero-w
rpi-zero
rpi-2-b
rpi-3-a-plus
rpi-3-b-plus
rpi-3-b
rpi-cm3-io3

Its a server type Image..


Best Regards,
tux

Offline

#13 2019-12-04 15:17:25

FM81
Member
Registered: 2017-09-16
Posts: 30  

Re: RPi3A+/3B/3B+/(4B)

nunya wrote:

... the belena-Etcher to install devuan_ascii_2.0.0_arm64_raspi3.img.xz ...

Think you mean 'balena-Etcher"?
But from my point of view I would not trust this piece of software anymore: https://github.com/balena-io/etcher/issues/2977
The combination of "secretly spies" and pure root-access to raw-devices sounds not good in my ears, no matter under wich operating system?!
Not sure, what they will do in future versions, if nobody would care about ...

Best regards, FM_81


The most brilliant role in comedy is that of a fool, he must not be in order to make it seem. (Miguel de Cervantes)

Offline

#14 2019-12-09 16:20:58

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

FM81 wrote:
nunya wrote:

... the belena-Etcher to install devuan_ascii_2.0.0_arm64_raspi3.img.xz ...

Think you mean 'balena-Etcher"?
But from my point of view I would not trust this piece of software anymore: https://github.com/balena-io/etcher/issues/2977
The combination of "secretly spies" and pure root-access to raw-devices sounds not good in my ears, no matter under wich operating system?!
Not sure, what they will do in future versions, if nobody would care about ...

Best regards, FM_81

Indeed, but it goes deep..
Look into $HOME/.config directory..

No free launches from them..


Best Regards,
tux

Offline

#15 2020-02-07 09:39:13

uther
Member
Registered: 2019-05-16
Posts: 73  

Re: RPi3A+/3B/3B+/(4B)

FM81 wrote:

Based on the raspi3-image (same root-password 'toor'), but for model 4:
https://www.file-upload.net/download-13 … mg.gz.html

Hello FM81, I want to test your RPi4 Devuan image, but the hosting service won't let me download it, and it is redirecting me to https://www.file-upload.net. The only thing I've blocked on this site are facebook and google-analytics. Can you upload the image somewhere else?
Thanks, uther


soystemd-free diet

Offline

#16 2020-03-18 16:32:11

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: RPi3A+/3B/3B+/(4B)

https://www.file-upload.net/download-13 … mg.gz.html

The above link seems to work OK, I'm in the UK.

Offline

#17 2020-03-18 16:38:03

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: RPi3A+/3B/3B+/(4B)

As an aside, I tried putting the RPi3 64bit system onto a RPi4 Raspbian card, replacing the Debian system - it didn't work - then later on after having deleted my card, I realized that it would need all the kernel modules replacing too - my excuse is that I'm getting old. wink

I'll give the above a try sometime, & have another go myself, remembering to replace the kernel modules next time.

Last edited by Camtaf (2020-03-18 16:39:07)

Offline

#18 2020-05-06 02:42:29

tuxd3v
Member
Registered: 2019-11-14
Posts: 183  

Re: RPi3A+/3B/3B+/(4B)

Hello Camtaf,
Take a look at this image here:
https://dev1galaxy.org/viewtopic.php?id=3209&p=3

see the last 2 posts, and test it on raspberrypi 4 smile


Best Regards,
tux

Offline

#19 2020-05-09 11:54:44

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: RPi3A+/3B/3B+/(4B)

Hello:

tuxd3v wrote:

... it goes deep..
... $HOME/.config directory.

Quite so.

As a precautionary measure, I only used the appimage version but it also writes to $HOME/.config.
So, after using it I'd just exit the application and delete the config file it wrote.

I used it last night without any issue and this morning, for unknown reasons, the application would not start.
So I deleted everything etcher related from my system, downloaded the appimage version and tried again.

No dice.
It won't start.

I have not run any system updates/upgrades since the last time I used it, so I really don't think this could be due to some system glitch/incompatibility.

So I'm back to (and will stay with) the well known and trusty dd.

If there's anything I should look into, please advise.

Thanks in advance,

A.

Offline

Board footer