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.

Booting Kernel Image from SD card



Hi,

Is there any info on booting the kernel image using SD card and not tftp ?

 

Thanks

  • For a total SD card boot you may be interested in the utility discussed in this thread. As to the U-Boot bootcmd for loading the kernel off of the SD card it will probably be something like "bootcmd=mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000", at least this is what is used in the case of the OMAP35x boot for kernel off of SD card, I have never tried it on DM355.

  • hello everyone:

           i should to complete  the    function  of  updating  system.    i  should   write  the uImage to mtd2 ,and  write ramdisk.gz to  mtd3. how can i merge  uImage and ramdisk.gz  into  one  root file system   to update my system. 

           thanks all!

  • Bernie, the link you gave for the thread takes us to the support page but not a specific thread.  Could you please update.

    Thanks, Jinh T.

  • Jinh said:
    Bernie, the link you gave for the thread takes us to the support page but not a specific thread.  Could you please update.

    Unfortunately when the forum software was last updated all the links to threads and posts were broken, so what specific thread I had in mind is now lost.

    On the positive side, for booting DM3xx off of a SD card the utility I would have been referring to would be the SD card boot and flashing tool for DM355 and DM365. The current active thread for the utility is here.

  • Hi Bernie,

    I am busy with an issue on my NAND and as a plan-B that might become a plan-A is to boot the board totally from SD card similar to doing it from NAND now so that the board could run without a NAND device.  What would be the precedure to setup SD to work like NAND and having my board boot and autorun from it similar to the wiki "How to createa ramdisk with auto-run demo" where I potentially load uImage and my filesystem in ramdisk.gz to the SD card similar to writing it to NAND flash?  what would my bootcmd and bootargs need to be?

    Thanks, Jinh T.

  • Jinh said:
    What would be the precedure to setup SD to work like NAND and having my board boot and autorun from it similar to the wiki "How to createa ramdisk with auto-run demo" where I potentially load uImage and my filesystem in ramdisk.gz to the SD card similar to writing it to NAND flash?  what would my bootcmd and bootargs need to be?

    I have not done this particular setup myself, you may want to check the other thread mentioned above which is still active for advice on this.

  • Thanks Bernie,

    I have looked at the tread on the SD boot and flash issue but it's only to enable you to get ubl on the NAND and doesn't give further info on how to do the whole booting from SD.  I see your comment on the bottom of the following link (http://processors.wiki.ti.com/index.php/Creating_filesystems_on_removable_media) where you mention that it is not applicable to "other" platform which is dm365 I am busy with and can not find other info other than the following link (http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/p/35761/443726.aspx#443726) that addresses my problem with NAND currently as well as a couple of writings on the web particularly booting beagleboards (http://elinux.org/BeagleBoard#MMC.2FSD_boot) from SD but being not too well in linux I am struggling a bit to find the righ info on what to setup in my SD card to be able to boot from it - the following link contain some but I can not find detail on how exactly to do the bootcmd from what you gave above ("bootcmd=mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000") where my bootcmd to boot from NAND currently looks like this: ('nand read 0x82000000 0xc00000 0x430000; nboot 0x80700000 0 0x400000; bootm').  Please help to get my configuration right to boot from SD.

    Thanks, Jinh T.