I just installed last raspbian on my pi 3.
lscpu tells me that my cpu model is ARMv7 but it should be ARMv8 (according to rpi 3 specs).
Did I buy a fake card ?
It's running 32 bit so it reports v7.
The distro isn't 64bit yet (from what I read a week ago), when it is, it'll report v8.
Related
Is it possible to compile some Linux Kernel and run it over QEMU, emulating some Big Endian ARM processor?
If QEMU is not capable of that, I'd love to hear about other system emulators than can.
My basic goal is to run and debug dedicated Big Endian ELFs in as much as possible native environment.
Every close solution or idea would help!
QEMU has support for big-endian ARM CPUs, but it does not currently have support for emulation of any specific machines (boards) which have big-endian ARM CPUs in them. ARM Linux kernels will generally only run on the hardware they're compiled for, so you can't just take a random big-endian ARM Linux kernel and run it on anything -- you'd need to model the hardware the kernel wanted to see first.
The underlying reason for this is that big-endian ARM systems are very rare -- almost everybody runs ARM CPUs in little-endian mode, and all the boards QEMU models today are little-endian.
Which kernel config file is best to use ( and eventually modify ) for FreeBSD for arm versatile Cortex A9 platform ( vexpress-a9 in qemu ).
I need to compile and run kernel with SMP support.
It's intended to be run under qemu this way
qemu-system-arm -M vexpress-a9 -smp cores=4 (...other params...)
FreeBSD/arm and FreeBSD/armv6 support a large range of ARM CPUs and development boards. Not every peripheral is supported on every CPU or board, though work continues towards this and contributions are always welcome. Conversely, many CPUs and boards not listed may work with only minimal changes needed.
Listing all supported devices on all CPUs and boards is impractical here, however much information can be obtained from the mailing list and archives, the FreeBSD/arm Wiki pages, and also from the Kernel Configuration files
PS:
Versatile Express support in QEMU
Is there a way to get a depth stream from ds325 on devices such as Raspberry pi?
What if to use Intel Galileo board instead?
If you have a x86 or x64 board, you can use the softkinetic driver and sdk for linux right away.
Raspberry Pi is Arm architecture, can be done if you compile yourself.
http://www.hirotakaster.com/weblog/openni2-ds325-driver-for-android-and-arm-linuxraspberry-pi/
Has anyone managed to get a CUDA program to work on the NVidia shield? In particular getting the wonderful NVidia profiling tools to work?
Nvidia shield SoC is based on Tegra 4. Tegra K1 is the first Tegra processor you can write CUDA programs for. So you can expect it's not possible to have CUDA programs working on (current) Nvidia shield.
I have come across several post to read CPU temperature ad fan speed[ 1, 2], but could not find any post for the 64-bit i7 Intel architecture (quad core) using Linux OS. Can any one point to any article and/or source code that can read individual core temperature and possibly fan speed. I have been going through the performance counters in the intel architecture, I find Chapter 14 to describe the Thermal Monitors for the thermal status informations. Any sample C code to read these information/ registers will be of great help.
One common way is to read /sys/class/thermal/thermal_zone0/temp.
You can take a look at the source code of i3status which is written in C and is able to display the CPU temperature: print_cpu_temperature.c