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.

what partitioning and disk geometry is required for a MMC/SD card so OMAP 35x will boot from it

Other Parts Discussed in Thread: OMAP3530

I have successfully partitioned and formatted an SD card such that the OMAP 3530 boots from it.  However, I'm interested in knowing what the requirements are regarding the geometry (cylinder/head/sector) for the SD card.  I know the methods described in the beagle board link (http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat) and the DaVinci link (http://wiki.davincidsp.com/index.php?title=MMC_Boot_Format) both force HEAD=255 and SECTOR=63 (CYLINDER is based on total disk size, HEAD, and SECTOR).  Is there any documentation that describes these settings as required?  I'd like to use alternative values if possible, but obviously still need to end up with a "geometry" that the OMAP 3530 recognizes.

Thanks.

 

  • And one additional question:

    The TRM states that the ROM code looks in the "first sector" for the booting image file.  Is the "first sector" sector = 0, or sector = 1?

     

  • burchmere said:
    Is there any documentation that describes these settings as required? 

    As far as I know there is no additional documentation, chances are you can tweak some of the values but I can say that it tends to be sensitive to the particulars of the format (I have made many cards that did not boot :) ) , that is the ROM boot loader on the OMAP3 seems to only support a subset of partitioning formats whereas if you put the card in a PC you maystill be able to access it. This being said the best I could suggest at this point would be trial and error with your partitioning settings, the only ones I can say that will work are the ones you have already seen.

    burchmere said:
    The TRM states that the ROM code looks in the "first sector" for the booting image file.  Is the "first sector" sector = 0, or sector = 1? 

    I could not say for sure, I can say that every bootable card I have made has recognized the MLO file properly, though all I put in the bootable partition is the MLO, uImage, and one additional text file. I have heard there were issues booting other OSes where the need to be in the first sector came into play, the solution was to ensure that the first file you copy into the fresh booting partition was the MLO file.

  • hello,

     

    I'm jumping on the subject.

    is there any switch setup , to boot from SD card ? or just format SD and copy the files .

     

    TIA,

    yuda

  • yuda marko said:
    is there any switch setup , to boot from SD card ?

    Yes, you have to have the boot mode pins in a certain fashion to get the SD card boot, in the case of the Mistral EVM you would set the switches as shown in this post.

  • Additional quetion:

    There is something erro at booting my omap3530 evm board with SD,I use hypertrm.exe to receive message from evm board,there is message,as follows

    ===========================================================

    Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
    Unsupported Chip!

    ============================================================

    Amazing me! This time ,when I plug off SD,power on the board,the message the same as above.

    ===========================================================

    Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:11:24)
    Unsupported Chip!

    ============================================================

    btw The SD has made as beagleboard.org guidline,has dual-partition

    anyone can help me to solve this puzzle?

  • I suspect this is a problem with your boot switch setting on the EVM, someone else had a similar issue here. Do you have your boot switch settings like the picture on this post?