Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

Build Your Own Yocto Poky Image

aselv1
Novice
1,096 Views

while i extract these packages i get these type of error and i cant extract it and please help me to start with how to build own yockto image

thanks in advance.

! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto-tiny_3.10"_ }} linux-yocto-tiny_3.10.bbappend The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto-tiny_3.10"_ }} linux-yocto-tiny_3.10.bbappend to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == _linux-yocto-tiny_3.10__ }} linux-yocto-tiny_3.10.bbappend ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto_3.14"_ }} linux-yocto_3.14.bbappend The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto_3.14"_ }} linux-yocto_3.14.bbappend to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == _linux-yocto_3.14__ }} linux-yocto_3.14.bbappend ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto-dev"_ }} linux-yocto-dev.bbappend The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == "linux-yocto-dev"_ }} linux-yocto-dev.bbappend to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice == _linux-yocto-dev__ }} linux-yocto-dev.bbappend ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create folder iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-standard.scc The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-standard.scc to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != _custom__ }} files\{{=machine}}-standard.scc ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-preempt-rt.scc The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-preempt-rt.scc to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != _custom__ }} files\{{=machine}}-preempt-rt.scc ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}.cfg The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}.cfg to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != _custom__ }} files\{{=machine}}.cfg ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Cannot create iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-user-config.cfg The filename, directory name, or volume label syntax is incorrect. ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Attempting to correct the invalid file name ! D:\iot-devkit-yp-poky-edison-20160606 (1).zip: Renaming iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != "custom"_ }} files\{{=machine}}-user-config.cfg to iot-devkit-yp-poky-edison-20160606\poky\scripts\lib\bsp\substrate\target\arch\powerpc\recipes-kernel\linux\{{ if kernel_choice != _custom__ }} files\{{=machine}}-user-config.cfg ! D:\iot-devkit-yp-poky-edison-2016...

0 Kudos
4 Replies
Andriy_S_Intel
Employee
153 Views

The message is far from being readable.

aselv1
Novice
153 Views

from official website i download build your own yocto image

but while extract its showing this error

how to fix it

idata
Community Manager
153 Views

Hi Ayyappan91,

Thank you for contacting us.

That's a weird issue. Could you please give us more details about this? Could you also share us your OS information using the command "uname -a"? It is very difficult for us to read the information that you have provided, can you provide it in a more readable way?

There have been a lot of user that have built without issues using Ubuntu 14.04 (Kernel version 4.4.0-38-generic) following the next steps:

1. Make sure that you have Git 1.7.8 or greater, tar 1.24 or greater, Python 2.7.3 or greater excluding Python 3.x, which is not supported.

2. Install all the dependencies with the command:

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \

build-essential chrpath socat libsdl1.2-dev xterm

3. 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).

4. 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"

5. Go to http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/recipes-core/icedtea/openjdk-7-03b147/sig..., download the patch and unzip it.

7. 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/.

8. 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/.

9. 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/.

10. 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-${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... \

11. 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

I hope you find this useful, and let us know if it works for you.

Have a nice day.

Regards,

Leonardo R.

FerryT
Valued Contributor I
153 Views

paths are all windows format (D:\..)

Reply