Community
cancel
Showing results for 
Search instead for 
Did you mean: 
EBayo
Beginner
1,540 Views

Problem with patch.

Patch and source code provided in https://downloadcenter.intel.com/download/27074/Intel-Edison-Yocto-Poky-image Download Intel® Edison Yocto* Poky image don't seem to be compatible (see attached image, tested in W10 x64)

0 Kudos
6 Replies
idata
Community Manager
134 Views

Hello Eduardo,

 

 

Thank you for contacting Intel Technical Support.

 

 

I managed to build the standard image after some troubleshooting. I do realize the following instructions are more complicated than it should be and I will make sure to report this to the appropriate team, as I understand how frustrating it can be to a new user that the official instructions provided with Edison's BSP do not work. However, in the meantime try the following and let me know. I believe I noted everything I required to do in order to build the image, but if you have any issues, let me know and I'll do my best to help you:

Download and unzip iot-devkit-yp-poky-edison-20160606.zip (http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip).

Go to iot-devkit-yp-poky-edison-20160606/poky/meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb and comment or delete the following lines:

IMAGE_INSTALL += "iotkit-comm-js"

 

IMAGE_INSTALL += "iotkit-comm-c-dev"

Go to http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/recipes-core/icedtea/openjdk-7-03b147/sig... http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/recipes-core/icedtea/openjdk-7-03b147/sig...

Download the patch and unzip it.

Go to iot-devkit-yp-poky-edison-20160606/poky/meta-java/recipes-core/ant and delete the file called ant-native_1.8.1.bb, replace it with the file with the same name found in /meta-java-master/recipes-core/ant/.

Go to iot-devkit-yp-poky-edison-20160606/poky/meta-java/recipes-core/icedtea/ and delete the file called icedtea7-native_2.1.3.bb, replace it with the file with the same name found in /meta-java-master/recipes-core/icedtea/.

Go to iot-devkit-yp-poky-edison-20160606/poky/meta-java/recipes-core/icedtea/openjdk-7-03b147/ and delete the file fix-checksums.patch, replace it with the file with the same name found in /meta-java-master/recipes-core/icedtea/openjdk-7-03b147/.

Go to iot-devkit-yp-poky-edison-20160606/poky/meta-intel-iot-devkit/recipes-connectivity/bacnet-stack and open the file called bacnet-stack_0.8.2.bb. Look for the line:

SRC_URI = "http://sourceforge.net/projects/bacnet/files/bacnet-stack/bacnet-stack-%24 http://sourceforge.net/projects/bacnet/files/bacnet-stack/bacnet-stack-${PV}/bacnet-stack-${PV}.tgz \

And change it for:

SRC_URI = "https://svwh.dl.sourceforge.net/project/bacnet/bacnet-stack/bacnet-stack-0.8.2/bacnet-stack-0.8.2.tg... https://svwh.dl.sourceforge.net/project/bacnet/bacnet-stack/bacnet-stack-0.8.2/bacnet-stack-0.8.2.tg... \

Then follow the usual steps:

cd iot-devkit-yp-poky-edison-20160606/poky/

 

source oe-init-build-env ../build_edison/

 

bitbake edison-image u-boot

../poky/meta-intel-edison/utils/flash/postBuild.sh .

zip -r toFlash.zip toFlash

 

 

 

Hope this helps.

 

Regards,

 

Octavian
EBayo
Beginner
134 Views

Hello Octavian,

I have a problem. When I am in cd iot-devkit-yp-poky-edison-20160606/poky and try to put source oe-init-build-env ../build_edison/ on the cmd or power shell, it doesn't work.

What can I do?

idata
Community Manager
134 Views

Hello Eduardo,

 

 

The source command is not compatible with the Windows shell.

 

 

Try following the steps on a linux host, preferably on Ubuntu.

 

 

Regards,

 

Octavian
EBayo
Beginner
134 Views

I have tried too.

idata
Community Manager
134 Views

Hello Eduardo,

 

 

You are using the "source oe-init-build-env" command but the correct line you should use is "source oe-init-build-env ../build_edison/"

 

 

Also, please let me know what host OS are you using?

 

 

Regards,

 

Octavian
EBayo
Beginner
134 Views

don't worry, i will use a olv version

Reply