I have tried multiple times to install the SDK on sdcard using sudo ./create_sdcard.sh as per the instructions provided in the Getting Started Guide.
I have also followed along a u-tube tutorial which follows the exact same steps. I have tried on two different brand new SanDisk 16Gb sd cards and the result is always the same. Cannot boot my AM3358 Starter Kit .
If I try to check the file contents in the file explorer I get the following message on the rootfs partition: Error mounting /dev/sdb2 at /media/edward/rootfs: mount (2) system call failed: structure needs cleaning
I am using a linux host machine with unbuntu 18.04 LTS and sdk 06.01.08.00
I cannot find any solutions on the forum, and according to the user guide my system is compatible
Could you please advise on what the potential issue is and how I can fix this, Would love to get this resolve so I can move onto creating a custom image. I have included the output from the terminal below.
################################################################################
This script will create a bootable SD card from custom or pre-built binaries.
The script must be run with root permissions and from the bin directory of
the SDK
Example:
$ sudo ./create-sdcard.sh
Formatting can be skipped if the SD card is already formatted and
partitioned properly.
################################################################################
Available Drives to write images to:
# major minor size name
1: 8 16 15975424 sdb
Enter Device Number or n to exit: 1
sdb was selected
/dev/sdb is an sdx device
Unmounting the sdb drives
unmounted /dev/sdb1
Current size of sdb1 71680 bytes
Current size of sdb2 15886336 bytes
################################################################################
Select 2 partitions if only need boot and rootfs (most users).
Select 3 partitions if need SDK & other content on SD card. This is
usually used by device manufacturers with access to partition tarballs.
****WARNING**** continuing will erase all data on sdb
################################################################################
Number of partitions needed [2/3] : 2
Now partitioning sdb with 2 partitions...
################################################################################
Now making 2 partitions
################################################################################
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.460311 s, 2.3 MB/s
DISK SIZE - 16358834176 bytes
################################################################################
Partitioning Boot
################################################################################
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.vfat: unable to open /dev/sdb1: No such file or directory
################################################################################
Partitioning rootfs
################################################################################
mke2fs 1.44.1 (24-Mar-2018)
/dev/sdb2 contains a ext3 file system labelled 'rootfs'
last mounted on Sun Mar 15 17:37:48 2020
Proceed anyway? (y,N) y
Creating filesystem with 3971584 4k blocks and 993568 inodes
Filesystem UUID: c86fad17-72b1-484a-b26f-4e8c358ef285
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
################################################################################
Partitioning is now done
Continue to install filesystem or select 'n' to safe exit
**Warning** Continuing will erase files any files in the partitions
################################################################################
Would you like to continue? [y/n] : y
Mount the partitions
mount: /home/edward/ti-processor-sdk-linux-am335x-evm-06.01.00.08/bin/rootfs: mount(2) system call failed: Structure needs cleaning.
Emptying partitions
Syncing....
################################################################################
Choose file path to install from
1 ) Install pre-built images from SDK
2 ) Enter in custom boot and rootfs file paths
################################################################################
Choose now [1/2] : 1
Will now install from SDK pre-built images
now installing: ti-processor-sdk-linux-am335x-evm-06.01.00.08
################################################################################
Multiple rootfs Tarballs found
################################################################################
1:tisdk-rootfs-image-am335x-evm.tar.xz
2:tisdk-docker-rootfs-image-am335x-evm.tar.xz
Enter Number of rootfs Tarball: 1
################################################################################
Copying files now... will take minutes
################################################################################
Copying boot partition
MLO copied
u-boot.img copied
Copying rootfs System partition
Syncing...
Un-mount the partitions
umount: rootfs: not mounted.
Remove created temp directories
Operation Finished