LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-22-2023, 05:50 PM   #1
lancsuk
Member
 
Registered: Jul 2019
Location: Burnley / UK
Distribution: Slackware current
Posts: 226

Rep: Reputation: 204Reputation: 204Reputation: 204
Raspberry Pi 1 Model B Plus Rev 1.2 for Slackware 15.0?


Hiya guys,

sadly Slackware 14.2 is EOL now, and I would just like to know, if the 15.0 binaries are backwards compatible ( no-kernel) to ARMv6?

How I remember, AARCH32 is as backward compatible to v4,5,6 as much as ARM V7 is.

Last edited by lancsuk; 09-27-2023 at 05:08 AM.
 
Old 09-23-2023, 01:24 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Quote:
Originally Posted by lancsuk View Post
Hiya guys,

sadly Slackware 14.2 is EOL now, and I would just like to know, if the 15.0 binaries are backwards compatible ( no-kernel) to ARMv6?

How I remember, AARCH32 is as backward compatible to v4,5,6 as much as ARM V7 is.
The RazPi 1 has poor specs and is a very outdated box. It has no FPU to speak of , so everything has to be compiled 'Soft Float' = with maths instructions emulated. Slackware Arm 32bit handles the Pi 2 and more modern ones.

Slackware-15.0 is compiled 'Hard Float' using the FPU to run the maths instructions. No, the binaries are not compatible.

AFAIK, No 'soft float' updates beyond 14.2 are planned by the Slackware Arm guys. It's not worth the effort, frankly. I think the Slackware Arm guys will be quick to correct me if I'm wrong.

Back in 2000 I was called on to design a digital clock using a special prototype display and running on batteries. The bill came to €20,000, which was very cheap at the time. I used a PIC microcontroller programmed in Assembler. I designed a printed circuit board and had some pcbs built. I assembled & tested them myself. Now (with the exception of the batteries) the Pi 1 lets you do such projects for under €100. That's the strength of those early Raspberry pis.

Last edited by business_kid; 09-23-2023 at 01:27 PM.
 
Old 09-23-2023, 02:53 PM   #3
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
The RPi clear back to model 1 (Pico excluded) had an FPU. It wasn't always used 11 years ago; Debian and derivatives used it, while Slackware et al. built the emulation instead. And this wasn't (yet) using NEON, just VFP.

But even back then, I... well, here.
 
Old 09-24-2023, 04:54 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Quote:
Originally Posted by gus3 View Post
The RPi clear back to model 1 (Pico excluded) had an FPU. It wasn't always used 11 years ago; Debian and derivatives used it, while Slackware et al. built the emulation instead. And this wasn't (yet) using NEON, just VFP.

But even back then, I... well, here.
Yes, it did, but it was a WIP. All distros that I know of have a 'soft float' 32bit version for Pi 0 & 1, and their hard float version covers the Pi 2 & later. Math Emulation is a gcc option. Either your FPU is 'SF' = emulated (all functions emulated) or 'HF' = used (No functions emulated). The 'HF' option wouldn't work on the Pi 1.
 
Old 09-24-2023, 05:11 AM   #5
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
Quote:
Originally Posted by lancsuk View Post
Hiya guys,

sadly Slackware 14.2 is EOL now, and I would just like to know, if the 15.0 binaries are backwards compatible ( no-kernel) to ARMv6?

How I remember, AARCH32 is as backward compatible to v4,5,6 as much as ARM V7 is.
use ARMv5te
 
1 members found this post helpful.
Old 09-24-2023, 08:55 AM   #6
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
The 'HF' option wouldn't work on the Pi 1.
Yes, it worked just fine in the first Raspberry Pi, using the Broadcom 2708/2835 processor.
 
Old 09-24-2023, 09:29 AM   #7
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Raspberry Pi 1 Model B Plus Rev 1.2 for Slackware 15.0?

My last raspberry pi sbc is the Pi 3B. I installed it using the mini rootfs and then rebooted with NFS enabled to pull down the rest of Slackware aarch64. Stuart and I did discuss what the minimum system hardware requirements would be for Slackware aarch64 next.

The raspberry pi 3 ran okay but it was a lot of extra work to install it. The slackware installer (setup) requires more than 1Gb of RAM to load the initrd (ramdisk). I tested on a Orange pi zero 2 (h616 soc) as well

It required me to unpack the initrd-armv8.img (ramdisk+ busybox + kernel stuff) and remove a ton of kernel modules so that the ramdisk can fit in RAM. I pared it down so much that the only supported filesystem available was ext4. Size was down to less than 200Mb.

So what Stuart and I recommend going forward is to purchase boards with at least 2Gb of RAM for future projects. You will save yourself a lot of headaches.
 
Old 09-24-2023, 09:33 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
I have given you the received wisdom as I understood it. If you think HF compiles work on the Pi 1, go for it. Some of the later Pi 1s had Cortex A-53 cores and that should have an FPU. It certainly will not work on earlier models.

OTOH, if it goes belly up, maybe I was right.
 
Old 09-27-2023, 05:16 AM   #9
lancsuk
Member
 
Registered: Jul 2019
Location: Burnley / UK
Distribution: Slackware current
Posts: 226

Original Poster
Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by business_kid View Post
The RazPi 1 has poor specs and is a very outdated box. It has no FPU to speak of , so everything has to be compiled 'Soft Float' = with maths instructions emulated. Slackware Arm 32bit handles the Pi 2 and more modern ones.
Absolutely!

Anyway, I ordered a Raspberry Pi 4 plus an Argon ONE M.2 Case, incl a M.2 2TB SDD.

thanks
 
Old 09-27-2023, 06:38 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
I was promising myself one of these 8 core RK3588 boxes, but by the time you buy the extras, you're in at the bottom end of X86_64 PCs. I'm also not going to be first in any more. I was with the RazPi 4, and got one of the first model B, with a Flirc case because the fan was louder than the sound. They improved it a lot since.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Top 5: Rasperry Pi projects, Ansible, Brave the new browser, and more LXer Syndicated Linux News 0 02-06-2016 12:54 AM
NS2: Problem with Traffic model generator VANET (static traffic model generator for ns2) Anil Kumar Giri Linux - Software 0 04-28-2013 08:48 PM
Westell 327W Verizqn model to substitute for Bellsouth model jdtiede Linux - Networking 1 03-11-2008 09:31 PM
Eee PC 701 + 8G model`Add/RemoveSW' Updating problems, many errors SURF model, not 8G digital8doug Linux - Laptop and Netbook 3 02-21-2008 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration