Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PPoob
New Contributor I
1,272 Views

help customizing linux kernels

Jump to solution

i have troubles following the official intel documentation on building a custom image from : http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbsp_ug_331188007.pdf http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbsp_ug_331188007.pdf , as i feel that the explanation is no longer valid. as there is no edison-src.tgz available in the in the provided link to the edison software download page"https://software.intel.com/iot/hardware/edison/downloads IoT - Intel® Edison Board Download | Intel® Developer Zone". Furthermore i have tried using the available files from the software download page like the "https://downloadmirror.intel.com/25871/eng/iot-devkit-prof-dev-image-edison-20160315.zip Release 3.0 Yocto* complete image" but it dont even have any of the relevant files according to the intel documentation to compile the build, and the "http://iotdk.intel.com/repos/3.0/sources/i586-poky-linux/edison-image-1.0-r0/edison-image-1.0-r0-pat... Sources – Linux Source Files" page in it's self is no longer valid. so how to now i cant even custom build the kernel to enable PPP in this documentation : https://software.intel.com/en-us/articles/connect-a-gprs-modem-to-intel-edison IoT - Connect a GPRS modem to Intel® Edison | Intel® Developer Zone. Please help

1 Solution
VIvan7
New Contributor III
108 Views

You can check my tutorial on building from the sources: http://hobby.farit.ru/building-yocto-linux-for-intel-edison/ http://hobby.farit.ru/building-yocto-linux-for-intel-edison/

The sources for Yocto 3.0 are broken.

You can get the older version 2.1 from here: https://downloadcenter.intel.com/download/24910/Intel-Edison-Software-Release-2-1 Download Intel Edison Software Release 2.1

Look for the file edison-src-ww18-15.tgzhttps://downloadcenter.intel.com/downloads/eula/24910/Intel-Edison-Software-Release-2-1?httpDown=htt... Intel Edison Software Release 2.1

View solution in original post

7 Replies
VIvan7
New Contributor III
109 Views

You can check my tutorial on building from the sources: http://hobby.farit.ru/building-yocto-linux-for-intel-edison/ http://hobby.farit.ru/building-yocto-linux-for-intel-edison/

The sources for Yocto 3.0 are broken.

You can get the older version 2.1 from here: https://downloadcenter.intel.com/download/24910/Intel-Edison-Software-Release-2-1 Download Intel Edison Software Release 2.1

Look for the file edison-src-ww18-15.tgzhttps://downloadcenter.intel.com/downloads/eula/24910/Intel-Edison-Software-Release-2-1?httpDown=htt... Intel Edison Software Release 2.1

View solution in original post

PPoob
New Contributor I
108 Views

Thanks Vincenze !!

I am currently following your tutorial.

However right after the "Bitbake edison-image" i am reciving this problem:

"

WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2, attempting MIRRORS if available

ERROR: Checksum failure fetching ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2

ERROR: Function failed: Fetcher failure for URL: 'ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2'. Checksum mismatch!

File: '/home/prashanth/Documents/edison-src/bitbake_download_dir/gcc-4.8.2.tar.bz2' has md5 checksum 1b4648410916730690f41430b3aaff64 when a3d7d63b9cb6b6ea049469a0c4a43c9d was expected

File: '/home/prashanth/Documents/edison-src/bitbake_download_dir/gcc-4.8.2.tar.bz2' has sha256 checksum f0b6d60357c8571b7e4779de00c87da4576b6e809fa9e3becb6ccbbe5d013b9f when 09dc2276c73424bbbfda1dbddc62bbbf900c9f185acf7f3e1d773ce2d7e3cdc8 was expected

If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:

SRC_URI[md5sum] = "1b4648410916730690f41430b3aaff64"

SRC_URI[sha256sum] = "f0b6d60357c8571b7e4779de00c87da4576b6e809fa9e3becb6ccbbe5d013b9f"

Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Logfile of failure stored in: /home/prashanth/Documents/edison-src/build/tmp/work/core2-32-poky-linux/gcc-cross-initial/4.8.2-r0/temp/log.do_fetch.21890

ERROR: Task 1320 (/home/prashanth/Documents/edison-src/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb, do_fetch) failed with exit code '1'

WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2, attempting MIRRORS if available

ERROR: Checksum failure fetching ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2

ERROR: Function failed: Fetcher failure for URL: 'ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2'. Checksum mismatch!

File: '/home/prashanth/Documents/edison-src/bitbake_download_dir/gcc-4.8.2.tar.bz2' has md5 checksum 1b4648410916730690f41430b3aaff64 when a3d7d63b9cb6b6ea049469a0c4a43c9d was expected

File: '/home/prashanth/Documents/edison-src/bitbake_download_dir/gcc-4.8.2.tar.bz2' has sha256 checksum f0b6d60357c8571b7e4779de00c87da4576b6e809fa9e3becb6ccbbe5d013b9f when 09dc2276c73424bbbfda1dbddc62bbbf900c9f185acf7f3e1d773ce2d7e3cdc8 was expected

If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:

SRC_URI[md5sum] = "1b4648410916730690f41430b3aaff64"

SRC_URI[sha256sum] = "f0b6d60357c8571b7e4779de00c87da4576b6e809fa9e3becb6ccbbe5d013b9f"

Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Logfile of failure stored in: /home/prashanth/Documents/edison-src/build/tmp/work/core2-32-poky-linux/gcc-cross/4.8.2-r0/temp/log.do_fetch.23793

ERROR: Task 1388 (/home/prashanth/Documents/edison-src/poky/meta/recipes-devtools/gcc/gcc-cross_4.8.bb, do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 95 tasks of which 89 didn't need to be rerun and 2 failed.

Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:

/home/prashanth/Documents/edison-src/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb, do_fetch

/home/prashanth/Documents/edison-src/poky/meta/recipes-devtools/gcc/gcc-cross_4.8.bb, do_fetch

Summary: There were 2 WARNING messages shown.

Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

"

Which i am guessing because the link to "ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2" is broken. How do I fix this ?

Thanks

VIvan7
New Contributor III
108 Views

> Which i am guessing because the link to "ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2" is broken. How do I fix this ?

The link is not broken. I can download the file.

PPoob
New Contributor I
108 Views

oh okay so is there any reason why I'm getting this error multiple times? And how do I overcome this issue

Thanks

idata
Community Manager
108 Views

Were you able to successfully complete Vincenze's guide and download ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ?

 

 

Sergio

 

PPoob
New Contributor I
108 Views

yes i am able to follow Vincenze's superb tutorial, and more importantly he provided a link to a mirror site to download the src file. Ontop of that i am also able to solve the problem i had regarding my later post, downloading ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2, this problem was simply due to my college firewall, and web restrictions. after i got over this i could download ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2.

Thanks alot guys, for everyone who helped in this forum,

idata
Community Manager
108 Views

Hi,

 

 

The "Sources-Linux Source Files" is currently down. This problem has been reported and we're working to fix it. I'll post back in this thread once the source files are available for download.

 

 

Thank you for your patience.

 

 

Sergio

 

Reply