LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-28-2021, 03:10 PM   #1
mcatudal
LQ Newbie
 
Registered: Apr 2019
Location: Michigan USA
Distribution: Fedora, Arch Linux, Ubuntu, Gentoo, Funtoo, Slackware and Debian
Posts: 4

Rep: Reputation: Disabled
Riscv64 Slackware


I saw that someone in the slackware arm was asking about riscv64 support.

I have already created a gentoo version from scratch, perhaps I could use that to create the slackware version.

I would need to chat with someone who is more familiar with the files needed to create the minimum setting.
Once I get a minimum boot then I would assume that the rest would be similar to the support on ARM

Michel
 
Old 01-28-2021, 05:09 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Wow! I've been watching Risc5 development since I think it will be huge but I had read it would likely be years before it could support a full opeating system. Can you tell more about what you've done? I'm already cautiously impressed. Kudos.
 
Old 01-28-2021, 06:31 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,318

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by mcatudal View Post
I would need to chat with someone who is more familiar with the files needed to create the minimum setting.
That would probably be sndwvs who brought it up in the slackwarearm forum.
 
Old 01-29-2021, 12:06 AM   #4
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Hello Macutdal, if you've been able to adapt Gentoo from scratch, you certainly could adapt Slackware From Scratch to your development board.
Feel free to use it: https://github.com/nobodino/slackware-from-scratch

I would be very interested to know how you managed to get Gentoo on that kind of new "beast".
I've been looking for that machine since SiFive launched his development board.
What are the specs of your board?
 
1 members found this post helpful.
Old 01-29-2021, 02:32 PM   #5
mcatudal
LQ Newbie
 
Registered: Apr 2019
Location: Michigan USA
Distribution: Fedora, Arch Linux, Ubuntu, Gentoo, Funtoo, Slackware and Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Riscv64 Slackware

Creating the gentoo from scratch was a little tricky, it didn't work the first time because I hadn't changed the profile to not use multilib which is being discontinued.

I have the procedure detailed in a few messages on the Gentoo Forum

I first created the cross tool with crossdev
and then emerge the full system. It missed the /dev files and a few directories which I created by hand, didn't remember the command to do those automatically. I basically copied from an other gentoo images the devices directory names in question.

I then copied the newly created stage3 to /usr/src I change make.conf to not expect to do cross compiling but on a riscv64 system.

I ported fchroot from Funtoo to run on Gentoo, only needed to change the line with Python as Funtoo is handling that differently from Gentoo.

I was then able to chroot on the stage3. It worked like a champ, I could emerge some new files. I plan to copy it on my website some day https://suzielinux.com/

As for the board I do not have it yet, it is going to be the BeagleV
I signed for it but if I don't get one then I will just buy one when it comes out.

What is missing on it the kernel and u-boot which I will create when I have the information for those.

My stage 3 only supports those languages that interest me which are French, English, Spanish and Chinese. You can add any language that you want and then run the update world to have the system adapt. My default locale is fr_CA which can be changed to whatever is supported.



Michel
 
Old 03-26-2021, 06:51 PM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,920

Rep: Reputation: Disabled
slarm64-riscv64 unofficial port of slackware. branch source
 
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
[SOLVED] Slackware RISC-V (riscv64) sndwvs Slackware - ARM 20 12-16-2021 06:18 AM
RISC V Based project with Xilinx Vivado on Ubuntu Linux(riscv64-unknown-elf-gcc: error: unrecognized command line option '-V') sagarkasrung Linux - Newbie 11 06-28-2019 10:41 AM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Slackware Slackware Slackware!!!!! monkeymartin Slackware 5 03-28-2003 10:41 PM

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

All times are GMT -5. The time now is 03:42 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