6 Replies Latest reply on Sep 27, 2017 9:33 PM 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

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

                Hi Jie,

                We are not able to duplicate the error that you are reporting. We followed the steps on applying the patch, as well as the guide available in this site: https://software.intel.com/en-us/node/675543

                Could you please tell us what steps you followed or which guide you are using?

                Regards,
                Diego V.

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

                  Hi Jie,
                   
                  Do you still need assistance in this case? If so, Could you please tell us what steps you followed or which guide you are using?
                   
                  Regards,
                  -Yermi A.
                   

                  • 6. Re: Zephyr SDK Download Error
                    Jie_Zhou

                    Hi Yermi,

                     

                    Yeah I tried the same instruction steps on another linux computer, and it works fine. So, it is something with my own machine, I'll fix it since I know where the issue is now. Thank you very much for your help.

                     

                    Sincerely,

                    Jie