Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

Linux/AM6548: Unable to Mount Rootfs to SD Card

Part Number: AM6548

Tool/software: Linux

Hi Processors team,

My customer is trying to get Processor SDK up and running, and when they mount their SD card by following the steps outlined in 1.1.3 of the users guide, they get a "rootfs" not mounted error(see screenshot). Their SD card is 64GB and they have a 1GB boot partition. Do you know what could be causing this issue?

Thanks,
Barend

  • Hi Barend,

    When I try to create SD card with AM65x PSDK Linux v5.03, I am able to do it with 8GB SD card and docker rootfs.Please see the full log I have on my side:

    sd_card_script.txt
    pbotev@lin-0306:~/ti-processor-sdk-linux-am65xx-evm-05.03.00.07/bin$ sudo ./create-sdcard.sh
    
    ################################################################################
    
    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        0  488386584 sda
    2:   8       16    7761920 sdb
     
    Enter Device Number or n to exit: 2
    
    sdb was selected
    
    /dev/sdb is an sdx device
    Unmounting the sdb drives
     unmounted /dev/sdb1
     unmounted /dev/sdb2
    Current size of sdb1 71680 bytes
    Current size of sdb2 7672832 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.25297 s, 4.1 MB/s
    DISK SIZE - 7948206080 bytes
    
    ################################################################################
    
    		Partitioning Boot
    
    ################################################################################
    mkfs.fat 3.0.28 (2015-05-16)
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    /dev/sdb1: No such file or directory
    
    ################################################################################
    
    		Partitioning rootfs
    
    ################################################################################
    mke2fs 1.42.13 (17-May-2015)
    /dev/sdb2 contains a ext3 file system labelled 'rootfs'
    	last mounted on Tue May 14 10:35:16 2019
    Proceed anyway? (y,n) y
    Creating filesystem with 1918208 4k blocks and 479552 inodes
    Filesystem UUID: 70f1731d-060b-4d6c-abaa-0da1413e4434
    Superblock backups stored on blocks: 
    	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
    
    Allocating group tables: done                            
    Writing inode tables: done                            
    Creating journal (32768 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 
     
    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-am65xx-evm-05.03.00.07
    
    ################################################################################
    
       Multiple rootfs Tarballs found
    
    ################################################################################
    
    	 1:tisdk-docker-rootfs-image-am65xx-evm.tar.xz
    	 2:tisdk-rootfs-image-am65xx-evm.tar.xz
    
    Enter Number of rootfs Tarball: 1
    
    ################################################################################
    
    	Copying files now... will take minutes
    
    ################################################################################
    
    Copying boot partition
    
    
    
    tispl.bin copied
    
    
    tiboot3.bin copied
    
    
    sysfw.itb copied
    
    
    u-boot.img copied
    
    uEnv.txt copied
    
    Copying rootfs System partition
                                                                                                                                                           
    
    Syncing...
     
    Un-mount the partitions 
     
    Remove created temp directories 
     
    Operation Finished
     
    
    
    
    
    

    I am using: 8GB SD card and Ubuntu 16.04 LTS 64-bit host machine.

    Make sure you are following section 1.1.1. Linux SD Card Creation Guide of the user guide.

    Note also that if you need full rootfs, you should select "2 tisdk-rootfs-image-am65xx-evm.tar.xz" and use at least 16GB SD card. Check below section for rootfs info:

    If you still have issues, please provide me the log with all your steps when running create-sdcard.sh script. Provide me also what is your host OS.

    Regards,
    Pavel