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

Linux/TDA2EVM5777: Preparing SD card failed

$
0
0

Part Number:TDA2EVM5777

Tool/software: Linux

Hello,

I am following section 4.2 from the Vision SDK 3.06.00.00 Linux User Guide on Ubuntu 16.04 LTS with a SanDisk 2 GB microSD card that was delivered to us with a TDA2x EVM.

I receive the following console output while executing instruction #4:

sagar@Sagar:~/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build$ sudo ./hlos/scripts/linux/mksdboot.sh --device /dev/mmcblk0p1 --appname apps --makeconfig tda2xx_evm_linux_all
[sudo] password for sagar: 
-- Main device is: /dev/nvme0n1p3
************************************************************
*         THIS WILL DELETE ALL THE DATA ON /dev/mmcblk0p1        *
*                                                          *
*         WARNING! Make sure your computer does not go     *
*                  in to idle mode while this script is    *
*                  running. The script will complete,      *
*                  but your SD card may be corrupted.      *
*                                                          *
*         Press <ENTER> to confirm....                     *
************************************************************

ls: cannot access '/dev/mmcblk0p1?': No such file or directory
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00369895 s, 283 MB/s

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x72cb2798.

Command (m for help): Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-3858488, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-3858488, default 3858488): 
Created a new partition 1 of type 'Linux' and of size 256 MiB.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (526336-3858488, default 526336): Last sector, +sectors or +size{K,M,G,T,P} (526336-3858488, default 3858488): 
Created a new partition 2 of type 'Linux' and of size 1.6 GiB.

Command (m for help): Partition number (1,2, default 2): Partition type (type L to list all types): 
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

Command (m for help): Partition number (1,2, default 2): 
The bootable flag on partition 1 is enabled now.

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Invalid argument

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

Press enter to continue.
./hlos/scripts/linux/mksdboot.sh: 156: read: arg count
Formating /dev/mmcblk0p11 ...
Cant find boot partition in /dev
mke2fs 1.42.13 (17-May-2015)
The file /dev/mmcblk0p1p2 does not exist and no size was specified.
Copying filesystem on /dev/mmcblk0p11,/dev/mmcblk0p12
mount: special device /dev/mmcblk0p11 does not exist

ERROR: executing mount /dev/mmcblk0p11 /tmp/sdk/4580/boot

sagar@Sagar:~/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build$

Please advise on how to resolve this problem. Thank you.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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