Questions tagged [arm64]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
102 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
  • 223
0 votes
0 answers
124 views

Making legacy BIOS iso

I am trying to create ISO image for hobby operating system I develop. On my former amd64 machine that was working fine (running Ubuntu 21.04 as development platform. Quite straightforward way to ...
user avatar
0 votes
1 answer
173 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/ ...
user avatar
1 vote
3 answers
169 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 ...
user avatar
  • 281
1 vote
0 answers
144 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 ...
user avatar
  • 281
2 votes
1 answer
481 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 ...
user avatar
  • 121
0 votes
0 answers
33 views

OpenCL support inside docker container on NanoPi M4

I have a NanoPi M4. It has hardware accelerator. I installed friednlyarm distro on it and clinfo shows that it uses this accelerator "from the box". But now I need to have a docker container ...
user avatar
  • 3
1 vote
1 answer
80 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 ...
user avatar
0 votes
0 answers
86 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 ...
user avatar
  • 75
0 votes
1 answer
239 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'...
user avatar
  • 111
0 votes
1 answer
40 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 ...
user avatar
-2 votes
3 answers
1k 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 ...
user avatar
0 votes
0 answers
68 views

building an arm64 system using x86_64 environment

LS, For well over 40 years being involved with computers, it is time to expand my horizon into other architectures beside Intel/AMD. Most notably the AARCH64 (ARM64) has my latest interest. That said, ...
user avatar
  • 1
0 votes
0 answers
129 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 ...
user avatar
  • 1
0 votes
0 answers
644 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 ...
user avatar
  • 1
0 votes
0 answers
60 views

Why does Linux take a while to recognize SD card on boot?

My setup is simple and it works, but the boot process takes much longer than desired. uboot can access the sd card without delay when loading the kernel, device tree, ramdisk, and boot script, but in ...
user avatar
1 vote
0 answers
910 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 ...
user avatar
  • 35
1 vote
1 answer
99 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 ...
user avatar
  • 111
0 votes
2 answers
905 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 ...
user avatar
  • 281
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
461 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: ...
user avatar
  • 3
0 votes
1 answer
3k 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 ...
user avatar
  • 517
0 votes
1 answer
327 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 ...
user avatar
  • 133
1 vote
0 answers
25 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 ...
user avatar
  • 11
1 vote
0 answers
278 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. ...
user avatar
  • 11
3 votes
1 answer
89 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 ...
user avatar
  • 33
1 vote
0 answers
457 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 ...
user avatar
  • 134
1 vote
1 answer
66 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 ...
user avatar
  • 13
0 votes
0 answers
118 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 ...
user avatar
  • 99
2 votes
1 answer
533 views

LEDs don't trigger on CPU activity

I'm trying to set some triggers for the LEDs on an embedded board (Rock960). They work with heartbeat and mmc1 (main drive) and none of course, but I haven't been able to get any of the cpu<i> ...
user avatar
  • 121
0 votes
0 answers
107 views

How can I install grub2 on Orange PI 3?

How can I install grub2 on orange pi3 ? Due to undisclosed reasons I can't connect my board to internet. Therefore, I can not use apt-get or anything like that to install the grub2 In What’s Orange ...
user avatar
  • 99
2 votes
1 answer
1k views

How to check if my ARM64 board supports 32 bit binary compilation? (error: unrecognized command line option ‘-m32’)

I have a ARM virtual machine on AWS with Ubuntu18.04 installed. dpkg & uname commands show this, $ dpkg --print-architecture arm64 $ uname -m aarch64 I've got a third-party precompiled static ...
user avatar
  • 41
3 votes
0 answers
1k views

Support for armv7 32-bit binaries on an aarch64 Linux kernel

I'm trying to determine whether a Linux aarch64 kernel can run 32-bit armv7 binaries. Various threads I've found ([1], [2], [3]) indicate that this should be possible using CONFIG_COMPAT, but this ...
user avatar
0 votes
1 answer
869 views

Compiling ZFS on aarch64 CentOS

I'm trying to compile zfs on my raspberry pi4, running CentOS 7.7 (64bit). I followed the instructions provided here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS but can't get past the ...
user avatar
  • 11
2 votes
0 answers
101 views

How to cross-compile the criu for arm64( Raspberry pi ) ? from: https://criu.org/ARM_crosscompile

I tried the commands from: https://criu.org/ARM_crosscompile site, but it doesn't seem to work.
user avatar
  • 21
0 votes
0 answers
140 views

CRIU check shows warning in Raspberry-Pi-4(4gb version) on ubuntu server platform

Warn (criu/cr-check.c:680): Dirty tracking is OFF. Memory snapshot will not work. Warn (criu/cr-check.c:1061): Do not have API to map vDSO - will use mremap() to restore vDSO Warn (criu/cr-check.c:...
user avatar
  • 21
1 vote
1 answer
11k views

Correct way to add /lib/ld-linux.so.3 in Debian

My current setup is quite exotic, and I could use some clarification. I am running on a Pinebook Pro, powered by a Quad Cortex-A53, 64-bit CPU. The OS is a 64-bit version of Debian: $ uname -a Linux ...
user avatar
  • 179
1 vote
0 answers
134 views

QEMU networking: Host to Guest

I want to connect a host(Debian 10 VM) to a qemu-guest (Debian on aarch64 ARM). I used to debootstrap tool to install a Debian root file system. Then I installed the qemu-user-static device on my host....
user avatar
  • 31
0 votes
0 answers
86 views

Booting a linux kernel in Oneplus3 device

Bootloader of my op3 device is unlocked. I am trying to install linux-5.3 to be run on Oneplus3. Yes, I only want the kernel to load. That's it!. I don't even want to care about the init process after ...
user avatar
1 vote
1 answer
360 views

How to install cryptsetup 2.1.0 on Debian Stetch? (not in backports)

How should I go about installing cryptsetup 2.1.0 on Debian stretch? It's not in stretch-backports so I'd like to know what's the best way to go about this. I'm on ARM64 (ayufan-rock64 debian stretch ...
user avatar
2 votes
0 answers
1k views

Bus error when access nonaligned memory on zynq

EDIT: Is there a better stackexchange site I should put this on? I am trying use the DDR4 connected to the FPGA side of a zynq ultrascale chip, specifically on Xilinx's devboard zcu102. I am using ...
user avatar
  • 134
1 vote
0 answers
2k views

Getting an " Exec format error" on arm64 embedded Linux

I have a renesas v3h ARM v8 processor on an embedded platform. The yocto Linux on it doesnt have support for sshd so I was trying to install the binary in the rootfs. I downloaded the binary from here ...
user avatar
2 votes
1 answer
3k views

NanoPi M4 - RK3399: Apache2 + SSL: Large download hangs

I've a brand new setup of Apache2 running under Debian 9 (armbian on NanoPi M4). Everything works fine until I try to download a large file over HTTPS. Small files download successfully however, ...
user avatar
  • 711
1 vote
0 answers
220 views

Share aarch64 page tables created by Linux with SMMU [closed]

I am currently working on creating a shared virtual address space in Linux arm64 on a Xilinx Zynq Ultrascale+ board. In the future it should be possible to share pointers/addresses between the Cortex ...
user avatar
  • 19
0 votes
1 answer
167 views

Is it possible to run more than one node on a physical host without full-fat VM?

I am planning on running Docker and Swarms on some rPi 3B+'s. My first goal is to test the fault tolerance abilities of RAFT consensus across at least 3 machines so I can simulate failure of a node. ...
user avatar
1 vote
1 answer
898 views

APT version conflicts across different architectures even with Multi-Arch: same?

With Raspbian and a 64-bit kernel, I am fetching packages from the following sources: deb [arch=armhf] http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi deb http://deb....
user avatar
  • 223
1 vote
0 answers
543 views

How to update FreeBSD without freebsd-update when the source cannot be compiled?

I run FreeBSD on a Raspberry Pi 3. This computer is permanently installed in a server room I do not have easy access to. Once FreeBSD 12 comes out, I want to update the computer to the new system ...
user avatar
  • 695