Template:MCUXPRESSO Yocto Scripts Demo: Difference between revisions
From Variscite Wiki
(Add Zephyr Yocto Scripts instructions) |
(Switch DART-MX93 to VAR-SOM-MX93) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
'''Examples''' | '''Examples''' | ||
{{#ifeq: {{#urlget:title}} | | {{#ifeq: {{#urlget:title}} | MCUXpresso | | ||
variscite-rproc-u-boot example on imx8mm-var-dart: | variscite-rproc-u-boot example on imx8mm-var-dart: | ||
root@imx8mm-var-dart:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/cm_hello_world.bin.ddr_debug | root@imx8mm-var-dart:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/cm_hello_world.bin.ddr_debug | ||
Line 41: | Line 41: | ||
[ 359.318074] remoteproc remoteproc0: remote processor imx-rproc is now up | [ 359.318074] remoteproc remoteproc0: remote processor imx-rproc is now up | ||
}} | }} | ||
{{#ifeq: {{#urlget:title}} | | {{#ifeq: {{#urlget:title}} | Zephyr | | ||
variscite-rproc-u-boot example on imx8mp-var-dart: | variscite-rproc-u-boot example on imx8mp-var-dart: | ||
root@imx8mp-var-dart:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/zephyr.bin | root@imx8mp-var-dart:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/zephyr.bin | ||
Line 49: | Line 49: | ||
+ fw_setenv use_m7 yes | + fw_setenv use_m7 yes | ||
+ fw_setenv m7_bin zephyr.bin | + fw_setenv m7_bin zephyr.bin | ||
Finished: Please reboot, the m7 firmware will run during U-Boot | Finished: Please reboot, the m7 firmware will run during U-Boot | ||
Line 59: | Line 59: | ||
[ 213.444675] remoteproc remoteproc0: remote processor imx-rproc is now up | [ 213.444675] remoteproc remoteproc0: remote processor imx-rproc is now up | ||
If the device tree dedicated to be used with Cortex- | {{#ifeq: {{#var:HARDWARE_NAME}} | VAR-SOM-MX93 || | ||
If the device tree dedicated to be used with Cortex-M applications is not being currently used, the script will give instructions on how to do so: | |||
Error: /sys/class/remoteproc/remoteproc0 not found. | Error: /sys/class/remoteproc/remoteproc0 not found. | ||
Please enable remoteproc driver. | Please enable remoteproc driver. | ||
Most likely you need to use the correct device tree, for example: | Most likely you need to use the correct device tree, for example: | ||
fw_setenv fdt_file imx8mp-var-dart-dt8mcustomboard-m7.dtb && reboot | fw_setenv fdt_file imx8mp-var-dart-dt8mcustomboard-m7.dtb && reboot | ||
}} | |||
}} | }} | ||
</includeonly> | </includeonly> |