Disklabel type: dos
Disk identifier: 0x5a5f34b3
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15628287 15626240 7.5G 83 Linux
Format the card with mkfs
~# mkfs.ext2 /dev/mmcblk0p1
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: [ 37.611042] random: nonblocking pool is initialized
done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
488640 inodes, 1953280 blocks
97664 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2000683008
60 block groups
32768 blocks per group, 32768 fragments per group
8144 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
~#
Mount, read, and write
~# mount /dev/mmcblk0p1 /mnt/
~# ls /mnt/
lost+found
~# cp -r /lib /mnt/
~# sync
~# ls /mnt/
lib lost+found
~# umount /dev/mmcblk0p1
~# ls /mnt/
~#
Known Bugs, Limitations, or Technical Issues
1. Call trace of more than 120 seconds task blocking when running iozone to test card performance. This is not issue and
use below command to disable the warning.
echo 0 > /proc/sys/kernel/hung_task_timeout_secs
2. Layerscape boards could not provide a power cycle to SD card but according to SD specification, only a power cycle could
reset the SD card working on UHS-I speed mode. When the card is on UHS-I speed mode, this hardware problem may
cause unexpected result after board reset. The workaround is using power off/on instead of reset when using SD UHS-I
card.
Device Drivers
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
47
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......