code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Debian Stretch ARM64 for Raspberry Pi 3

Fri Nov 30, 2018 9:10 pm

I am happy to announce that I have managed to get Debian Stretch ARM64 running on the Raspberry Pi 3 with a custom kernel. It required me to recompile the Raspbian kernel with ARM64 support and install the kernel modules, as well as install a few other packages.

I managed to get Debian Stretch running with the XFCE desktop running Chromium and LibreOffice at acceptable speed.

Image

Pi's built-in WiFi currently not working, but Ethernet works fine. I've released a pre-release image you can find at https://github.com/CodeExecution/Debian64Pi under the releases section. This image is in testing stage and you may encounter some issues.

For those who want to build the image themselves, instructions are found at https://github.com/CodeExecution/Debian ... uctions.md

The image is a minimal installation and does not include a desktop environment, but one can be installed by following the instructions on the GitHub page. Once Debian Stretch for Pi 3 becomes stable, I will release versions that have desktop environments pre-installed (such as Debian XFCE and Debian MATE).
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sat Dec 01, 2018 10:26 am

Debian Stretch using the MATE desktop. I'll be uploading an image to my GitHub repository which already has the MATE desktop preinstalled soon.

Image
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sun Dec 02, 2018 5:38 am

bump
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

jdonald
Posts: 139
Joined: Fri Nov 03, 2017 4:36 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Tue Jan 01, 2019 8:43 am

This is great. It provides a familiar environment where users can quickly test the latest Chromium, Firefox, modern databases and other software that is now unsupported on armhf.

In my opinion the number one feature missing here is a working Mesa VC4 driver. When Bamarni pi64 was released it initially didn't have accelerated graphics, but the bar is higher now with Gentoo64, Crazyhead's Raspbian64, and supposedly Fedora aarch64.

Newer versions of Chromium are needed for decent WebGL functionality, but that's no good without a driver.

code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sun Jan 20, 2019 9:31 am

jdonald wrote:
Tue Jan 01, 2019 8:43 am
This is great. It provides a familiar environment where users can quickly test the latest Chromium, Firefox, modern databases and other software that is now unsupported on armhf.

In my opinion the number one feature missing here is a working Mesa VC4 driver. When Bamarni pi64 was released it initially didn't have accelerated graphics, but the bar is higher now with Gentoo64, Crazyhead's Raspbian64, and supposedly Fedora aarch64.

Newer versions of Chromium are needed for decent WebGL functionality, but that's no good without a driver.
People have tried enabling OpenGL through config.txt on my Debian images, but nothing happened. I believe this is because the OpenGL overlay is 32-bit, whereas the Debian system is 64-bit.

EDIT: This seems to be correct. The Pi 3's SoC is 64-bit, but the VideoCore IV GPU is still 32-bit. But considering distros like Fedora and Gentoo offer VC4 acceleration, I'm wondering how to get it in my Debian and Ubuntu images.

EDIT 2: What I said in Edit 1 turned out to be false. Read the reply below.
Last edited by code_exec on Sun Feb 03, 2019 8:45 pm, edited 1 time in total.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sun Feb 03, 2019 8:43 pm

Seems like what I said was false. The kernel I used in my Debian images (4.18 or 4.19, I can't remember) seems to be at fault for the overlay not working. I tried building a test Debian XFCE ARM64 image for the Pi 3 that used kernel 4.14.95 and then enabling OpenGL in config.txt and the Pi booted using the OpenGL driver.

LightDM failed and constantly flashed.
SLIM worked perfectly.
GDM3 showed a blank screen with a frozen cursor.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

echmain
Posts: 165
Joined: Fri Mar 04, 2016 8:26 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sat Feb 23, 2019 1:10 pm

Is this project still going on?

I’d like to try 64 bit Debian Stretch on a 3B+.

My use case is a bit simpler. I will only ssh into it so I don’t need a desktop or graphics.

And it will be connected by Ethernet cable so I don’t need WiFi or Bluetooth either.

code_exec
Posts: 264
Joined: Sun Sep 30, 2018 12:25 pm

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sun Feb 24, 2019 7:10 am

echmain wrote:
Sat Feb 23, 2019 1:10 pm
Is this project still going on?

I’d like to try 64 bit Debian Stretch on a 3B+.

My use case is a bit simpler. I will only ssh into it so I don’t need a desktop or graphics.

And it will be connected by Ethernet cable so I don’t need WiFi or Bluetooth either.
Project isn't dead, I'm just working on other things right now.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

laroche
Posts: 9
Joined: Fri Jul 06, 2018 7:30 am

Re: Debian Stretch ARM64 for Raspberry Pi 3

Sun Mar 24, 2019 3:15 pm

vmdb2 from Debian can be used to build arm64 images based of standard Debian. I don't use a GUI, just standard server stuff.

I have uploaded a sample configuration to https://github.com/laroche/arm-devel-in ... db2-debian that
should be easy to use for new images. (It is basically just on yaml file with a list of packages to install and a few lines of basic
configuration.)

A ready to use image is also uploaded to https://github.com/laroche/arm-devel-in ... e/releases.

best regards,

Florian La Roche

Return to “Debian”