Questions tagged [arm64]
The arm64 tag has no usage guidance.
68
questions
0
votes
0
answers
37
views
How do I find the GPU device ID on Apple Silicon?
I use a MacBook Pro and Mac Studio with M1 and M2 chips, respectively. I'm trying to use a terminal command that has this parameter --device=/dev/****, which refers to the GPU device ID.
How do I find ...
0
votes
0
answers
30
views
reserve one core for a special task / process
For diagnostics I want to let an application on a core that is only reserved for it. I do have a CPU with 4 cores (imx8) - so this is an embedded device - not full blown system.
So I did the isolcpus=...
0
votes
1
answer
34
views
Editing a debian img with QEMU
I'm trying to run an existing debian img with QEMU, edit it by installing custom packages and adding various configs, verify that it works and then write it to an sd card so I can boot it from a ...
0
votes
1
answer
2k
views
qemu-aarch64: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory
I'm sure this is a dumb question, but I'm new to QEMU so please bear with me.
└──╼ $ qemu-aarch64 ./a.out
qemu-aarch64: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory
I'm ...
0
votes
0
answers
83
views
Ethernet stopped working suddenly on Orange Pi version of ubuntu jammy
I use an orange pi zero 2 as a home server/media center
with the ubuntu jammy version released by orange pi.
(Orangepizero2_3.0.6_ubuntu_jammy_server_linux5.16.17)
A few weeks ago, my ethernet ...
0
votes
0
answers
26
views
cmake: Why is CMAKE_SIZEOF_VOID_P empty on Apple Silicon macOS?
A promise of cmake is its cross-platform compatibility. So why does the following code does not print any value for CMAKE_SIZEOF_VOID_P on Apple Silicon macOS?
File sizeofvoid.cmake:
...
0
votes
0
answers
289
views
What is a Linux kernel arm64 boot executable image
I am learning how to work with QEMU and have a .img file for a system firmware image.
Running file on this returns that the file is a linux kernel arm64 boot executable image.
Also, I tried running ...
0
votes
0
answers
89
views
Clone of a functional 32GB SD card doesn't boot
I have a Pine64 from the original Kickstarter (2016.) It boots from a 32GB SD card, which I've imaged from an Ubuntu16 Pine64 image file.
I've created a full disk backup of this 32GB SD card using ...
0
votes
1
answer
26
views
Docker engine has failed to start error on ARM64 Linux
I have recently received a rock pi 5B and migrated over my docker containers from my old raspberry pi.
The issue that I am having is that it will not work on either the raspberry pi nor the rock pi 5B ...
0
votes
0
answers
83
views
Is there anyway for me to download a Linux distro for Aarch64 laptops?
I need to install a Linux distribution on my ARM64 laptop, but it just won't work.
I have already tried several stuff and none of them work.
Can anybody point me out anything I could do?
I have ...
0
votes
0
answers
68
views
Windows 10 Virtual Machine inside a Linux Ubuntu Canonical 22.04 ARM64
I have an Oracle VPS with an ARM64 processor, and I can't change it in my plan, where I find a Windows 10 ARM64 ISO that I just need to download using torrent or using my browser and if you know, how ...
3
votes
1
answer
335
views
How do I scroll back in a ubuntu live server in UTM on Mac?
I'm using Ubuntu live server through UTM on my Mac. As I listed the processes using ps command I was not able to scroll up. I have not installed the GUI since I wanted to get in touch with the ...
0
votes
0
answers
325
views
yocto multilib support for building arm 32-bit libraries
I'm trying to build image to support both 32-bit and 64-bit user application on 64-bit aarch64 target. I have modified the conf/local.conf as below to build 32-bit libraries. Bitbake build the lib32 ...
0
votes
0
answers
92
views
FreeBSD - Building a VM image as Non-BSD Host and run in qemu
I would like to dig into the world of FreeBSD, but unfortunately I'm bound to a Macbook M1 device.
So I will have to use virtual machines for using and working on FreeBSD.
First of all I tried if ...
0
votes
0
answers
532
views
What's the easiest way to run x86_64 applications on aarch (Arm)?
I'm currently running the Asahi (Linux on the M1 Macbook pro) beta with Arch Linux, but would like to run some x86/x86_64 binaries, and am wondering the best way to do that.
I saw this thread ...
1
vote
1
answer
116
views
DDR memory errors or page cache corruption?
System: embedded, arm64 (4xCortexA53), 2GB LPDDR3, eMMC memory, Linux, kernel 5.4.17.
I am experiencing issues with random system crash, that in normal operation will happen every 2 days to every &...
1
vote
0
answers
274
views
OpenBSD 7.2 NanoPi R4S sdmmc0: can't enable card
I am facing the following issue with SD card when trying to install OpenBSD 7.2 on Nanopi R4S (Rockchip RK3399 ARM64 SoC). The same problem as previously described on OpenBSD 7.1 here.
sdmmc0: can't ...
1
vote
0
answers
146
views
How to diagnose crash on Linux kernel version 5.10.92 aarch64 (Raspberry Pi Compute Module 4)
Reproduction
We've built a crash reproduction application that does nothing but allocate memory and append to log files. The process allocates 4GB (in small blocks) and writes to them in a loop, ...
0
votes
0
answers
38
views
/proc/1/stat shows start time 0 on Linux ARM64 server
I was reviewing code that fetches the process start time from boot from /proc/[pid]/stat. Strangely the start time value for PID 1 always comes up as 0 on ARM64 but this is not the case on my X64 host ...
0
votes
0
answers
60
views
Can't install ARM64 aptly
I am doing everything as described here http://repo.aptly.info/
inside /etc/apt/sources.list.d/aptly.list:
deb http://repo.aptly.info/ squeeze main
but
root@comp:/etc/apt# apt-get install aptly
...
-1
votes
1
answer
448
views
How to access virtual address via terminal in Ubuntu?
i'm trying to read & write to register by using the busybox devmem command.
I printed its base address from the driver's source code and received the following address:
0xffffff800bdd0000
I ...
1
vote
0
answers
172
views
O_DIRECT access to mmap-ed dmam_alloc_coherent() problems
I'm looking for ideas to get over this hurdle. I have a linux kernel module that takes in high rate data from the PL side of a Xilinx Zynq MPSOC device. The kernel module is based off dma-proxy ...
3
votes
0
answers
880
views
How to install OpenBSD 7.1 on NanoPi R4S using SD card as root disk?
I would like to install OpenBSD 7.1 on the NanoPi R4S (Rockchip RK3399 ARM64 SoC).
Following the instructions in INSTALL.arm64, I managed to make the NanoPi R4S boot miniroot71.img. I wrote the ...
2
votes
0
answers
899
views
How to run Amazon Linux 2 on Apple Silicon
Amazon Linux 2 -- historically a cloud offering -- is also offered as an on-premise solution for various setups.
The two most popular on-premise solutions are:
Virtual Machine (e.g. KVM, Oracle ...
0
votes
1
answer
1k
views
Command not found when In chroot
Im currently Porting Arch Linux to My phone and I am trying to set up the rootfs properly - have it installed to an external scdard and am using busybox to chroot into it with
busybox chroot /data/ ...
1
vote
3
answers
1k
views
What config value should I set to make the HZ value (jiffies) physically correct?
When building linux kernel Image, we set the value HZ. linux kernel has the default HZ value. It is a software clock frequency the kernel operates at and 1/HZ (=jiffies) is the unit of scheduler ...
3
votes
1
answer
686
views
in arm64 linux, when linux is to be run in EL2 (bootloader in EL3), do I have to set something for this during kernel build?
In https://stackoverflow.com/questions/39614772/how-to-know-the-linux-kernel-run-either-el2-non-secure-or-el3-secure-mode, I saw in recent arm64 linux, the kernel runs at EL2 not EL1. Recently I'm ...
3
votes
1
answer
3k
views
Why does hostnamectl return arm64, but uname returns aarch64? (Ubuntu 20.04.2 on raspberry pi)
I have a raspberry pi running Ubuntu 20.04.3 LTS. Two different architectures are being returned depending on the command: aarch64 and arm64. Why?
hostnamectl
ubuntu@ubuntu:~$ hostnamectl
Static ...
1
vote
1
answer
223
views
AArch64 Linux distribution with support for BTI
Debian 11 and testing ship with a version of gcc capable of generating BTI (branch target identification), but they compile glibc without BTI support, thus they cannot generate executables with BTI ...
1
vote
1
answer
1k
views
Unable to Get Kernel Crash Dump on Kernel Panic
I'm using kexec-tools to get a crash dump of kernel on kernel panic. However, when I trigger the panic using sysrq-trigger, the system freezes. I have to power off and then power on to restore the ...
0
votes
1
answer
4k
views
WINE "wine: could not load ntdll.so: (null)" on ArchLinux ARM
Since I'm running an ARM system, I installed Arch in a x86_64 chroot, then installed WINE. However, running wincfg gave wine: could not load ntdll.so: (null). I assumed that it meant that WINE couldn'...
0
votes
1
answer
160
views
sshd on yocto linux consistenaly disconnects me
We have our own yocto image on IMX8 device (NXP).
The device internet is served by simcon EU 4G modem and IOT sim (Monogoto).
The connection id created with libqmi and created wwan0 successfully.
the ...
-2
votes
3
answers
2k
views
How to install Internet Explorer and/or Dissenter on Raspberry Pi running Ubuntu 21.04?
I installed Ubuntu desktop 21.04 on my Raspberry Pi 4b. I want to switch from Mozilla Firefox, the default browser, to Internet Explorer and/or Dissenter. The only download I could find was an .exe ...
0
votes
0
answers
498
views
Compiling older gcc with newer GCC, why did make stop without errors?
Boring background: I am attempting to get msp430 toolchain to aarch64 (64bit arm). I have recently moved from Gentoo (constant need to add 32-bit use-flags polluting my portage and then checking if ...
-6
votes
4
answers
11k
views
"Data directory /var/lib/postgresql/13/main must not be owned by root"
I encounter the below problem:
└─$ sudo apt update && sudo apt full-upgrade -y
[sudo] password for kali: Hit:1 http://kali.download/kali kali-rolling InR
Reading package lists... Done
...
2
votes
1
answer
2k
views
Crosscompile go(lang) app with docker for alpine linux (musl) aarch64 with native libs so CGO enabled
Background
I'm writing an open-source GTK go app subsonic API client which:
targets on first place mobile friendly Linux like postmarketOS (alpine linux), Mobian (debian)
in future will be also ...
2
votes
0
answers
2k
views
Running x86_64 binaries on arm64
I have been searching for a simple way to run x86_64 binaries on arm64 GNU/Linux.
I've tried qemu-user:
qemu-x86-64 -L /usr/x86-64-linux-gnu /opt/x86_64program, but I'm getting
/lib/libc.so.6: version ...
1
vote
1
answer
311
views
Linux 2 GB RAM AWS EC2 Debian ARM64 instance showing incorrect total memory
I have provisioned a 2 GB RAM AWS EC2 instance and using a ARM64 Debian 10 AMI. When I do top and grep MemTotal /proc/meminfo. I get total memory of 1898 instead of 2048 MB. Even if the reserved ...
0
votes
2
answers
3k
views
how to build ubuntu for arm64? (how to give ARCH and CROSS_COMPILE variable to `debian/rules` command)
someone suggested me this would be the right place for asking this question and it seems so from other questions. I hope to get an answer here.
(by the way, the reason I'm trying to build ubuntu is to ...
1
vote
1
answer
3k
views
`aarch64-linux-musl-cross` has a broken link for `ld-musl-aarch64.so.1`
The goal
I want to run an ARM64 Go binary on x86_64 Kali Linux using QEMU user mode.
The problem
I got aarch64-linux-musl-cross.
~$ wget https://musl.cc/aarch64-linux-musl-cross.tgz
~$ tar -xvf ...
0
votes
1
answer
3k
views
How to get aarch64 version of musl on Debian for qemu user mode
I'm running Kali Linux on a Windows Subsystem for Linux v1 (WSL). This failed on WSL v2 as well if that means anything. I have an ARM aarch64 binary I want to run. I have qemu user mode and I try ...
0
votes
0
answers
950
views
i want a x86 file to run in aarch64
I wanted to play osu lazor, so I downloaded the appimage file from their GitHub releases and tried to run. However, when I tried to run the game with ./osu.AppImage, It said
-bash: ./osu.AppImage: ...
1
vote
1
answer
5k
views
QEMU on AArch64/ARM64 and blank screen
Goal
I'd like to emulate the boot process (any boot process) in AArch64 (ARM64) on the actual, real, AArch64 hardware as I'm working on a bootloader and an emulation workflow is much faster.
Problem
...
1
vote
1
answer
827
views
Debian buster arm64 apt return error message, package installation works anyway
I'm running a debian linux on arm64 hardware, just did a dist-upgrade from stretch to buster and everything seems to be working except I'm systematically getting the following message:
Error ...
1
vote
0
answers
30
views
Ubuntu Core/Debian Compiling for MT2712
I want to build latest kernel of Ubuntu core or Debian for MT2712 but I cannot find any ways to compile the Debian or Ubuntu for this.
Is MT2712 supported by Ubuntu or Debian?
Can anyone guide me ...
1
vote
0
answers
379
views
Service 'ifplugd' working erratically if ethernet cable unplugged at boot time
[Ubuntu kernel 18.04.4 5.4 arm64]
I use a USB network card (with udev renaming to usb0). There is no issue if the UTP cable was connected at boot. In that case, I can unplug the UTP and plug it again. ...
3
votes
1
answer
137
views
How is overflow_stack variable included in entry.S in arm64 architecture?
The overflow_stack variable is used in the kernel_ventry macro in arch/arm64/kernel/entry.S
/* Switch to the overflow stack */
adr_this_cpu sp, overflow_stack + OVERFLOW_STACK_SIZE, x0
It ...
2
votes
0
answers
760
views
Memory node of device tree in /proc doesn't match dtb
I'm trying to modify the memory node in a device tree for a zynqmp zcu102 board. However, something seems to be overriding this node somehow.
I'm booting using a FIT image and u-boot. I've confirmed ...
1
vote
1
answer
86
views
pyspotify compilation ld error
I'm trying to install mopidy-spotify on my freebox delta that allow me to install vm and is arm64 based
After many problems, i've manage to get most of the dependencies working and to get rid of most ...
0
votes
0
answers
172
views
How to install Fedora server 31 or ubuntu server 19.10 on orange pi 3?
I have a Orange pi 3, I have tried many ways to install Fedora server 31 (aarch64 version ) on my board but all of them were unsuccessful:
I wrote Fedora-Server-dvd-aarch64-31-1.9_2.iso on a TF card ...