Is it possible or did someone manage to get TwinCAT BSD running on a raspberry pi?
I heard that ARM devices are not yet supported by this OS, but on the beckhoff website it is stated:
Quote: "FreeBSD supports both 32 and 64 bit platforms and makes scalable systems possible with ARM CPUs extending up to powerful Xeon CPUs"
Source: https://www.beckhoff.com/en-us/products/ipc/software-and-tools/twincat-bsd/
If not, would it be possible via a virtual machine running on the raspberry pi?
Or does it really need to run on top of a x86 or x64 CPU?
PS: I know that it's possible to get it running on VirtualBox on Windows, but I am specifically asking about a solution with a raspberry pi.
TcBSD/TwinCat is currently only available for x86 (32 bit) and x64 (64 bit) Intel and officially only supported on their industrial/embedded hardware.
FreeBSD, however is supported on Raspberry PI:
Raspberry Pi 3/4
I've never tried, but you should be able to install FreeBSD on a Rock Pi X which is compatible with many Raspberry Pi Hats but is Intel based. The Rock Pi X also runs Windows 10 and Ubuntu.
On the question of whether or not you could run TC/BSD on unsupported hardware:
You’d likely need to modify it and it would depend on FreeBSD working on the RockPi X first.
Related
Notice: This might sound like a not-so-thought-through question to
some people.
Hello,
I need to make a simple demo application running on Windows 10 IoT Core and test it properly for educational purposes. The problem is that I have no available Raspberry Pi devices (or anything embedded). Apparently, it is possible to set-up a simulated Raspberry Pi device running on Azure Hub - like explained in Microsoft's documentation.
Is it possible to install Windows 10 IoT on such a simulated device? If not, what are the other approaches to simulating Raspberry devices and running Windows IoT on them?
You can run the Windows 10 IoT Core on the VMware workstation:
More details can be found in the How to run Windows 10 IoT Core in VMware Workstation
That won't work. It is not running an OS of any kind, it just makes it look like you have node running on a Pi. You need to look at something like qemu. I've run Raspbian in qemu. Never tried Windows IoT core.
https://www.qemu.org/
It's been my understanding the OS sits on top of the hardware. Is it more or less the same to run windows from a macbook? When installing SQL on a windows partition, does this install similar to an all Windows setup?
I've heard the kernel is the main connector between hardware and basic OS, so would the mac kernel cause potential differences in operation?
Would installing the linux OS also adhere to these rules?
Thanks, and sorry for the simple question.
Generally, you are correct to say that, installing different operating systems on the same hardware would be the same. You will be able to both install Windows and Linux on the same laptop (whether that would be an Asus brand laptop, or HP, or whatever). Once you install an OS on some hardware, and the OS is able to recognize the hardware, and is able to utilize it, then you are in the clear. What's important is to install on OS that is compatible with the architecture of the computer. So if you get a Linux distro that supports x86 architecture, then you would have to install it on hardware that is with a x86 architecture.
Side note: Modern OS's are very smart and they have a wide range of architecture support (list of Linux architecture support, Windows support for ARM, Apple also has a wide range of architecture support).
Since you are asking about a macbook and Windows, then the short answer is: there won't be a problem for you to install Windows on your mac. Apple even gives you Boot Camp to easily do this (there are also quite a bit of recent tutorials on this topic as well).
So the end experience would be almost the same as having Windows on any other machine.
I've heard the kernel is the main connector between hardware and basic OS, so would the mac kernel cause potential differences in operation?
This is true. The kernel is the heart of any OS, but once you have your Windows running, it would be using its own heart and it won't touch the mac kernel. So if you remove your macOS and install only Windows, then only the Windows kernel would be taking control of the Mac hardware. But if you load your macOS, then the Mac kernel would be running and operating on the hardware.
Will Windows run faster on Mac hardware than macOS on its hardware? It's debatable and I would assume not a lot of studies have been made in that sphere. But, at least, it will run.
But what about dual-booting your macbook with Linux? Technically, it is possible (and the principle is the same), but Apple have made restrictions to their firmware, limiting the option of having both a macOS and a Linux distro at the same time. What's so different here than the case with Windows? Well mainly that the firmware of the macbook (the software embedded in the hardware of the laptop) doesn't allow for Linux to be installed. Maybe things have changed, but these are the (not so recent anymore) news I know about (I guess there are still ways of installing Linux on mac hardware).
Im trying to build a custom bare metal OS for Raspberry Pi 1 and Zero. I want to emulate any of these machines in QEMU but the only supported machines are raspi2 and raspi3.
I need to run it on a raspi1 or zero because I dont want to implement multicore support and in raspi1 and zero everything its easier.
Thanks!
Now I have the Redhat:Linux OS on notebook computer there are many applications inside that computer.
Reason that I need to port Redhat:OS to RPI that computer was installed Labview application and Labview with NiDAQmx , VISA I/O.(Now it's running fine on notebook with NI6008)
The question is how can I port that linux OS to my Raspberry PI with driver of RPI?(I need to know step by step)
NI does not support running LabVIEW standard on ARM processors - see What Linux Distributions Do National Instruments Drivers and Software Support?.
NI does have a Real Time modules that supports ARM processors, but not the Pi - see Targetting Raspberry PI.
You can still connect a NI6008 DAQ to your Pi and access the data using a driver such as Low Cost USB DAQ Driver for use with Raspberry Pi, but you will have to consume the data with an application written in a language other than LabVIEW (such as Python).
I recently built a web application which needs to run bcrypt and mongodb over a raspberry pi 4 model b.
Mongodb require a 64 bit OS.
Bcrypt succeed installation only with 32 bit OS.
I used Ubuntu 20.04 for 64 bit OS and the latest version of raspbian 32 bit.
I searched in the npm bcrypt package documentation and I found out that they only support pre-built binaries for:
Windows x32 and x64
Linux x64 (GlibC targets only). Pre-built binaries for MUSL targets
such as Apline Linux are not available.
macOS
Therefore, I have those options:
Find another package (bcrypt like) which is functionnal for 64 raspberry pi's os
Find a way to install bcrypt on armv7l 64 bit OS
Downgrade mongo with an old version who support 32 bits and use Raspbian
I documented compiled all the logs in this post.
I'm sure someone already faced this issue and knows how to deal with this. Or even, if you know another alternative, I'll be glad to hear! Thank you