This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x -> Beaglebone Black -> Flash eMMC from SDCard (Windows Embedded Compact 7)

Hi,

We need to flash a Windows Embedded Compact 7 image from an SDCard to the eMMC of a Beaglebone Black REV.C.

For proof of concept, we read somewhere that we can do it manually using the StoreManager. But for production we would like to automate the process. Here is two acceptable way for us  : 

  1. Boot Windows Ce from an SDCard, allowing the technician double click on an executable that prepare the eMMC and copy the necessary files to the eMMC.

  2. Modify the bootloader so that it detect while it has been execute from and uSDCard. From there, it prepare the eMMC and copy the necessary file to the eMMC. This is the ideal solution for us.

Now, we are stuck on the proof on concept. Here is what we tried yet : 

  1. Format a uSDCard using HP Format USB FAT32
  2. Copy MLO to the uSDCard
  3. Copy (EBOOTSD.nb0, NK.bin, logo.bmp) to the uSDCard
  4. Insert the uSDCard into the beaglebone, while holding the boot button we turn on the power.
  5. The image is loading properly.
  6. Open the StoreManager of Windows
  7. Delete all partition of DISK 2 (eMMC)
  8. Create a new partition
  9. Format it
  10. Using Windows Explorer over ActiveSync, copy MLO to the iNand folder
  11. Using Windows Explorer over ActiveSync, copy (EBOOTSD.nb0, NK.bin, logo.bmp) to the iNand folder
  12. Power off the Beaglebone
  13. Remove the uSDCard
  14. Power on the beaglebone
  15. This is not working, we are only getting “CCCCCCCCCCCCCCCCCCCCCCCCC….”. It is like the ROM Boot is not finding the MLO (Second stage boot). Is the ROM Boot is waiting for special format on the eMMC to read the MLO ? We read somewhere that ROM boot is able to read normal FAT32 and find the MLO from there. But why it is not working ?

We also tried the script propose by David Vescovi on  but it does not work too.

This process is VITAL for our project, I hope someone could help to get it work properly.

Best regards,
Martin