by devit · 6y ago · 0 comments
How is an OS supposed to support that? Seamlessly transition processes to run in qemu-x86 on the ARM core? Compile some processes as ARM binaries and pin them to the core? Require some sort of data-layout-preserving dual-architecture compilation for all binaries?
Seems much more reasonable to add a low-power in-order x86-64 core instead.
The M7 core is likely involved in the bootup process. Modern CPUs are so complicated that you need another microprocessor for assistance to boot the darn thing.
Things like DDR4 initialization, PCIe initialization, SATA initialization (woops, this computer doesn't have any SATA drives, time to turn the attached M.2 drive into a SATA drive... wait, no M.2 drive either. I guess the motherboard wants to boot through PXE, which requires the network controller to be initialized). Etc. etc.
Even something like reading from NAND Flash requires a complicated initialization dance, where a microcontroller would be useful.
I admit I'm mostly ignorant on the bootup process of modern chips: but I understand that they're very complicated beasts now.
No, this thing runs its own firmware. It's a Baseboard Management Controller on-die, basically.
Theoretically, if you can share memory between cores of different architectures and are careful to compile everything so endianness is the same and padding lines up, shared state means you could hand control over to the other core.
Realistically, I bet this is more like the PS1 chip in the PS2, just on the same die.
I have often wised my embedded system had separate CPUs for the embedded control (real time requirements, bad things happen if it crashes), and the user interface (needs to be pretty with icons, but who cares if it crashes)