ARM tips - yszheda/wiki GitHub Wiki
- http://www.veryarm.com/
- 22个ARM常用概念
- big.LITTLE架构是什么?
- https://github.com/ARM-software/optimized-routines
- ARM内核全解析,从ARM7,ARM9到Cortex-A7,A8,A9,A12,A15到Cortex-A53,A57
- ARM Cortex-A5 A7 A8 A9 A12 A15 A17内核比较
- ARM Linux BenchMark
- How AARCH32 bit applications will be supported on AARCH64 ?
- How to determine whether a given Linux is 32 bit or 64 bit?
# Check CPU
cat /proc/cpuinfo
lscpu
# Check Linux kernel
arch
uname -m
# Check OS
getconf LONG_BIT
- is my linux ARM 32 or 64 bit?
- 64-bit kernel, but all 32-bit ELF executable running processes, how is this?
- Linux 中断(irq)控制器以及device tree设置
- linux kernel的中断子系统之(七):GIC代码分析
- linux-arm中断系统之GIC
- linux kernel 中断子系统之(一)-- ARM GIC 硬件
- Linux 内核中断内幕
- Linux中断(interrupt)子系统
关于GPU的性能测试,可以跑一些benchmark的评测程序,比如GfxBench 3.0/3.1等,还有国内的Antutu也有一些测试GPU性能的指标。
- What is the difference between FIQ and IRQ interrupt system?
- ARM中断模式(IRQ)和快速中断模式(FIQ)区别比较
- ARM的异常处理过程分析
- https://community.arm.com/cn/f/discussions/5443/eclipse-neon
- http://fedoraforum.org/forum/showthread.php?t=313869
- Cross compiling for ARM with Ubuntu 16.04 LTS
- [VIP]Want to compile native Android binary I can run in terminal on the phone
- arm-none-linux-gnueabi交叉工具链安装 ,介绍,区别总结
- arm交叉编译器gnueabi、none-eabi、arm-eabi、gnueabihf、gnueabi区别
- arm交叉编译器gnueabi、none-eabi、arm-eabi、gnueabihf、gnueabi区别
- 交叉编译器 arm-linux-gnueabi 和 arm-linux-gnueabihf 的区别
- armel和armhf区别选择
$NDK_ROOT/build/tools/make-standalone-toolchain.sh --arch=arm --install-dir=/opt/android-toolchain
#!/bin/sh
arm-none-linux-gnueabi-readelf -a $1 | grep "Shared library:"
Compiler is tooold. Update the compiler.
The device uses a older libc. Use an older host cross-compiler instead. 查看设备glibc版本,找到libstdc++.so
后执行:
strings /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19 | grep GLIBCXX
- Should
arm-none-eabi-gcc
include astdio.h
? - fedora20 arm-linux-gcc 找不到stdio.h头文件
- 如何編譯ARM Cross Compiler ToolChain
- Cross compiling GLIBC for my ARM SoC
- GLIBC库交叉编译
- How to build GNU cross-compilers
没有找到interpreter,exec
系统调用失败。检查方式:
$ readelf -a <executable file> | grep interpreter
[Requesting program interpreter: /lib/ld-linux-armhf.so.3]
-
Trying to run a cross-compiled executable on target device fails with: No such file or directory
-
“No such file or directory” when executing a cross-compiled program on a Raspberry Pi
-
Topic: Cannot find /lib/ld-linux.so.3 while cross-compiling to ARM
-
gcc arm executable “no such file orr directory”, wrong dynamic lib
-
“No such file or directory” as error for wrong architecture [duplicate]
-
“No such file or directory” when running app on linux arm target
-
Segfault in /system/bin/linker with binary compiled for Android
- https://stackoverflow.com/questions/18216055/error-selected-processor-does-not-support-arm-mode
- STM32Cube - project does not build (Selected processor does not support Thumb mode)
编译单元有的是用hardfp的EABI,有的不是(如soft、softfp),导致传参方式不一致(hardfp使用VFP寄存器传参)。改用同样EABI的交叉编译器和-mfloat-abi
来编译这些编译单元即可。
- https://unix.stackexchange.com/questions/136407/is-my-linux-arm-32-or-64-bit
- https://stackoverflow.com/questions/29166619/differences-between-arm-versions-armv7-only
- BKPT instruction
- What is the behavior for a "BKPT" instruction in a HardFault handler
- How do I set a software breakpoint on an ARM processor?
$ gdbserver localhost:6000 <prog> <arg>
- On host:
$ adb forward tcp:6000 tcp:6000
$ gdb <prog>
(gdb) target remote :6000
# Display NEON registers also
info all-registers
- Profiling on baremetal embedded systems (ARM)
- https://en.wikipedia.org/wiki/List_of_performance_analysis_tools
- linux 平台性能分析工具
- Measure application performance on ARM development board
- What is gator? What is the link between ARM DS-5 streamline and gator?
- https://github.com/ARM-software/gator
- Not able to get GPU counters on Odroid XU3 using ARM Streamline
- SystemTap for Android
- 移植安装SystemTap到Android的板子上
- Profiling Android apps with Flamegraphs
- Android Java和Native Memory Flame Graph
- 不可用
clock()
测量多线程程序时间 - VIP: How to measure program execution time in ARM Cortex-A8 processor?