Forums

Using SD card as file system image target

  • Hi,

     

     

    I have check the sd card directory with minicom as shown below.

     

    mmc0: host does not support reading read-only switch. assuming write-enable.    

    mmc0: new high speed SD card at address 0002                                    

    mmcblk0: mmc0:0002 00000 1.86 GiB                                               

     mmcblk0: p1 

     

     

    I type 'make install' with 'File system image target (Secure Digital Card)' but I am encountering the error below.

     

     

    Verifying if kernel needs to be installed...

    Sending [printenv kernelmd5sum]

    Sending [printenv kerneloffset]

      Kernel doesn't need to be loaded, since checksums match on board and host

      WARNING!!!

      You are about to format your device /dev/mmcblk0p1, please enter 'yes' to continue

      yes

     

      Deploying file system image...

        Unmounting /dev/mmcblk0p1 in case is mounted...

         sudo umount /dev/mmcblk0p1

        Formating filesystem...

         sudo mkfs.ext3 /dev/mmcblk0p1 -L rootfs

    Failed executing last command at /home/lchi/LeopardBoardDM365sdkEVAL2011Q2/installer/u-boot-installer//lib/common.pl line 22, <STDIN> line 1.

    Compilation failed in require at installer line 76, <STDIN> line 1.

    make: *** [install] Error 9

     

     

    Regards,

    Irwin Liew

  • On your board the SD card port is named /dev/mmcblk, but on your host computer is not. For your host the SD card would be usually /dev/sdSOMETHING, and you can find by running dmesg after your plugged in your SD card.

  • mmc0: host does not support reading read-only switch. assuming write-enable.    

    Hi,

    I have  type 'dmesg' in the target and still I got the same SD card port as shown below. What issue could this be?

    mmc0: new high speed SD card at address 0002                                    

    mmcblk0: mmc0:0002 00000 1.86 GiB                                              

    mmcblk0: p1

    Thanks for your help.

    Regards,

    Irwin Liew

  • dmesg on the host, not the target.