3 Replies Latest reply on Sep 22, 2017 3:44 AM by Jie_Zhou

    Zephyr SDK Download Error

    tamrako

      Hi all,

       

      I am trying to re-install the M tree using Intel's directions at Installing and Using the M Tree | Intel® Software

      I have Ubuntu 16.04. I have previously downloaded all the trees and zephyr in June.

      When I get to the make setup step and the Zephyr 0.9.1 SDK begins to dowload, I get the error:

       

      Setting up x86 Firmware

      Downloading Zephyr

      Installing Zephyr to /home/tamrako/CODK2/zephyr

      Downloading Zephyr SDK

        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                       Dload  Upload   Total   Spent    Left  Speed

      100   178  100   178    0     0    175      0  0:00:01  0:00:01 --:--:--   175

      100 40418    0 40418    0     0  17159      0 --:--:--  0:00:02 --:--:-- 35641

      Installing Zephyr SDK to /home/tamrako/CODK2/zephyr-sdk

      /tmp/zephyr-sdk-0.9.1-i686-setup.run: line 1: syntax error near unexpected token `newline'

      /tmp/zephyr-sdk-0.9.1-i686-setup.run: line 1: `<!DOCTYPE html>'

      Makefile:108: recipe for target 'x86-setup' failed

      make: *** [x86-setup] Error 2

       

      Does anyone know what's going on?

        • 1. Re: Zephyr SDK Download Error
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi tamrako,
           
          Thanks for reaching out.
           
          I have tried to install the M-Tree and I’ve gotten the same error message, I would like to investigate a little bit regarding this issue and as soon as I have updates I’ll let you know.
           
          I’ll appreciate your patience during the meantime.
           
          Regards,
          -Yermi A.
           

          • 2. Re: Zephyr SDK Download Error
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi tamrako,

             

            Thanks for your patience.

             

            A link seems to be broken, please apply the patch (zephyr_sdk.patch) provided to have a successful install.

             

            mkdir -p ~/CODK && cd $_
            git clone https://github.com/01org/CODK-M.git
            cd CODK-M
            make clone
            **Need to copy patch to this dirrectory**
            patch -p0 < zephyr_sdk.patch
            sudo make install-dep
            make setup
            export CODK_DIR=$(pwd)
            source ../zephyr/zephyr-env.sh
            

             

            Hope this information helps.

             

            Regards,
            -Yermi A.

            • 3. Re: Zephyr SDK Download Error
              Jie_Zhou

              Hi Yermi,

               

              I've been working with Tamra on the same project. I recently downloaded the SDK with the patch. The download is success but it seems to miss a directory i586-zephyr-elf. Tamra used the patch about a week ago and her environment is fine, so I'm wondering if there is another change made that results in the error. The lack of i586-zephyr-elf directory results me not being able to compile (with make command) any application Whenever I try to compile it throws this error:

              /home/vanissy/CODK/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elf/i586-zephyr-elf-gcc: not found

               

               

              Thanks,

              Jie