Article 540BV Running slackwareARM 14.2 on RPi 4

Running slackwareARM 14.2 on RPi 4

by
louigi600
from LinuxQuestions.org on (#540BV)
Recently I needed a faster machine to compile natively binaries I would then run on the RPi Zero. I Have the RPi 4 so I thought it would be a good choice (some 6 times faster then the Zero) ... Went over to SARPI and found there is no support for slackwareARM 14.2 on the RPi 4. At first, a little disappointed, I started compiling on the Zero but soon was forced to think of a workaround.

I started thinking that the softfloat 14.2 userland would just never ask the kernel, compiled for current, to perform hardfloat operations. I decided to use the slackwareARM-current kernel (boot firmware and modules) on slackwareARM 14.2 userland and that got me roling 14.2 on the RPi 4.

Anyone that may need, for whatever reason, to run slackwareARM 14.2 on a RPi 4 may use this approach to work around the problem.

I then compiled the cross toolchain for AVR on the RPi 4 for using on the RPi Zero.

For those wondering why I wanted to do that:
The Arduino IDE for Linux ARM are hardfloat so they will not work on the only version of slackwareARM that can run on the RPi Zero , but the RPi Zero would actually make a nice small pocket combination for small Ardiono projects as it is not that much more expensive then a basic programmer for ATmega bare MCU, it can perform the actual initial upload of the Arduino bootloader (trough linuxgpio support in avrdude) and it is comparable size to the USBtiny programmer, but is a fully functional computer that can also compile the code to load into the Arduino.latest?d=yIl2AUoC8zA latest?i=iKxUG1acsaE:EFZ_R58raSw:F7zBnMy latest?i=iKxUG1acsaE:EFZ_R58raSw:V_sGLiP latest?d=qj6IDK7rITs latest?i=iKxUG1acsaE:EFZ_R58raSw:gIN9vFwiKxUG1acsaE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments