I am running into some issues when trying to flash a custom image to the Edison. I have build an image from source and then customised it by adding a standard package as described here: https://software.intel.com/en-us/node/593592 IoT - Creating Custom Intel® Edison Images | Intel® Software
IMAGE_INSTALL += "zip"
This is the only change I have made to the standard package. I was previously able to flash the device using the board configuration tool for Mac when it was the standard build but when I try with this as the only change I get the following message:
Uh-oh! Your Intel® Edison image did not update. This is likely because the Intel® Edison did not reconnect properly. You'll need to download the newer firmware and manually update the Intel® Edison board.
Detailed instructions available at https://software.intel.com/en-us/flashing-your-firmware-edison
I am able to use the flashall.sh from the command line and this completes without errors however neither method seems to result in the standard image being updated (in this case I desire and expect the zip tool to be installed but it isnt on the device after the flashall.sh script completes and the device reboots). I checked the package list in the toFlash folder and zip 3.0-r2 is in the list of packages (and is missing from the same list in the standard image) but for some reason the image doesnt seem to be updating.
Do I need to change some version number of the image for the device to update (does it think it is already up to date?).
Thanks for contacting us!
Thanks for all the information provided, however, we would like to know which steps you are following after adding the "zip" package to build the custom image. Any details will help in order to assist you with that error.
We'll be waiting for your reply.
I am building a custom image from source as described in this thread:
I modified the /meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb file by adding
IMAGE_INSTALL += "zip" and then rebuilt the image.
I then zipped the toFlash folder and copied it to my local machine.
I then used the Intel Edison Board Configuration Tools for Mac and selected the custom image zip file:
And then I get the error message:
I can flash the Intel provided binary with no problems.
Thanks for looking into this.
Thank you very much for all details provided. Seems that you are following the correct steps. Currently, we are working on it and hope to have useful information to you as soon as possible. We'll appreciate your patience during the meantime.
I've been working on it, however, I've been getting some error message. We would like to suggest you to try these methods to add a package in order to know if one of them change your results, please take a look at this link: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# usingpoky-extend-customimage-localconf http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# usingpoky-extend-customimage-localconf, in 5.2 Customizing Images section. Also, we would like to know if can try to add "gzip" package instead of "zip" package, since it is the standard GNU compressor.
I'll be waiting if this information helps or if you have any update.
I tried to configure the build using a different option (local.conf). I was able to build images both zip and gzip although when I tried to add ruby which I thought was a standard package it failed (not clear if that has other dependencies?).
When I flashed the device using flashall.sh i had the same problem. In the case of zip it says its in the package list but it isnt installed on the device. Gzip is present on the package list and installed on the device however it seems to be present on another device which has the standard image so I dont think any actual cutomisation has happened. I am back to the same place .
I have been investigating and I found this information and hope it helps you: you can use the default Edison image and configure your Edison to fetch packages from the AlexT repository, please take a look at the following link and there you can find instructions to configure it: http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html. Then, in order to install "zip" package, run this command # opkg installed zip.
Additionally, regarding the custom image building, I would like to let you know that custom images are out of our support scope, since the package is not being added, I believe you are not following all the required steps to add a new recipe, so the package is not being included properly in the final result, I suggest to read the http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html Yocto documentation in order to know in more detail what the process to include additional recipes is.