Hello, I just got a DART-MX8M-MINI Dev Kit and am trying to build a toolchain. The link I'm using is:
I'm getting hung up on the following:
MACHINE=imx8mm-var-dart DISTRO=fsl-imx-xwayland . var-setup-release.sh -b build_xwayland
Here's the output (with -x turned on)
bgoetz@volta18:~/var-fsl-yocto$ set -x
bgoetz@volta18:~/var-fsl-yocto$ MACHINE=imx8mm-var-dart DISTRO=fsl-imx-xwayland . var-setup-release.sh -b build_xwayland
+ MACHINE=imx8mm-var-dart
+ DISTRO=fsl-imx-xwayland
+ . var-setup-release.sh -b build_xwayland
++ $'\r'
++ '[' -x /usr/lib/command-not-found ']'
++ /usr/lib/command-not-found -- $'\r'
: command not found
++ return 127
++ . $'sources/meta-fsl-bsp-release/imx/tools/setup-utils.sh\r'
: No such file or directory-release/imx/tools/setup-utils.sh
++ $'\r'
++ '[' -x /usr/lib/command-not-found ']'
++ /usr/lib/command-not-found -- $'\r'
: command not found
++ return 127
+++ pwd
++ CWD=$'/export/users/bgoetz/var-fsl-yocto\r'
++ PROGNAME=$'setup-environment\r'
-bash: var-setup-release.sh: line 25: syntax error near unexpected token `$'\r''
'bash: var-setup-release.sh: line 25: `exit_message ()
bgoetz@volta18:~/var-fsl-yocto$ find . -name setup-utils.sh
+ find . -name setup-utils.sh
./sources/meta-fsl-bsp-release/imx/tools/setup-utils.sh
bgoetz@volta18:~/var-fsl-yocto$
Any help would be greatly appreciated.
Much thanks,
Bill
got past this step - needed to run dos2unix on the .sh files and on ./setup-environment
on to the next error...
Hello Bill Goetz,
I’m glad to hear that you got past this error. The DART-MX8M-MINI Dev Kit is manufactured and supported by Variscite so perhaps they can better assist you if you encounter more problems.
Regards,