Questions tagged [arm64]

68 questions
4
votes
0 answers

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 currently doesn't seem to be working for me, and…
3
votes
1 answer

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 terminal. Is there any way I could move up and down? I…
3
votes
0 answers

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 miniroot and the OpenBSD-supplied U-Boot images…
3
votes
1 answer

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 doing linux port on a test board using u-boot-spl…
Chan Kim
  • 367
  • 1
  • 5
  • 22
3
votes
1 answer

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 hostname: plex Icon name: computer …
ToddB
  • 131
  • 1
  • 4
3
votes
1 answer

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 seems to me to be declared in…
JHM
  • 33
  • 3
2
votes
0 answers

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 VirtualBox, VMware, Microsoft Hyper-V) Container (i.e.…
tresf
  • 273
  • 2
  • 8
2
votes
1 answer

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 extended to desktop Linux, Windows and Mac OS but not…
BigB
  • 21
  • 2
2
votes
0 answers

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 'GLIBC_2.32' not found, so I went ahead and…
j3ff
  • 45
  • 8
2
votes
0 answers

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 the FIT image has the correct DTB by its shasum…
rocky
  • 144
  • 8
2
votes
1 answer

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 triggers to work. Is there a way of checking if anything…
Josh
  • 141
  • 3
2
votes
1 answer

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 library (.a) built for 32-bit. I understand that I…
nik
  • 41
  • 6
2
votes
0 answers

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.
DAMO
  • 21
  • 1
2
votes
1 answer

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 pinebook 4.4.196 #1 SMP Tue Oct 15 16:54:21 EDT…
Maldus
  • 189
  • 1
  • 2
  • 12
2
votes
0 answers

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 Vivado's MIG to generate the controller and connect…
rocky
  • 144
  • 8
1
2 3 4 5