arm64

How to get CPU brand information in ARM64?

♀尐吖头ヾ 提交于 2020-08-25 20:15:54
问题 In Windows X86, the CPU brand can be queried with cpuid intrinsic function. Here is a sample of the code: #include <stdio.h> #include <intrin.h> int main(void) { int cpubrand[4 * 3]; __cpuid(&cpubrand[0], 0x80000002); __cpuid(&cpubrand[4], 0x80000003); __cpuid(&cpubrand[8], 0x80000004); char str[48]; memset(str, 0, sizeof str); memcpy(str, cpubrand, sizeof cpubrand); printf("%s\n", str); } What is the alternative of this in Windows ARM64? 回答1: Not a way to get name directly from the CPU

Run shell script at boot in AOSP

柔情痞子 提交于 2020-07-22 06:07:09
问题 I am using iMX 8 Mini EVK for my Project. I build Android 9.0 from AOSP for this board. Now I want to run a script at boot. I did following changes in files but still, I am facing an issue. File : Android_AOSP_build/device/fsl/imx8m/evk_8mm/init.rc service gea3appservice /vendor/bin/sh /vendor/bin/run.sh class late_start user root system group root system oneshot File : Android_AOSP_build/device/fsl/imx8m/evk_8mm/sepolicy/gea3appservice.te type gea3appservice, domain; type gea3appservice_exec

.NET Core 3.0 Publish for ARM64

醉酒当歌 提交于 2020-05-12 02:47:15
问题 Does anyone know how to publish a .NET Core 3.0 application for ARM64? I can only select "linux-arm" but no "linux-arm64". Setting linux-arm in combination with x64 also doesnt work. It says the settings are not compatible. As stated here it should already be supported: https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md 回答1: The linked article points to the supported OSs, not the list of runtime identifiers. An explanation of an RID and a list of common ones can

.NET Core 3.0 Publish for ARM64

痴心易碎 提交于 2020-05-12 02:46:55
问题 Does anyone know how to publish a .NET Core 3.0 application for ARM64? I can only select "linux-arm" but no "linux-arm64". Setting linux-arm in combination with x64 also doesnt work. It says the settings are not compatible. As stated here it should already be supported: https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md 回答1: The linked article points to the supported OSs, not the list of runtime identifiers. An explanation of an RID and a list of common ones can

.NET Core 3.0 Publish for ARM64

╄→гoц情女王★ 提交于 2020-05-12 02:46:00
问题 Does anyone know how to publish a .NET Core 3.0 application for ARM64? I can only select "linux-arm" but no "linux-arm64". Setting linux-arm in combination with x64 also doesnt work. It says the settings are not compatible. As stated here it should already be supported: https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md 回答1: The linked article points to the supported OSs, not the list of runtime identifiers. An explanation of an RID and a list of common ones can

How to prevent “main.o:(.eh_frame+0x1c): relocation truncated to fit: R_AARCH64_PREL32 against `.text'” when creating an aarch64 baremetal program?

三世轮回 提交于 2020-04-07 07:39:53
问题 When playing with creating baremetal executables, I hit this error: main.o:(.eh_frame+0x1c): relocation truncated to fit: R_AARCH64_PREL32 against `.text' collect2: error: ld returned 1 exit status I then managed to create a minimal reproduction example: main.c void _start(void) {} notmain.S .skip 32 link.ld ENTRY(_start) SECTIONS { .text : { */bootloader.o(.text) *(.text) *(.rodata) *(.data) *(COMMON) } .bss : { *(.bss) } heap_low = .; . = . + 0x1000000; heap_top = .; . = . + 0x1000000;

How to prevent “main.o:(.eh_frame+0x1c): relocation truncated to fit: R_AARCH64_PREL32 against `.text'” when creating an aarch64 baremetal program?

那年仲夏 提交于 2020-04-07 07:39:30
问题 When playing with creating baremetal executables, I hit this error: main.o:(.eh_frame+0x1c): relocation truncated to fit: R_AARCH64_PREL32 against `.text' collect2: error: ld returned 1 exit status I then managed to create a minimal reproduction example: main.c void _start(void) {} notmain.S .skip 32 link.ld ENTRY(_start) SECTIONS { .text : { */bootloader.o(.text) *(.text) *(.rodata) *(.data) *(COMMON) } .bss : { *(.bss) } heap_low = .; . = . + 0x1000000; heap_top = .; . = . + 0x1000000;

Unity IL2CPP not works [closed]

限于喜欢 提交于 2020-03-06 09:34:31
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 55 mins ago . I made a game for android that uses google Play service and UDP client-listner and TCP client-listner connections. I used unity 2019.3.3f1 and it works perfectly with: -Scripting Backend: Mono -ARMv7 The APK that comes out works everything. Problem: Google, however, asks me for 64-bit, putting the

Linaro g++ aarch64 compilation cause unalignment fault

白昼怎懂夜的黑 提交于 2020-03-04 05:20:34
问题 I'm using linaro g++ for ARM arch64 to compile a simple cpp file: int main() { char *helloMain = "main module (crm.c)"; long faculty, num = 12; int stop,mainLoop = 1; char word[80] = ""; } After objdump the generated elf file, I got its asm code: 0000000000001270 <main>: int main() { 1270: d101c3ff sub sp, sp, #0x70 char *helloMain = "main module (crm.c)"; 1274: 90000020 adrp x0, 5000 <_malloc_trim_r+0x160> 1278: 9111c000 add x0, x0, #0x470 127c: f90003e0 str x0, [sp] long faculty, num = 12;