Join us on Discord!
You can help CodeWalrus stay online by donating here.

Arm64 operating systems for the Raspberry Pi 3

Started by gameblabla, December 29, 2016, 12:21:29 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

novenary

I checked yesterday, Arch Linux arm uses the mainline kernel for 64 bit, build scripts here: https://archlinuxarm.org/packages/aarch64/linux-aarch64/files. I'm not sure whether they use uboot or not, but I think it shouldn't be necessary anyway.

Vogtinator

QuoteAlso @Vogtinator, i tried OpenSUSE on my Pi and it gives me a black screen after the EFI messages.
It is giving me signal on my display but it is all black.
After which efi messages? If it's after GRUB2, you could try appending "rd.driver.blacklist=vc4" to the kernel cmdline and try booting with efifb.
Red and blue are swapped to a disagreement between u-boot and the kernel, but that's a minor issue...
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Yuki

Quote from: Streetwalrus on January 03, 2017, 08:09:09 AM
I checked yesterday, Arch Linux arm uses the mainline kernel for 64 bit, build scripts here: https://archlinuxarm.org/packages/aarch64/linux-aarch64/files. I'm not sure whether they use uboot or not, but I think it shouldn't be necessary anyway.
Looking at the installation page, it says it uses the mainline kernel with U-Boot, but there's no support for the vendor-provided libraries and some components may perform poorly.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

gameblabla

#33
For me, Arch Linux ARM Aarch64 worked very well : i didn't try Wifi or Bluetooth because i have no need for them
but it supported gpu acceleration, usb ports and all just fine.
And i don't have to blacklist vc4 like on OpenSUSE.

My only issue with Arch Linux ARM is that it is a piece of s*** that eats your CPU and memory.
Also, i just found out OpenRC is not available on their repo.

Btw, i don't know how they can use the downstream kernel, i couldn't compile it.
It uses Linux 4.9 for the RPI3 so most likely mainline yes.
The proprietary drivers are crap anyways.
  • Calculators owned: None (used to own an Nspire and TI-89)

novenary

Openrc on arch is unofficial, you have to go through the aur. Might as well run gentoo directly. :P
You should take a look at the build script though, or at least try to paste their kernel and modules into another image.

Yuki

Ah yeah. You might check the wiki, it's definitely unofficial, but there's instructions.

https://wiki.archlinux.org/index.php/OpenRC
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

gameblabla

Well Arch Linux ARM is useless for one stupid reason :
GCC is unable to build anything !
When you try this command :
gcc -c -o caca.o caca.c
It makes no object files, at all.

I tried clang and it was able to build those object files and the linker does not support clang's object files...
Without a working compiler, i'm stuck with the limited precompiled binaries provided by Arch Linux ARM.
That sucks as i can't compile sysvinit or openrc...

With gears, i get 650 FPS with the VC4 drivers.
Without the VC4 using LLVMPipe, i get 100 FPS instead.
My AMD FX 6350 using LLVM Pipe is getting 1000 FPS.
Using LLVMPipe on my FX, i'm able to play Skullgirls at low settings so a raspberry pi 3 with VC4 should be able to run that game decently,
if there was an ARM version available.  :'(

I asked parazyd, the maintainer of arm ports, how to build the kernel and he told me that they are using their own tools :
https://git.devuan.org/sdk/arm-sdk
He said that it's based on the downstream kernel, rather than the upstream one and he said it should be possible to build a newer one.
However, i was unable to get it to work.
If you can though, please let me know.

I admit i had not tried the VC4 blacklist trick on OpenSUSE yet.
On Arch Linux ARM,  if i put the following code :
hdmi_group=2
hdmi_drive=2
hdmi_mode=39

It boots up fine but then black screen.
Removing the line gets me garbled graphics at startup but then graphics are properly initialised by the VC4 driver.
I should try without those lines, i hope GCC works properly on OpenSUSE !
  • Calculators owned: None (used to own an Nspire and TI-89)

Yuki

Quote from: gameblabla on January 12, 2017, 02:36:22 AM
Well Arch Linux ARM is useless for one stupid reason :
GCC is unable to build anything !
When you try this command :
gcc -c -o caca.o caca.c
It makes no object files, at all.
Is that so? It worked for me.

Quote from: gameblabla on January 12, 2017, 02:36:22 AM
On Arch Linux ARM,  if i put the following code :
hdmi_group=2
hdmi_drive=2
hdmi_mode=39

It boots up fine but then black screen.
Removing the line gets me garbled graphics at startup but then graphics are properly initialised by the VC4 driver.
I should try without those lines,
You should try adjusting those numbers. Try
tvservice -m CEA
tvservice -m DMT
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

gameblabla

Quote from: Juju on January 12, 2017, 04:16:34 AMIs that so? It worked for me.
The only thing i did was to upgrade to GCC 6.21 and mask systemd-journald. (and put Storage=none in the conf file as well)
I will try to enable it again to see if that's the issue.


QuoteYou should try adjusting those numbers. Try
Code: [Select]
tvservice -m CEA
tvservice -m DMT
Thanks, where i should put them though ?
in commandline.txt ?
  • Calculators owned: None (used to own an Nspire and TI-89)

Yuki

  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Vogtinator

QuoteI should try without those lines, i hope GCC works properly on OpenSUSE !
As I'm using it on several Pis without issues, definitely.
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

gameblabla

So i tried OpenSUSE again and same issue unfortunely :
after the grub menu, some text and then... black screen with a huge pink line on the very left of my display.
I had blacklisted vc4 in /etc/modprobe.d/50-blacklist.conf but it doesn't seem to do anything...

I redownloaded Arch Linux and surprisingly, the compiler worked properly again.
Weird.
So i attempted to install OpenRC and i rebooted my Pi.
But it would not boot into OpenRC and it's stuck at the kernel level. (no errors, strange)

According to this blog, i must add a kernel parameter pointing to OpenRC.
But where would i add it on my rpi ? It does not use sysconfig...

The journey continues...
  • Calculators owned: None (used to own an Nspire and TI-89)

xMarminq_

Do you think it is possible to attach a Pi to a calc and modify it so it could have wifi on it and have 2 player games? :P
  • Calculators owned: Ti-84 Plus CE, Ti-84 Plus (can be borrowed from my school)
I don't associate with associations

c4ooo


xMarminq_

  • Calculators owned: Ti-84 Plus CE, Ti-84 Plus (can be borrowed from my school)
I don't associate with associations

Powered by EzPortal