Earlier this year (around March 2016), our team have been able to successfully use the v0.4 SDK to build a slightly tweaked version of U-Boot for the LS1021A-IOT. I've been tasked to apply another set of modifications to U-Boot, but it looks like this version of the SDK is no longer working. It relies on a few hardcoded URLs to a Freescale server (e.g. http://sw-stash.freescale.net/scm/dnnpi/ls1-uboot.git) that is no longer in service. I attached the build log, because for some reason, Paste is not working in my browser on this website...
So more precisely:
Original Attachment has been moved to: build.log.zip
Hi
Unfortunately not
Hi
Where I find "LS1021A-IoT Rev B Gateway Reference Design SDK Source ISO"? On NCP website it is unavilable.
Maybe someone has in the archives?
Hi Tomasz,
Have you found "LS1021A-IoT Rev B Gateway Reference Design SDK Source ISO" yet? I also tried looking on NXP website with no luck.
Rajan
NXP offers SDK Linux BSP for the LS1021a-IOT board. This BSP is available on the LS1021a-IOT page:
Find the LS1021A-IoT Rev B Gateway Reference Design SDK Source ISO on this page. Size of this file is 7.5 GB.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Then we are talking about the same thing. In other words, what I was saying earlier is that a perfectly fine installation of the SDK was used to successfully build a slightly tweaked version of u-boot back in March 2016, but the same installation used a few days ago is now failing. I even managed to reproduce with a brand new installation of the same SDK! This is what happened:
In summary, a normal, documented workflow has a chance to cripple a working SDK installation and even worse destroying the work of developers. Concerning the "clean" command erasing my local u-boot modifications, it's pretty lame, but I can work around that. But what are your plans concerning the fetch-from-unknown-server issue?
When installed, the SDK contains a local mirror of the u-boot repository (and all other sources):
>$ ls -d Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso/sources/git2/sw-stash.freescale.net.scm.dnnpi.ls1-*
>...
>Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso/sources/git2/sw-stash.freescale.net.scm.dnnpi.ls1-uboot.git
>...
When you run a "cleanall", it will delete the local mirror:
>$ bitbake -c listtasks u-boot
>...
>do_clean Removes all output files for a target
>do_cleanall Removes all output files, shared state cache, and downloaded source files for a target
>do_cleansstate Removes all output files and shared state cache for a target
>...
Then you will be stuck since the original download servers are gone, as you noted. The solution is to restore the local mirror (e.g., via re-installation), and never run cleanall.
I learned this one the hard way, too. Good luck.