arm

How to validate self-build GNU toolchain and newlib?

How to validate self-build GNU toolchain and newlib? I am working on an embedded system, where there is ARM SOC and RTOS. I have built GNU toolchain with newlib for this embedded system, and did very basic testing. Now before I can be sure to use the self-build toolchain, I want to test it (and …

Total answers: 1

How to install an older version of GCC for armhf?

How to install an older version of GCC for armhf? I’m not really an expert of linux, so i’m feeling a bit lost. I’m running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc using a Windows PC. That image was automagically installed by the …

Total answers: 1

Seeking gcc-8 packages form Ubuntu22 on ARM (Mac)

Seeking gcc-8 packages form Ubuntu22 on ARM (Mac) I have a Ubuntu22 version running on an arm architecture (Mac M2) and need to install an earlier version of the gcc compiler (Version 8). I am sorry if this sounds stupid but I have so far only found cross-compiler gcc8 packages which (I assume) are meant …

Total answers: 1

Is Linux /usr/share/zoneinfo/ Platform Agnostic?

Is Linux /usr/share/zoneinfo/ Platform Agnostic? I am working with an embedded Linux (ARM/busybox) system. It has systemd and the timedatectl system executable, but it does not have /etc/timezone, /usr/share/zoneinfo, nor the zic timezone data compiler program. I have plenty of system diskspace on this embedded system. Is it possible to copy the /usr/share/zoneinfo contents from …

Total answers: 3

How to install newer packages on Oracle Linux?

How to install newer packages on Oracle Linux? On Oracle Linux, how to install newer packages? For example, yum install -y wireshark; wireshark –version gives Wireshark 2.6.2, but upstream is at Wireshark 4.0.6. I have Last metadata expiration check: 2 days, 9:01:50 ago. > yum search -v wireshark Loaded plugins: builddep, changelog, config-manager, copr, debug, …

Total answers: 1

Why doesn’t binary compiled on M1 Mac (arm64) run on EC2 t4g.micro instance (aarch64)?

Why doesn’t binary compiled on M1 Mac (arm64) run on EC2 t4g.micro instance (aarch64)? Running argon2 compile on M1 Mac on AWS t4g.micro instance running Debian throws following error. According to https://stackoverflow.com/a/47274698/4579271, arm64 and aarch64 refer to the same architecture. $ ./argon2 -h -bash: ./argon2: cannot execute binary file: Exec format error Asked By: sunknudsen …

Total answers: 1

Where can I find the device tree source include (.dtsi) files?

Where can I find the device tree source include (.dtsi) files? I am attempting to review my device tree to learn more about how the usb endpoints are defined, and also just to learn more about device trees. I am currently using a BeagleBone Black image, and I believe I am booting from the am335x-boneblack-uboot-univ.dtb …

Total answers: 1

Wrong ELF class: ELFCLASS64

Wrong ELF class: ELFCLASS64 I’m in an ARM machine and I wanted to use an x86 program. Installed Box86 and the program and it’s libraries. The program crashes because of this error: Error initializing native *libname* (last dlerror is *libname*: wrong ELF class: ELFCLASS64). This error is repeated several times for each of the libraries …

Total answers: 1

Linux hardware interface

Linux hardware interface I’m making a hardware project that will run a GNU/Linux OS, and I have a question.(edit: it’s ARM based) How EXACTLY does the Linux kernel know what type of hardware is connected to the CPU, I mean how hoes it know that yeah this a a RAM and that is a drive …

Total answers: 2

Docker Squid not enforcing time acl in configuration

Docker Squid not enforcing time acl in configuration I have a squid running in docker, which is not enforcing the time ACLs that are defined in the configuration. I’me using https://hub.docker.com/r/ubuntu/squid running on arm This is my configuration in squid.conf: acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN) acl localnet src 10.0.0.0/8 # …

Total answers: 1

Doubts regarding ARM CPU servers

Doubts regarding ARM CPU servers I do not know if this question is in the right spot… I have been using RaspberryPies for the lasts years and I was wondering questions about ARM CPUs in general, so I would like to know more about you guys’s ARM’s experiences… So the questions are: I recently have …

Total answers: 3

ubuntu 22.04 – arm-none-eabi GDB complains about missing library

ubuntu 22.04 – arm-none-eabi GDB complains about missing library Trying to get arm toolchain working on my fresh installed ubuntu 22.04. After fixing some symlinks for libncurses it now complains about missing some shared library for python3.6. I am sure for regular ubuntu users this is a trivial thing to fix. I am not that …

Total answers: 3

apt update throws signature error in Ubuntu 20.04 container on arm

apt update throws signature error in Ubuntu 20.04 container on arm I am trying to build Raspberry Pi docker images but I am always having the same error, similar to this one, this one and this one. While running the command apt update as root in a arm32v7/ubuntu:20.04 (or just ubuntu:latest), I get the following …

Total answers: 4

How to install arm-none-eabi-gdb on Ubuntu 20.04 LTS (Focal Fossa)

How to install arm-none-eabi-gdb on Ubuntu 20.04 LTS (Focal Fossa) I tried to install arm-none-eabi-gdb as a part of gcc-arm-embedded. I added PPA: sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa and executed: sudo apt install gcc-arm-embedded It responded with: Err:8 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu focal Release 404 Not Found [IP: 91.189.95.83 80] As far as I understand – gcc-arm-embedded doesn’t have a …

Total answers: 4