5AJ SD card boot

=Introduction=

This page gives info on how to boot 5AJ.1.x images out of SD card.

=Prerequisite=

You have built all components by following the release notes - http://omapedia.org/wiki/Release_Notes#OMAP5_uEVM_Release_Notes

=Steps for enabling SD card boot=

Hack change for SD card boot of Android
For SD card images to work, a patch has to be applied to device/ti/panda5 project and Android file system needs to be rebuilt

Apply the patch, by following commands below cd $MYDROID/device/ti/panda5 git fetch http://review.omapzoom.org/device/ti/panda5 refs/changes/22/32322/2 && git cherry-pick FETCH_HEAD

Rebuild AFS to generate update images cd $MYDROID . build/envsetup.sh lunch 25 #(specific lunch target: full_omap5panda-userdebug) make -j2

Update emmc files with latest binaries
cd $YOUR_PATH/emmc_files cp -v ${MYDROID}/out/target/product/panda5/boot.img emmc_files

Flashing images to SD card
1  2   3   4   OFF ON  OFF ON
 * Set the below DIP switch settings on the board to enable SD boot. Refer here for DIP switch location.


 * Have a SD card with only FAT partition and partition size of 4 GB or more. Copy only the omap5uevm_GP_ES2.0_MLO file in that partition (copy as name MLO)

Texas Instruments Inc Bootloader 1.1.0-ge3a6f493 Build Info: Sep 4 2013 - 19:31:44 OMAP reset reason PRM_RSTST = 0x0001 PMIC reset reason SWOFF_STATUS = 0x02 sram: boot device: SD efi partition table not found Device Serial Number: 2E6604F064300001 Entering fastboot mode...
 * Insert the SD card on the board, Connect your USB3 cable from the target to your flashing station and the power supply. With this setup, the board should automatically enter fastboot mode

sudo ./fastboot.sh
 * Run your fastboot.sh script, This will flash the binaries into the SD card on the Panda board.


 * Now reset the board and let it boot up