I’m writing a cross-platform application which works on x86 machines, but crashes with “Bus error” on the actual ARM hardware (Raspberypi 2) … … but runs without any problems in Qemu. I run this command to enable SIGBUS signal and notification in the kernel running under Qemu, but it doesn’t seem to have any effect: echo 5 > /proc/cpu/alignment [2]
Tag: arm
C NET-SNMP Get and Set specifically via MIB Name, Not OID
I have written and am testing software for a generic SNMP client module in C as well as an implementation using this generic module. I am having trouble getting a get request to work by passing in a MIB name(e.g. sysDescr) instead of an OID(e.g. 1.3.6.1.2.1.1.1). I am successful when I pass in a character array containing the OID to
gcc: error trying to exec ‘cc1’ when cross-compiling
I downloaded toolchain from parrot Github, installed, now I am trying to crosscompile here with the following command line: here’s the error log: Answer You should use the arm-none-linux-gnueabi–prefixed toolchain in bin instead. e.g. instead of
How u-boot start instruction is found by ROM Code
I am trying to understand ARM Linux Boot Process. These are the things I understood: When reset button is pressed in any processor, it jumps to the reset vector or address, in case of ARM it is either 0x00 or 0xFFFF0000. This location contains the start up code or ROM Code or Boot ROM Code My query is how this
tcpdump error message “That device doesn’t support monitor mode”
Running Linux on a Xilinx ZCU102 development board. When using a 1000BASE-X & Tri-Mode Ethernet Mac. I can send pings out of the Ethernet port, but when I run tcpdump to try and show that packets are coming into the system… I get a strange error from tcpdump. Curious if anyone has any insight on this error message from tcpdump.
How do I implement basic I/O functionality as in x86 when writing an OS on ARM? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago. Improve this question I’m trying to write a simple operating system from scratch as a way to improve understanding on how OS and
How to extract the config from a kernel image file when CONFIG_IKCONFIG is set as a module (=m)?
How do I extract the kernel configuration from a kernel image file? The kernel image file type is: The kernel has been compiled with CONFIG_IKCONFIG enabled. However, returns Note: I am trying the get the config without booting the kernel. Answer If the kernel has been compiled with CONFIG_IKCONFIG=m (note the m), the configuration in stored in a module (configs.ko)
cross compilation for ARM: error no such file or directory/command not found
I have written simple Hello world program and compiled it with gcc-arm-linux-gnueabi compiler. It compiles well but when i try to execute it on ARM machine it complains “no such file or directory”. I think gcc-arm-linux-gnueabi is for embedded Linux only due to e(mbedded)abi. Is it different from ARM Linux ABI? Please help me to solve this problem code is
tiny6410 friendlyarm connect to capacitive lcd but touch not worked in linux
I connect my Capacitive lcd to tiny6410 and install linux on it. I also change the friendlyarm.ini to this: and play with ctp=1 (not work),ctp=2 (not work),ctp=3 (not work) my lcd is S70(when linux is install it writes on screen lcd type is S70 (auto detect)) this device has resistive lcd at first but it was broken then I changed
“Illegal instruction” when running ARM code targeting my CPU
I’m compiling a rather large project for ARM. I’m using an AT91SAM9G25-EK as a devboard running a Debian ARM image. All libraries and executables in the image seem to be compiled for the armv4t instruction set. My CPU is an ARM926EJ-S, which should run armv5tej code. I’m using GCC to cross compile for my board. My CXX flags look like