var-setup-release.sh error: setup-utils.sh not found

cancel
Showing results for 
Search instead for 
Did you mean: 

var-setup-release.sh error: setup-utils.sh not found

180 Views
bgoetz
Contributor I

Hello, I just got a DART-MX8M-MINI Dev Kit and am trying to build a toolchain.  The link I'm using is:

http://variwiki.com/index.php?title=Yocto_Toolchain_installation&release=RELEASE_SUMO_V1.6_DART-MX8M...

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

Labels (1)
0 Kudos
2 Replies

96 Views
bgoetz
Contributor I

got past this step - needed to run dos2unix on the .sh files and on ./setup-environment

on to the next error...

0 Kudos

96 Views
gusarambula
NXP TechSupport
NXP TechSupport

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,

0 Kudos