Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/OMAP-L138: I got an error when I run a create-sdcard-omapl13x.sh script.

$
0
0

Part Number:OMAP-L138

Tool/software:TI-RTOS

Hi Champs,

Could you please let me know what is to be substituted for sfdisk -D option?
I tried a SD card formatting according to a description below and got an error.

  o TI EP Wiki: Processor SDK RTOS BOOT OMAPL13x
    (processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_OMAPL13x)

    - MMCSD Boot Mode

      - Formatting the SD Card

        sudo sh create-sdcard-omapl13x.sh <Drive Name>

The error messages was as below.

  $ sudo sh create-sdcard-omapl13x.sh /dev/sda
  [sudo] password for user:
  create-sdcard-omapl13x.sh: 4: create-sdcard-omapl13x.sh: [[: not found
  Un mounting all the partitions...
  umount: /: target is busy
          (In some cases useful info about processes that
           use the device is found by lsof(8) or fuser(1).)
  1024+0 records in
  1024+0 records out
  1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0118966 s, 88.1 MB/s
  DISK SIZE - 274877906944 bytes
  sfdisk: invalid option -- 'D'

I found that the sfdisk command version is v2.27.1 and it dose not provide the -D option as followings

  $ sfdisk -v
  sfdisk from util-linux 2.27.1

  $ man sfdisk

  NOTES
         Since  version  2.26  sfdisk  does  not  provide  the   --DOS,   --IBM,
         --DOS-extended, --unhide, --show-extended, --cylinders, --heads, --sec‐
         tors, --inside-outer, --not-inside-outer options.

I'm not sure how to avoid the error.

Regards,
j-breeze


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>