So it was a bit of time since receiving my Kickstarter boards, seeing that everything was working - cool, very cool .... then getting interrupted by other projects and now finally getting back to the back yard and digging up my bones, only to discover that they had changed, not at all the same bones I had buried earlier in the year: Dang and double dang. So "digging" through the forum I discovered that I needed to run ./install_logibone.sh to update the eeprom. Only to discover that the latest distribution that is running apparently does not have apt-get --Hmm. Better go back and get the latest recommended distribution. ...
So holding down the boot button while applying power, Blue lights, must be loading ... ssh back into the board with Eclipse, boot with ubuntu,temppwd - yep, apt-get OK, run ./install_logibone.sh, OK running, check the log output ERROR -- no eeprom OK on that had removed the logi_bone. So then I pull the SD, attach the logi_bone, and restart expecting to login again as ubuntu -- No joy, I'm back to my previous distribution...
So if I don't hold the boot button I load what's in the on board flash, and with the boot button pressed I load what's on the SD.
Is it possible to update the distribution via the SD card without altering other files within the file system - say stuff I might have put in opt?
Finally my question:
What is the controlling factor that determines when the BBB flash is updated to what is on the SD vs. just booting off the SD and leaving the BBB flash as it was?
Comments
this behavior appeared quite recently as older distribution would just boot from sd card if sd card has a bootloader and fall-back to emmc in case the sd card is not a bootable image. The behavior is now to try to boot from emmc then fallback to sd card ... So the best option right now is to boot the beaglebone-black with no logi-bone on it, then erase the first partition of the emmc (where the bootloader is located) so that the boot process won't try to boot from emmc. There is two options to do so :
1) brutal option : Boot the beaglebone without logi-bone attached, locate boot parition of emmc (should be mmcblk1boot0, it should contain uboot stuff) and zero it using dd. This is to apply if you don't have a crashed OS on eMMC.
2) better option :Apply what is advised on http://elinux.org/Beagleboard:Updating_The_Software and just delete the MLO file from the boot parition of the eMMC (boot without sd card, delete MLO, reboot with sd card)
The first option can be restored by using a flasher image but your are likely to lose your eMMC content. Second option will only require to copy the MLO file back on the filesystem.
https://help.ubuntu.com/community/SettingUpNFSHowTo
for your PC (if it runs Ubuntu) and for the BBB