LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2021, 07:10 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Rep: Reputation: 146Reputation: 146
SLARM on BeagleBoard/BeagleBone?


Has anyone been able to run SLARM on a BeagleBoard/BeagleBone? It's completely open hardware, so seems like it'd be able to install, but I recall there may be difficult details depending which ARM architectures were actually ported to...
 
Old 03-01-2021, 04:33 AM   #2
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,219

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
I used to run Void on my BeagleBone Black, never attempted Slack ARM on it. Although there's also the RISC-V Beagle V coming soon which looks very nice..
 
Old 03-04-2021, 08:57 AM   #3
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
Originally Posted by drgibbon View Post
there's also the RISC-V Beagle V coming soon which looks very nice..
I am always on the quest for open hardware, and although I like pine64, their hardware is not completely open, and they're nearly always "out of stock." Therefoer, that Beagle V could fit the bill instead... but it's a new processor, so it wouldn't be slackware, slackware64, slackwarearm, or slarm -- we would have to make slisc-v; so If I was to try, and if I already had alternative linux (they mentioned mint at beagleboard.org), then it would be a matter of booting alternate linux from risc-v device, connect via ethernet (or usb-to ethernet converter) to more powerful device, download slackware source tree, and then rerun all the slackbuild scripts (I'd probably only start with a, ap, d, l, and n), offloading compilation to the more powerful device with distcc, mount a target file system for slackware's root, and then install all the resultant slackware packages in /tmp to the mounted rootfs with installpkg --root /moutnedrootfs ... That's what I'd probably try if I had a Beagle V...
 
Old 03-04-2021, 09:23 AM   #4
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I got it to work once using the manual install method. I need to go back and dig it out and get it working again
 
1 members found this post helpful.
Old 03-04-2021, 12:31 PM   #5
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 765

Rep: Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863
There was an unofficial slackware port to RISC-V that started not too long ago in the slackware arm forum by sndwvs (creator of slarm64). He was targeting the BeagleV as well. The project is just starting out but it's something to keep an eye on.

Just pointing it out since the arm forum tends to get less visitors

https://www.linuxquestions.org/quest...64-4175689378/
 
1 members found this post helpful.
Old 03-05-2021, 02:49 AM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by slac-in-the-box View Post
and then rerun all the slackbuild scripts (I'd probably only start with a, ap, d, l, and n)
The Slackware build scripts are to be used on an existing Slackware OS, and whilst many of them will work without modification, there are a number that won't, requiring adjustment of hard configured settings in order to build, and a number of these are enablers for large numbers of packages.

And then there's platform specific issues with the toolchain that often require patching or changing versions; and there are the build system issues -- I've had to refresh libtool to support aarch64 on about 100 packages.
Rebuilding Slackware packages on an existing Slackware platform is quite a different thing to porting it from scratch!

Last edited by drmozes; 03-05-2021 at 05:27 AM.
 
1 members found this post helpful.
Old 03-05-2021, 04:54 AM   #7
Roman Dyaba
Member
 
Registered: Sep 2020
Location: Russia, 690016 Vladivostok city, street Osipenko home 66, tel: +79247350007
Distribution: Slackware, UbuntuStudio, FreeBSD, GhostBSD
Posts: 317

Rep: Reputation: 40
Click image for larger version

Name:	tVyGiGpVWQ4.jpg
Views:	69
Size:	102.9 KB
ID:	35792Click image for larger version

Name:	Screenshot_2021-02-04_01-29-40.jpg
Views:	67
Size:	102.9 KB
ID:	35791

Last edited by Roman Dyaba; 03-05-2021 at 05:23 AM.
 
Old 03-05-2021, 11:52 AM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by Roman Dyaba View Post
I like the vehicle. Do you control it from the computer?

Last edited by drmozes; 03-05-2021 at 11:53 AM.
 
Old 03-08-2021, 02:46 PM   #9
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
Originally Posted by drmozes View Post
The Slackware build scripts are to be used on an existing Slackware OS, and whilst many of them will work without modification, there are a number that won't, requiring adjustment of hard configured settings in order to build, and a number of these are enablers for large numbers of packages.

And then there's platform specific issues with the toolchain that often require patching or changing versions; and there are the build system issues -- I've had to refresh libtool to support aarch64 on about 100 packages.
Rebuilding Slackware packages on an existing Slackware platform is quite a different thing to porting it from scratch!

What a fascinating puzzle. Out of curiosity, how do they introduce a new architecture to linux? I suppose kernel developers have to add the new ISA to the kernel, and create options in the kernel's configuration front ends to enable them; and then, if it is the very first device for the new cpu, do they just build image on another architecture, with configurations checked for new architecture, and bootloaders updated for new architecture, then flash image to the first drive to use the new cpu, and keep their fingers crossed that it boots? Or is there lower level procedures for first runs?
 
Old 03-08-2021, 03:05 PM   #10
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
Originally Posted by Roman Dyaba View Post
Are those beagleboards?

To digress a bit: of all foreign languages offered at University of Texas in 1987, Russian had the shortest line at registration. I would have had to wait hours to study spanish, french, etc. To make a long story short: I am fluent in Russian, and I visited Vladivostok in 1992! But according to LQ rules, content must remain in English.

Could you, Roman, provide any links to forum where slackware is commonly discussed in Russian?

Last edited by slac-in-the-box; 03-08-2021 at 03:08 PM.
 
Old 03-09-2021, 03:07 AM   #11
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by slac-in-the-box View Post
What a fascinating puzzle. Out of curiosity, how do they introduce a new architecture to linux? I suppose kernel developers have to add the new ISA to the kernel, and create options in the kernel's configuration front ends to enable them; and then, if it is the very first device for the new cpu, do they just build image on another architecture, with configurations checked for new architecture, and bootloaders updated for new architecture, then flash image to the first drive to use the new cpu, and keep their fingers crossed that it boots? Or is there lower level procedures for first runs?
This document is now ancient (there may be a newer version) but it was the reference document for many years.
Normally you begin by building the Kernel and a base platform on a faster architecture (which is usually x86_64), then switch to native compilation (and as you said, which is what I do -- use a cross compiler via a tool such as distcc or icecream) as soon as possible because it's easier than cross compiling the whole OS.
 
2 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
RPi wifi in -current is broken - do SLARM or SARPI devs look at this forum? arfon Slackware - ARM 9 02-17-2021 08:29 AM
[SOLVED] Autoboot.txt not found upon reboot after updating slarm current on rpi4 mEllis Slackware - ARM 5 05-31-2020 09:02 AM
LXer: Review: Beagleboard Beaglebone Black LXer Syndicated Linux News 0 06-13-2013 05:11 PM
LXer: Hobbyist kit turns BeagleBoard into a tablet LXer Syndicated Linux News 0 06-16-2010 07:10 PM
Question about configuring USB in Linux for BeagleBoard rikard_olsson73 Linux - Newbie 1 04-02-2010 07:59 PM

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

All times are GMT -5. The time now is 08:05 PM.

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