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.

[MIDAS 2.0] : How can I create an SD card image (.img) file for midas?

Other Parts Discussed in Thread: MIDAS, OMAP3530

Hi all,

I need to know  the procedure of creating MIDAS sd card image. I understood from MIDAS 2.0 wiki Section: SD card that how I copy the midas.img file to an SD card and boot the OMAP3530 EVM and get the application running. But I don't know how I create such an .img file from my custom IQ data and parameter files.

Could you please help me on this subject?

Thanks in advance,

Honey S

  • Please reply as soon as possible.

  • Hi Honey

    Once you have your MIDAS SD card ready with your rebuilt executable, server, input data / parameter files, and any other relevant files, you can use the dd command to write a .img file from your SD card. Attach your SD card to your Linux host PC and see what it mounts as (/dev/sdb or /dev/sdc or ...). Note that using the 'dd' command can be risky if not used correctly and can end up formatting one's main hard drive if one messes it up. Therefore, this is a critical step and please double check you have it correct. Once you know what the drive is mounted as, you can use the dd command as below. In the below command I assume that /dev/sdb points to your SD card drive, but you will need to double check it for your system.

    linuxHost$ sudo dd if=/dev/sdb of=midas_sdcard.img

    Regards,
    Uday 

  • HELLO

    We are trying to create an SD card using RIDGERUN SDK.

    We followed the steps provided in the Creating a  SD card image section in the following link:

    https://developer.ridgerun.com/wiki/index.ph/How_to_boot_a_board_from_a_SD_card#Creating_a_SD_card_image

    we got the following error after the make install step

    Creating the partitions...
      Image creation clean up complete
    Failed to create partitions (see error log at /tmp/sdb1.errlog) at /opt/RidgeRun-SDK-DM816x-Turrialba/installer/u-boot-installer//methods/sd_card/installer line 250, <STDIN> line 1.
    Compilation failed in require at installer line 70, <STDIN> line 1.
    make: *** [install] Error 1
    root@priyanka-Inspiron-N5110:/opt/RidgeRun-SDK-DM816x-Turrialba#

    We are unable to guess what is wrong and also where to find the sdb1.user.errlog file?We cannot find it any tmp directory.

    pls help

    Thank you