Any information related to investigating the Intel Edison kernel, U-Boot, SoC hardware, ACPI, tools to build the image etc.
You can read up on the Intel Edison MCU in this salvaged documentation:
MCU API documentation
Creating applications with the MCU SDK for the Intel® Edison board
Keep in mind that the MCU SDK is based on Eclipse using a Java version that is no longer supported. In this quick start guide we will show how to build an MCU app without the Eclipse SDK. But if you really think you can and want to fix the Eclipse SDK we did salvage that too, so send me a message in our Telegram group https://t.me/IntelEdison Web if you need it.
In addition to the documentation above, consider that some host side sysfs interface names changed.
The MCU communicates with the CPU through 2 serial interfaces:
echo "some text" > /dev/ttymcu0 to send data to the MCU. Run cat /dev/ttymcu0 to retrieve the response from the MCU.systemctl stop serial-getty@ttyS2.service
Of course you will loose access to linux through the console this way, so make sure you have access through ssh or the USB serial gadget first.
echo "on" > "/sys/devices/pci0000:00/0000:00:17.0/power/control"
platform/intel_mcu is now accessed using pci0000:00/0000:00:17.0:
echo "load mcu app" > "/sys/devices/pci0000:00/0000:00:16.1/control"
Minimally, there are some headers files, a library file and a script to build an MCU application.
Easiest is to clone from github https://github.com/edison-fw/edison_mcu.
I stole this from https://github.com/tardyp/edison_ir.git, cleaned it up, added the SDK to the release Tag https://github.com/edison-fw/edison_mcu/tree/v1.0 and a sample source file from the SDK.
MCUSDK_PATH=../edison-mcusdk-linux64-1.0.10 MCUSDK_OS=linux-x86_64 make intel_mcu.bin
Copy the binary file to `“/lib/firmware/intel_mcu.bin” on Edison.
echo "on" > "/sys/devices/pci0000:00/0000:00:17.0/power/control"
echo "load mcu app" > "/sys/devices/pci0000:00/0000:00:16.1/control"
root@edison:~# cat /dev/ttymcu0
^C
root@edison:~# echo "go" > /dev/ttymcu0
root@edison:~# cat /dev/ttymcu0
hello mcu
^C