A family of processor architectures used in many embedded applications, network and other appliances, and almost all smartphones.

learn more… | top users | synonyms

95
votes
4answers
54k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
14
votes
2answers
19k views

is my linux ARM 32 or 64 bit?

under an intel I know I can look at the outcome of uname -m to know if my OS is 32 or 64 bit, but under ARM this gives: armv7l I deduced from file /usr/bin/ls that I'm on a 32-bit OS, but how ...
14
votes
1answer
11k views

How can I test the RAM for data corruption on an ARM-based system?

I have an embedded device. It is ARM based, with Linux 2.6.31 and has 256 MB RAM. I wanted to get some ideas/tips on what is the most effective way to test the device RAM for data corruptions. Is ...
9
votes
4answers
21k views

How to use /dev/fb0 as a console from userspace, or output text to it

So I have a Palm Pre (original P100EWW) model that I enabled developer mode on, and installed a Debian Squeeze chroot. Works great. I have plans to use this for ANYTHING (bittorrent peer, web ...
8
votes
1answer
2k views

Cross compiling GLIBC for my ARM SoC

I am seeing something really weird inside a chroot-ed Debian armel environment. But first, a bit of backstory... This is long, but the question is complex and any potential help depends on knowing ...
8
votes
1answer
5k views

Running Debian i386 binary on Debian armel via qemu

I am trying to follow this guide to set up a Ventrilo server on my SheevaPlug, running Debian armel. This page states that I can use QEMU to run the binary that was made for i386 on my arm system. ...
8
votes
1answer
82 views

Tool to trace library calls in Linux/ARM

I am searching for a tool that allows to trace calls to functions in shared libraries in Linux/ARM. Basically, I want to be able to specify a command line and let this tool produce a record of called ...
7
votes
1answer
1k views

CLFS: Building GCC cross compiler

Currently I try to build a embedded Linux from scratch with the instructions from Cross Linux from Scratch. Everything worked fine until I tried to compile the GCC Cross-Compiler. I want to build the ...
6
votes
4answers
2k views

Looking for ARM- or MIPS-based computer (netbook or similar size) to play with

I am bored and want to play with a netbook or other small computer. Can anyone recommend something? Requirements: ARM or MIPS CPU Can run Windows CE 6 and/or Linux (preferably dual-boot) Linux ...
6
votes
1answer
407 views

Linux kernel 2.6 on ARM

I have compiled and installed the 2.6 kernel on an ARM board. I am using the ARM mini2440 board. I would like to know if there is already a way to access the General Purpose I/O port pins? Or will ...
6
votes
3answers
265 views

Can I install PHP on a Chumby One?

I'm enjoying hacking my Chumby One. However, I'd prefer if I could run PHP on it. I have perl and python installed. Does anyone know if I can compile PHP for it or if there is a ready made distro for ...
6
votes
1answer
450 views

Embedded linux LCD not calibrated

I have attached a new LCD to my embedded Linux device and when I run the system I found that it is shifted to the right. (the display starts from the middle of the LCD) I found 2 frame buffer drivers ...
5
votes
2answers
1k views

ZONE_NORMAL and it's association with Kernel/User-pages?

Above is presented a case where I have only 512 MB of physical memory. What I have read up so far, is that ZONE_NORMAL is mapped to the kernel virtual address space as shown. Essentially I have a ...
5
votes
2answers
2k views

shared library not found even with ld.so.conf updated

$ sudo ldconfig -v|grep libOpenNI 355: libOpenNI2.so -> libOpenNI2.so but when I am executing the program I'm getting ./SimpleRead: error while loading shared libraries: libOpenNI2.so: cannot ...
5
votes
1answer
1k views

Backporting OpenSSL-1.0.1e to Debian Lenny (armv4l)

I have an old embedded board that supports only Debian Lenny. I need to install OpenSSL-1.0.1e on it. If I download the source code then try to compile the source code, I get this error ...
5
votes
1answer
3k views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
5
votes
2answers
11k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
4
votes
4answers
3k views

Linux on a tegra tablet for programming

I would like to use a tablet for some mobile programming. It would be nice to read a pdf and immediately try the code on the same device. I've found various videos and tutorials how to get Ubuntu ...
4
votes
2answers
6k views

32-bit vs 64-bit vs ARM in regards to programs and OSes

So when I run Raspbian (basically a ARM Debian derivative with LXDE), I can install any normal package using aptitude. But if, for example, I wanted to download a .deb file, I would have to choose ...
4
votes
4answers
6k views

Installing a cross-toolchain to build ARM binaries on Debian

I tried to install a cross toolchain so I could build Linux kernel on amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list: deb http://www.emdebian.org/debian sid main ...
4
votes
3answers
4k views

“No such file or directory” when executing a cross-compiled program on a Raspberry Pi

I recently bought a Raspberry Pi. I already have configured it, and I install a cross compiler for arm on my desktop (amd64). I compiled a simple "hello world" program and then I copy it from my ...
4
votes
2answers
3k views

What difference is between ARM Debian for Raspberry PI and Ordinary debian x32/X64 for desktop?

I would like to know, how big is difference between ARM debian for Raspbery PI and x32/x64 debian for desktop. I would like to buy in future some ARM mini pc like raspbery PI and use it as for ...
4
votes
1answer
6k views

How do I cross-compile Chromium for ARM?

Goal I need to install Chromium on FriendlyARM mini210s running Linux 3.0.8 armv7l Environment Vagrant box with Ubuntu Precise64 Installed depot_tools following these guidelines Get-the-code and ...
4
votes
1answer
2k views

How to interpret busybox “top” output?

I am using BusyBox on a small embedded ARM system. I'm trying to read the "top" output, in particular for the Python process listed. How much real memory is this process using? Also what does VSZ ...
4
votes
1answer
972 views

Is it possible to install a custom Linux on an Android phone?

I have an Xperia X8 phone, and I'd like to know if I can install a non-Android Linux OS on it? I would like to have a light Linux Distro, like Kolibri or something like that.
4
votes
1answer
2k views

Installing Linux on the TI-nspire

I am having trouble installing Linux on my TI-nspire cx cas graphing calculator. I downloaded the files and the Linux image. I have read several websites on the topic but it was not that much help, ...
4
votes
2answers
11k views

Correct use of TZ, date, and hwclock?

I'm working on an Buildroot developed ARM/ulibc Linux distribution for a custom board. I'm trying to understand the relationship between If I do this, as I've seen on a few examples online: # date ...
4
votes
1answer
918 views

Set GPIO permissions cleanly

Can the default permissions and ownership of /sys/class/gpio/ files be set, e.g. by configuring udev? The point would be to have a real gid for processes that can access GPIO pins on a board. Most ...
3
votes
2answers
346 views

Is there a different linux kernel for different architectures?

If I want to build a custom kernel for an ARM architecture, do I need to : a) Download the kernel from kernel.org, make changes to the kernel, build it using some cross compiler (like code sourcery ...
3
votes
7answers
2k views

Rebooting fails randomly

That is, the following command fails at times: $ sudo reboot The last message on terminal, after which the machine gets stuck, requiring a power cycle: Restarting system. I tried the following ...
3
votes
2answers
84 views

Difference between size of binaries - x86_64 vs ARM

When doing a binary diff between compiled Linux kernels for x86_64, the difference from version to version is relatively large (much more than 25%, as far as I can recall). The differences in size ...
3
votes
2answers
1k views

Running X86 binaries on armv7

I am trying to run a SNBC USB printer on Raspberry Pi2. For that I need to copy the filter binary of the SNBC USB printer to /usr/lib/cups/filter. But the filter binary is compiled using a x86 ...
3
votes
1answer
179 views

Embedded Linux: Which machine directory to pick in /arch/arm?

I am just starting out with embedded Android drivers, so any help would be great. I haven't found a lot of resources online. At the moment, I am working through a tutorial on porting a driver, and ...
3
votes
2answers
4k views

How do I cross-compile node.js for ARM architecture? GCC does not report the FP ABI compiled for

Environment TARGET Single board computer: FriendlyARM mini210s TARGET Linux : 3.0.8 armv7l Cross compiling on vagrant box Ubuntu Precise64 Cross-compiling with GCC 4.5.1 ...
3
votes
1answer
1k views

Cross-compiling OpenSSH for Android

I'm working on compiling OpenSSH for Android based on this answer at Stack Overflow. Here's what I've done so far: Building on Ubuntu 14.04 amd64. apt-get install build-essential ...
3
votes
3answers
491 views

Headlessly Compiling and Uploading Arduino Programs on an armhf Platform

I'm currently running my Hardkernel ODROID U2 with the ODUINO One (Arduino Uno R3 & additions) in a headless setup and connect to the ODROID U2 via SSH over LAN. It is running Debian 7.1 armhf and ...
3
votes
2answers
1k views

GNU Radio prerequisite libraries on armhf

After several attempts, I have managed to compile GNURadio on the Raspberry Pi. However, I am just not able to meet the prerequisites for the gnuradio build script on the Pandaboard (Linaro 12.04) or ...
3
votes
2answers
3k views

How do I install a device driver provided as a .bin file?

I am a new Linux user and am struggling installing a driver for a usb WiFi device I want to use on an embedded system (BeagleBone). When I download the driver for the chipset (Ralink 2070), it is ...
3
votes
1answer
109 views

How do I forbid access to physical memory in Linux?

I'm on an embedded system (Zynq from Xilinx. It uses ARMv7, Cortex-A9), and running Linux. I need to ensure that no access to a certain physical memory range is ever made, either accidentally by the ...
3
votes
2answers
807 views

How do determine whether Linux board is using hardware FPU or not?

I am using an embedded Linux board based on a fairly old Freescale ARM chip. How do I determine whether the Python interpreter there is using the hardware FPU on the chip or not? My /proc/cpuinfo ...
3
votes
3answers
210 views

Create Linux distro with minimal number of files

I'm thinking about designing a system for a project using some single-board computer (RaspberryPi, CubieTruck etc) that runs Linux. My main requirement is keeping the complexity of the booted SD card ...
3
votes
2answers
3k views

Print job “Held for authentication”

Following the instructions here, I have installed a Samba print server on an ARM-based Udoo-quad running Udoobuntu 12.04 LTS. The Samba server is working, and (after setting guest ok = yes in the ...
3
votes
1answer
923 views

Cross compiling htop libncursesw not found

I'm trying to cross compile htop on an x86 Ubuntu 13.10 machine for Raspberry Pi ARM architecture. I've a crosstool-ng toolchain correctly configured, but when I use the command: ./configure ...
3
votes
1answer
201 views

Accessing Memory Mapped I/O is slow

I have a Terasic-SoCKIT(fpga & arm cortex a9) and I have Linux running on the HPS. I'm trying to access the memory mapped I/O, wrote a simple character driver with functions "request_mem_region" ...
3
votes
1answer
70 views

create a realtime machine by assigning CPU cores to critical processes

I'm using an Udoo board for running two critical processes. It can run Ubuntu ARM edition and it has a Quadcore processor. I need to set the affinity of all the processes afinity running and the ones ...
3
votes
1answer
3k views

XFCE session fails to load when launched via LightDM

I have set up LightDM as the desktop manager on an ARM Ubuntu install (running with a chroot on an Android device) and this loads and works fine, however when I try to launch a Xfce session as a ...
3
votes
1answer
423 views

Why doesn't 'ar' work like the manpage says?

I'm trying to use 'ar' included in Debian Wheezy armel version of binutils and it doesn't seem to operate like on other systems I've encountered. Some sample output from the command-line: $ ar ...
3
votes
1answer
2k views

How to debug Linux kernel panic?

I am trying to debug a kernel panic. Panic message says unable to handle kernel paging request for address 40025694. At the time of panic it was executing ldreq r10, [lr, #-4] @ get SWI instruction. ...
3
votes
1answer
7k views

How can I install Skype in Ubuntu on ARM?

I wonder how to install and use Skype in Ubuntu (12.04) on ARM architecture (my Toshiba AC100, which originally ran Android). I suppose there must be Skype builds for Linux on ARM: for Android, and ...
3
votes
1answer
87 views

kernel: nf_conntrack: table full, dropping packet; Underlying Reason

I have a modified linux on an ARM9 processor. It was working OK, but yesterday I got this error repeatedly: kernel: nf_conntrack: table full, dropping packet I have 2 questions: How can I find ...