* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Arm64 operating systems for the Raspberry Pi 3  (Read 1221 times)

0 Members and 1 Guest are viewing this topic.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Arm64 operating systems for the Raspberry Pi 3
« on: December 29, 2016, 12:21:29 am »
So yesterday, i finally got my Raspberry Pi 3 and the first thing i did was to install the Devuan rootfs file on it.
But like @Streetwalrus said, i was going to be disappointed because it simply doesn't have VC4 or the proprietary drivers, only framebuffer support.
I have no idea how to compile VC4's driver for X11 so needless to say, i started to look at other options.
First, i tried the Tumbleweed and Leap OpenSUSE images and they don't work... they just won't boot.
OpenSUSE said the images were experimental so they probably do not work.

Only the option left i have is SUSE Entreprise Server, which is known to work but i can't download it on my slow connection so this won't do it. (for now)

So i lowered my expectations and stared to look for armv7hf images instead.
The only oses i found were Void Linux and Ubuntu Mate.

Does Void Linux have VC4 support ? 'cause like devuan, it's too small to be true...
Ubuntu Mate, i'm downloading it right now but man is it huge. I'm not sure if it will fit on my 8GB sdcard.
Plus it's kind of CPU hungry and it's locked wth systemd, so i can't strip it down as much as i would like to.

Gentoo can be compiled for Arm64 with VC4 but i have not found a rootfs file out there.
If anyone can share his gentoo installation then please, i would like to have it.
I really don't have time (or the connection) to compile it.

I also really, REALLY, don't want to use Raspbian as it is only optimized for armel and thus, it cripples the performance of my RPI3.

What options do i have ?
« Last Edit: December 29, 2016, 12:34:42 am by gameblabla »


  • Calculators owned: TI Nspire CX, TI-89

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2670
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #1 on: December 29, 2016, 12:34:03 am »
I recently saw Arch Linux Arm finally have RPi3 support with a 64-bit kernel, last time I tried I had to install the RPi2 image, you might want to check that out.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #2 on: December 29, 2016, 12:46:53 am »
I recently saw Arch Linux Arm finally have RPi3 support with a 64-bit kernel, last time I tried I had to install the RPi2 image, you might want to check that out.
Oh, thanks juju. I see they have an ARM64 rootfs file for download, i will check this out.
I will let you know guys if it works well.

I hope this has VC4 available tho
  • Calculators owned: TI Nspire CX, TI-89

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2670
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #3 on: December 29, 2016, 02:36:08 am »
It should be available, as far as I know. It comes with mostly all the Raspberry Pi drivers, you might have to mess with the config file.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #4 on: December 29, 2016, 03:24:00 am »
I followed their instructions and i got it to work !
It has VC4 available, as you said and 3D works.
Arch Linux eats a lot of memory tho... i will surely go back to Devuan when they get a VC4 driver.
Many thanks juju !

I need to buy an external power supply though... 1A just won't cut it :(
  • Calculators owned: TI Nspire CX, TI-89

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17480
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #5 on: December 29, 2016, 03:37:08 am »
Nice. Also I didn't know there was a RPi 3.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Streetwalrus

  • Professional slacker
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2785
  • Post Rating Ratio: +19/-0
  • ƎW∀⅁ ƎH⊥
    • View Profile
  • Gender: Male
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #6 on: December 29, 2016, 01:22:00 pm »
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.
It's been so long, yet xrender is still not accelerated and Wayland is way too immature to be relevant (it does enable very fast compositing though).
GLES works, but considering the laughable performance of the CPU, it's not interesting anyway.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #7 on: December 29, 2016, 04:12:23 pm »
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.
You are right, most arm boards are riddled with these and most of them don't even have a free gpu driver available,
with the notable exception of the Raspberry Pis.
Which is why i bought a Raspberry Pi 3, as this was the most-free arm board out there that is equipped with an Arm64 cpu.
It's not fully free but at least there are some efforts to reverse-engineer the firmware.

It's been so long, yet xrender is still not accelerated and Wayland is way too immature to be relevant (it does enable very fast compositing though).
Thankfully for me, I'm not really interested in compositing or accelerated 2D rendering.
It might be an issue though if one wants to run a full desktop :p

GLES works, but considering the laughable performance of the CPU, it's not interesting anyway.
The CPU is no Intel, i agree.
But i kind of hate like how every OS for it tries to be a full desktop with lots of useless services and this is boging down the poor pi.
Devuan was really smooth for me and it only took 60MB of RAM with JWM, while the& same desktop on Arm Linux ARM takes 260Mb :/
But devuan does not have VC4 so that sucks monkey f*** lol

Any tips on making Arm Linux more lightweight ?
Can i switch to OpenRC or runit ?
  • Calculators owned: TI Nspire CX, TI-89

Offline Streetwalrus

  • Professional slacker
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2785
  • Post Rating Ratio: +19/-0
  • ƎW∀⅁ ƎH⊥
    • View Profile
  • Gender: Male
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #8 on: December 29, 2016, 06:27:39 pm »
You can probably get openrc on arch, some people have been doing it but I don't really know the details, can't be bothered with it. I run it with systemd***s on my pi2 and it only uses 50MB of ram lol (headless though, it only runs a few network services).
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2670
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #9 on: December 29, 2016, 07:33:54 pm »
Yeah, if you don't run anything but systemd, networking and whatever necessary to get a shell, it easily runs with 50 MB of RAM. Just watch out for systemd-journald, which is a bit hungry.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Offline Streetwalrus

  • Professional slacker
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2785
  • Post Rating Ratio: +19/-0
  • ƎW∀⅁ ƎH⊥
    • View Profile
  • Gender: Male
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #10 on: December 29, 2016, 07:34:49 pm »
I think I have that killed off actually.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2670
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #11 on: December 29, 2016, 08:23:21 pm »
That or you just run a busybox, I think it comes with a suitable init program.

If you want a small system, I guesd you can also try buildroot.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17480
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #12 on: December 30, 2016, 02:26:27 am »
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.

Maybe this means it's time to switch to ez80? Look at how popular ez80 calculators are compared to ARM ones :trollface:
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2670
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #13 on: December 30, 2016, 03:26:59 am »
Eh, depends of what your application would be. The Internet of Things is a rather big thing nowadays, and chips manufactured for that are not really made for gaming and stuff like that. This includes most chips aimed for development, like the Raspberry Pi and anything not in desktops, laptops and phones, most people are not really interested making a real good OpenGL implementation that can do more than streaming 1080p videos for on-screen displays (OSD). Of course, the Raspberry Pi is popular enough people might try using it as a desktop, so there's drivers for that, but otherwise it's probably more used headless with scripts that blink LEDs running, same for the BeagleBone and other stuff like that.

I'd also like to see one of those dev boards but with an ez80, just for kicks. I'm not sure they ever made any powerful chips based on that, but that would be interesting. Of course nowadays ARM wins that market (and Atmel chips for those cases you only need blinking LEDs), but it's always interesting to see other CPUs out there.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Offline Vogtinator

  • Full User
  • Join Date: Dec 2014
  • Location: Germany
  • Posts: 107
  • Post Rating Ratio: +4/-0
  • Instruction counter
    • @UCii1mkxAsrIGvjFwS80YSmg
    • /u/Vogtinator
    • Vogtinator
    • ../../../cgi-bin/acct-view.cgi?userid=87663#
    • View Profile
Re: Arm64 operating systems for the Raspberry Pi 3
« Reply #14 on: December 30, 2016, 06:22:20 pm »
Quote
First, i tried the Tumbleweed and Leap OpenSUSE images and they don't work... they just won't boot.
OpenSUSE said the images were experimental so they probably do not work.

openSUSE Leap 42.2 images use the same code as SLES, so you probably did something wrong there.
The Tumbleweed image uses the upstream kernel without any patches, so in theory it should work,
but in practive too much stuff is missing or broken.

Quote
But like @Streetwalrus said, i was going to be disappointed because it simply doesn't have VC4 or the proprietary drivers, only framebuffer support.
I have no idea how to compile VC4's driver for X11 so needless to say, i started to look at other options.

There seems to be some confusion here. VC4 is just the name of the chip. There are three options to use it:

* Framebuffer only, using the mailbox protocol (vc4 kernel module not loaded)
* Proprietary driver, replacing system libs ("rpi-userland"): Known to not work properly on aarch64 anyway
* FOSS VC4 driver in mesa: Works well enough for a few OpenGL apps, but unstable

X just needs modesetting, so if vc4 is loaded it just works (tm).
I'm running my RPi3 headless anyway so I just use the first option.
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games