LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-23-2015, 02:43 PM   #1
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Rep: Reputation: 0
hard float.


Hello forum,
Anyone know if the Slackwarearm current supports
hard float?
My hardware is a iMX6q based similar to wandboard,
and I'm looking for a minirootfs that supports harddfloat,
preferably slackware base.
 
Old 03-23-2015, 03:00 PM   #2
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 201

Rep: Reputation: 92
did you see this ? http://www.linuxquestions.org/questi...at-4175512987/
 
Old 03-23-2015, 03:41 PM   #3
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks I read that, I'm hoping the slackwarearm "current" not the 14.1,
will support hard float by default.
 
Old 03-23-2015, 05:44 PM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
Quote:
Originally Posted by lokal1 View Post
Thanks I read that, I'm hoping the slackwarearm "current" not the 14.1,
will support hard float by default.
No, Slackware ARM is a soft float port. The only way it'd become hard float is if I started from scratch and dropped soft float support, but kept the name "Slackware ARM".
A hard float port would be a separate project and need a separate name such as "ARMhf" or something in the same way that Debian have.
 
Old 03-23-2015, 07:54 PM   #5
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you, that clear things up for me.
 
Old 03-27-2015, 04:24 PM   #6
JeroenVreeken
LQ Newbie
 
Registered: Mar 2015
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
A hard float port would be a separate project and need a separate name such as "ARMhf" or something in the same way that Debian have.
I am currently trying to create just that for my beagle bone black. After building the base libraries I am now busy with the toolchain stuff in a multi arch setup. I just need to finish the gcc package to get completly rid of the debian compiler I used for bootstrapping.

There already is a hardfloat arm project btw, it is called armv7hf. However it is a complete port (so no multi arch like tricks) and seems to be a bit dated.

My goal is to have a number of packages that can be installed on an existing slackwarearm resulting in a multiarch setup similar to x86_64 and x86. This way it is not needed to immediatly port all slackware packages to get a functional system. (not everything uses floating point or benefits from it anyway).
I'll post a link as soon as I have a set of packages which can be used without any bootstrapping or tricks.
 
Old 03-27-2015, 08:46 PM   #7
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JeroenVreeken View Post
I'll post a link as soon as I have a set of packages which can be used without any bootstrapping or tricks.
Please do and thanks.
I've been trying to get a build with the scripts Mr. Hameleers posted here:http://alien.slackbook.org/blog/armport/
but no success yet.
 
Old 03-28-2015, 04:36 AM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
Quote:
Originally Posted by JeroenVreeken View Post
I am currently trying to create just that for my beagle bone black. After building the base libraries I am now busy with the toolchain stuff in a multi arch setup.
That's an interesting approach - I have not thought of that or heard of anybody else doing it either!

Quote:
Originally Posted by JeroenVreeken View Post
There already is a hardfloat arm project btw, it is called armv7hf. However it is a complete port (so no multi arch like tricks) and seems to be a bit dated.
I meant an official port would need to have a different target name. I know Eric's port but the last time I checked, only the base stuff was done -- I didn't realise how many of the packages had been built until I just looked.
 
Old 03-28-2015, 12:11 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,287

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by drmozes View Post
I know Eric's port but the last time I checked, only the base stuff was done -- I didn't realise how many of the packages had been built until I just looked.
It's a lot more than just a base with over 1300 packages done. Right before real life caught up with me, I had Slackware armv7hl running KDE 4.10.2 on my ChromeBook, off a SD card.
There's a hardfloat miniroot here if you want to try that (almost 2 years old but still): http://taper.alienbase.nl/mirrors/al...hl/chromebook/
 
Old 04-01-2015, 08:58 AM   #10
JeroenVreeken
LQ Newbie
 
Registered: Mar 2015
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
The first basic set of packages is located here: http://video.vreeken.net/slackingbeagle/

First a disclaimer: USE AT YOUR OWN RISK.
I installed them on a beagle bone black (on top of the slackwarearm mini rootfs and a few packages) so they probably work, but they were not extensivly tested.

Then some hints:
start with a/aaa_base and a/etc and then l/glibc-solibs, this will make sure that any binaries and libs you install after that can be loaded.

There are currently 221 packages based on slackware64-current of march 5t
These packages were choosen because they where either neede as a base, needed to build the toolchain and those I found usefull myself.
 
Old 04-01-2015, 10:35 AM   #11
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JeroenVreeken View Post
The first basic set of packages is located here: http://video.vreeken.net/slackingbeagle/

First a disclaimer: USE AT YOUR OWN RISK.
I installed them on a beagle bone black (on top of the slackwarearm mini rootfs and a few packages) so they probably work, but they were not extensivly tested.

Then some hints:
start with a/aaa_base and a/etc and then l/glibc-solibs, this will make sure that any binaries and libs you install after that can be loaded.

There are currently 221 packages based on slackware64-current of march 5t
These packages were choosen because they where either neede as a base, needed to build the toolchain and those I found usefull myself.
Thanks, I'll give it a try.

EDIT:

It's trickier than I thought. I managed to boot the minirootfs
with my cross built kernel 3.10.53.

aaa_base,etc installed ok, but after glibc-solibs installed
it complains about missing libc.so.6. Which I found out
is a symlink created if glibc-2.21 is installed.
Obviously I'm doing something wrong. Is it the order
of installation? or the way I do the installation?
I use upgradepkg when allowed then installpkg if not.

EDIT2:

I managed to get it working, well atleast it didn't
complain anymore about libc.s0.6 . I'm still getting a hang
with mounting "non-root local filesystem" but that's another story,
since I also get that before the upgrade. I installed glibc-solibs last.
This time I didn't upgrade I just installed. I haven't install the x packages yet.
I'll be backing up my sdcard first before going any further just-in-case.

Thanks it's a good starting point.

Last edited by lokal1; 04-01-2015 at 07:36 PM. Reason: update
 
Old 04-04-2015, 09:06 AM   #12
drlukacs
Member
 
Registered: Oct 2012
Location: Halifax, NS, Canada
Distribution: Slackware
Posts: 34

Rep: Reputation: 4
Why soft and not softfp?

Quote:
Originally Posted by drmozes View Post
No, Slackware ARM is a soft float port. The only way it'd become hard float is if I started from scratch and dropped soft float support, but kept the name "Slackware ARM".
A hard float port would be a separate project and need a separate name such as "ARMhf" or something in the same way that Debian have.
There is a middle ground that seems to be working quite nicely: softfp. It seems to be compatible with packages compiled for soft, but with the right optimization can provide performance that is not much worse than hard float.
 
Old 04-04-2015, 11:34 AM   #13
JeroenVreeken
LQ Newbie
 
Registered: Mar 2015
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by lokal1 View Post
Thanks, I'll give it a try.
I use upgradepkg when allowed then installpkg if not.
I haven't used upgradepkg yet, I just use installpkg. The only importand order I have to take into account is etc and base before glibc. (To make sure ld actually has the right search path).
Maybe upgradepkg does something different.
 
Old 04-04-2015, 04:07 PM   #14
lokal1
LQ Newbie
 
Registered: Jul 2006
Distribution: Salix
Posts: 8

Original Poster
Rep: Reputation: 0
From what I understand upgradepkg deletes files first before installing,
it could be that's what happened. I'm most likely wrong.

So far I managed to run xenomai on my board. I'm attempting to make machinekit run on it.
I'm still a long way from making it happen.

It might be a good idea to have patch be part of your d packages, just a thought.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware ARM - FAQ - soft float and hard float drmozes Slackware - ARM 23 08-29-2017 03:21 PM
SlackwareARM on RaspberryPI and soft/hard float andrixnet Slackware - ARM 20 10-08-2014 09:02 PM
Hard float/soft float interndan Slackware - ARM 5 08-01-2014 11:23 AM
[SOLVED] gcc 4.6.3 'invalid operands to binary % ( have 'float' and 'float' ) error curious95 Programming 6 02-22-2013 09:51 AM
count digits of a float || convert float to string nadroj Programming 6 07-11-2005 05:52 PM

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

All times are GMT -5. The time now is 08:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration