AnsweredAssumed Answered

LS1028ARDB sd boot Failed to start File System

Question asked by Jussi Viitala on Sep 12, 2019
Latest reply on Jun 29, 2020 by yu bai



I am tying to get LS1028A BSP to work b following this  documentation. I am using VirtualBox on Ubuntu 18.04 to write the sd card.


--- 3.1.3Download and assemble LS1028A BSP images


tar xvzf flexbuild_<version>.tgz
cd flexbuild
source setup.env






flex-builder -i mkrfs -a arm64


tar xvzf app_components_LS_arm64.tgz -C build/apps
sudo tar xvzf  lib_modules_LS_arm64_<kernel_version>.tgz -C build/rfs/rootfs_ubuntu_bionic_LS_arm64/lib/modules


flex-builder -c linux -a arm64    #Adviced here: for error " is not a symbolic link"


flex-builder -i merge-component -a arm64
flex-builder -i compressrfs -a arm64


--- 1 - Deploy LS1028A BSP images using removable storage device

Note: sdb is the sd card here.


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


    The old ext2 signature will be removed by a write command.


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


    Command (m for help): n
    Partition type
       p   primary (0 primary, 0 extended, 4 free)
       e   extended (container for logical partitions)
    Select (default p):


    Using default response p.
    Partition number (1-4, default 1):
    First sector (2048-30375935, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-30375935, default 30375935):


    Created a new partition 1 of type 'Linux' and of size 14,5 GiB.


    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.


sudo fdisk -l /dev/sdb
    Disk /dev/sdb: 14,5 GiB, 15552479232 bytes, 30375936 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xad3eeef6


    Device     Boot Start      End  Sectors  Size Id Type
    /dev/sdb1        2048 30375935 30373888 14,5G 83 Linux


sudo mkfs.ext2 /dev/sdb


flex-installer -b bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_ubuntu_bionic_LS_arm64_201908211259.tgz -f firmware_ls1028ardb_uboot_sdboot.img -d /dev/sdb 


# Boot didn't start if I didn't write the firmware also. There is GParted image of sd card partitions.


--- LS1028ARDB boot


When booting the board from SD card I start to get errors (whole boot sequence in attachment):

[FAILED] Failed to start File System Check on Root Device.

[FAILED] Failed to start Remount Root and Kernel File Systems.

[FAILED] Failed to start File System Check o…74cb4-486e-4869-a643-e283b08aec35.





This is how the sd card looks in GParted: