Hi, Iām the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
To set up remoteproc on your Verdin iMX8M Plus module and upload firmware to the Cortex-M core without using U-Boot for each update, you need to ensure that the kernel command line includes the necessary argument for remoteproc functionality. This involves adding clk-imx8mp.mcore_booted=1
to the kernel command line.
Here are the steps to modify the kernel command line:
-
Access the Bootloader Environment:
- Connect to your device via a serial console.
- Reboot the device and interrupt the boot process to access the U-Boot prompt by pressing any key when prompted.
-
Modify the Kernel Command Line:
- At the U-Boot prompt, you can view the current boot arguments using:
printenv
- To add the required argument, use the following command:
setenv bootargs "${bootargs} clk-imx8mp.mcore_booted=1"
- Save the changes to the environment variables:
saveenv
- At the U-Boot prompt, you can view the current boot arguments using:
-
Reboot the Device:
- After saving the changes, reboot the device to apply the new kernel command line:
reset
- After saving the changes, reboot the device to apply the new kernel command line:
Once this setup is complete, you can manage firmware updates directly from the Linux environment without needing to go through U-Boot each time. Ensure that your firmware binaries are correctly placed in the /lib/firmware
directory or another specified location, and use sysfs to manage the remote processor as described in the Toradex documentation.
This approach should streamline your firmware update process on new devices.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem: