What if the .img is already saved to a computer. Could it be ftp’d into the beagle that way? Does it need to be in a specific location prior to step 3?
Would they even need to boot from the microSD if the .img is copied into the beagle via SFTP from a computer into its home directory? In other words, can’t they boot to the standard Debian image first, copy the Yocto .img into the beagle’s home directory and then run the “dd” command?
Edit… On second thought No… Please follow the directions i already listed. You’ve asked for concrete instructions, but in your last message you are making a big assumption or wasting time.
Let’s assume the board is from the factory… Debian is on the eMMC… So booting into eMMC in Debian and then flashing Yocto with dd will fail, as the OS is running from eMMC…
So you’d have to flash Debian on to a microSD first, to boot from Debian and flash the eMMC for Yocto… In which case, you can skip a step and just Flash Yocto to the microSD boot into Yocto from the microSD and flash Yocto to the eMMC.
This method also ensure’s your Yocto image was built corretly for this target, as if it fails to boot from microSD i can pretty much guarantee eMMC will also fail…
So for concrete instructions:
Flash Yocto to microSD:
Boot BBB with Yocto microSD
copy image to Running Yocto
Flash eMMC with dd while running from microSD
Booted from the microSD card into the Yocto image (Boots fine from SD card so image is good).
Copied the .img file from the PC to the /home directory of the Beagle via SFTP but noticed that the original .img file was 1.19GB on the PC but only 0.25GB after it copied into the /home directory.
Proceeded running the “dd” command from above. Waited until it finished then powered off. Then removed the microSD card and tried to boot back up. Nothing happened, no USR LED activity, just the power light.
Powered down again and inserted the microSD card, and powered up. This time, it booted to the Yocto image, however, “S2” wasn’t held down to boot from the microSD. It booted by itself into the Yocto image. I don’t know where it is booting from now, but it still needs the microSD to boot. Open to any suggestions
If anyone is still looking for a step-by-step walk-through of flashing the BBB eMMC with an image built using the Yocto project, I have detailed so in a recent article:
Thank you! My yocto broke itself. I probably did something but I am blaming it on yocto for now.
Anyway, this is well put together w/ a lot of instructions and warnings for those of us who do not understand that things get erased in full on building procedures!