Differences between architectures

Hi,

Sorry for the noob question, but I can’t find the answer by googling…
What’s the difference between compiling for ‘arm’ and ‘armv7l’ architectures? Both can run in a beagleboard C4?
Thanks in advance for your help

best regards,
Pedro Ignacio Martos

'arm' is not specific enough, see "march":
http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/ARM-Options.html#ARM-Options

'armv7l' ('armv7' is the Architecture of the core, 'l' don't
remember..) is just the kernel machine name, for a cortex-ax class
device such as the beagle (cortex-a8), you'd use "-march=armv7-a" with
gcc..

Regards,

Hi,

Thanks for the response; some context for the question: I am playing with a beagleboard C4 and ubuntu. In 12.04 there is out of the box support for my wifi dongle (rtl8192cu); but in 11.10 the module exists, but it doesn't work with my wifi dongle, so I tried to recompile the driver from rtl.
I am following the instructions here (https://groups.google.com/forum/?fromgroups#!topic/beagleboard/5xMAyFxQbdE); and it says that I need to touch the makefile and put "ARCH = arm"(and not "armv7l"). I also followed the instrucctions here (http://lakm.us/logit/2012/01/compile-usb-serial-modem-using-option-c-ubuntu-on-beagleboard-xm/). And it says that it's necessary to install the linux headers and the linux image .deb packages. When I installed the image package, I discovered that the kernel changed from "arm" to "armv7l" in uname, so I am looking for the difference between being "arm" and "armv7l". Any information will be appreciated

best regards,
Ignacio

Hi,

Thanks for the response; some context for the question: I am playing with a
beagleboard C4 and ubuntu. In 12.04 there is out of the box support for my
wifi dongle (rtl8192cu); but in 11.10 the module exists, but it doesn't work
with my wifi dongle, so I tried to recompile the driver from rtl.
I am following the instructions here
(https://groups.google.com/forum/?fromgroups#!topic/beagleboard/5xMAyFxQbdE);
and it says that I need to touch the makefile and put "ARCH = arm"(and not
"armv7l").

In that case, by using "ARCH=arm" your selecting ARM subarch of the
linux kernel...

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Makefile;hb=HEAD#l195

Instead of touching the makefile, just run "make ARCH=arm <...>"

I also followed the instrucctions here
(http://lakm.us/logit/2012/01/compile-usb-serial-modem-using-option-c-ubuntu-on-beagleboard-xm/).
And it says that it's necessary to install the linux headers and the linux
image .deb packages. When I installed the image package, I discovered that
the kernel changed from "arm" to "armv7l" in uname, so I am looking for the
difference between being "arm" and "armv7l". Any information will be
appreciated

Are you sure about that? It should have been armv7l to begin with,
unless someone patched the kernel oddly..

Regards,

Hi,

In that case, by using "ARCH=arm" your selecting ARM subarch of the
linux kernel...
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Makefile;hb=HEAD#l195
Instead of touching the makefile, just run "make ARCH=arm <...>"

Thanks, I didn't thought on that.

Are you sure about that? It should have been armv7l to begin with,
unless someone patched the kernel oddly..

It seems that I touched something by mistake, I did a full reinstall (reflashing the sdcard from the image) and uname -a now says armv7l, sorry.