Intel® Galileo - Programming SPI Flash through the UEFI Internal Shell

Version 1

    With this process you will be able to program the SPI flash image of Galileo. You could use this process to update or recover the firmware of the board manually when it is corrupted. This process has been tested successfully with a Galileo Gen1 and a Galileo Gen2 board.

     

    What do you need to perform this process?

     

    You will need two files: CapsuleApp-1.0.4.efi and Flash-missingPDAT_Release-1.0.4.cap. Additionally you will need a microSD card to store these files.

     

    Process description

     

    Please follow the steps below to perform this process.

     

    1. Download the files CapsuleApp-1.0.4.efi and Flash-missingPDAT_Release-1.0.4.cap, and copy them into the microSD card.

    2. Insert the microSD card into the microSD socket on the Galileo board.

    3. Connect the serial cable between the computer and the Galileo board. You can use PuTTY or similar software to access the Linux terminal.

    4. Power on the board. The board will start to boot.

    5. When you see a similar display as below you have to type “c” to enter into the command-line.

    1.JPG

    6. Now you should see a display as the one below. Type “quit” and hit “Enter”.

    2.JPG

    7. In the display that you will see, select “UEFI Internal Shell”.

    3.JPG

    8. You will see a display like the one below. There is a print out at the top line which looks like this: fs0 :HardDisk - Alias hd7b blk0”. This is your microSD card. To mount it type “fs0:

    4.JPG

    9. Now you have to type the name of each file (*.efi and *.cap). You have to type the *.efi file name, then a "space", and finally the *.cap file name. You have to add the file extension for each one. Write them with the exact name they have. At this point your display should look like this:

    5.JPG

    Make sure the file names are correct and hit “Enter”. The programming process will start. It will take some minutes to finish. Don’t interrupt the process because the board could be damaged permanently. After the process finishes the board will boot as normally.

     

    Once the process has been completed the firmware should be updated to the 1.0.4 version. You can check it with the command: cat /sys/firmware/board_data/flash_version

    6.JPG