armv6h vs. armv6l confusion

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

armv6h vs. armv6l confusion

Postby lynix » Tue Apr 09, 2013 12:10 pm

I'm a bit confused about these two mentioned architectural flavours.

On my freshly installed 'archlinux-hf-2013-02-11' image there is

$this->bbcode_second_pass_code('', 'CARCH="armv6h"')

in /etc/makepkg.conf and

$this->bbcode_second_pass_code('', 'Architecture = armv6h')

in /etc/pacman.conf, but the running kernel says

$this->bbcode_second_pass_code('', '$ uname -m
armv6l')


Can someone explain the difference between the two values, or why the "uname -m" output is different?

Thanks in advance,

lynix
lynix
 
Posts: 19
Joined: Tue Apr 09, 2013 12:02 pm

Re: armv6h vs. armv6l confusion

Postby WarheadsSE » Tue Apr 09, 2013 11:14 pm

the h stands for hard float. the l stands for little endian.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: armv6h vs. armv6l confusion

Postby lynix » Wed Apr 10, 2013 6:08 pm

Okay, so why does 'uname -m' not report hard float as well? Is there no hard-float kernel available or are there no floating point operations in the kernel anyway?
lynix
 
Posts: 19
Joined: Tue Apr 09, 2013 12:02 pm

Re: armv6h vs. armv6l confusion

Postby WarheadsSE » Wed Apr 10, 2013 6:26 pm

The kernel is float agnostic, endian specific.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: armv6h vs. armv6l confusion

Postby kmihelich » Wed Apr 10, 2013 7:24 pm

"armv6h" is purely arbitrary, I could make it say whatever I want it to, it doesn't matter.

"armv6l" is what GCC refers to the architecture as.

uname is not going to show what ABI the kernel is compiled with, I have no idea why it ever crossed your mind that it would.

If this doesn't make sense, go read something that explains it.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 2 guests