Hello...
I just got LS1043ARDB and tried to follow the steps described in Layerscape SDK user guide
to create and format my SD on reference board.
I inserted my SD card in the slot of front chassis and I was able to find mmcblk0, mmcblk0p1 by a command as described in section
• To deploy custom LSDK images on a reference board running TinyLinux.
cat /proc/partitions
Also mmcblk0, mmcblk0p1 were there when I checked by
ls -al /dev/mmcblk*
Here is the screenshot
root@TinyDistro:~# cat /proc/partitions
31 11 1024 mtdblock11
31 12 9216 mtdblock12
179 0 7830528 mmcblk0
179 1 7829504 mmcblk0p1
root@TinyDistro:~# ls -al /dev/mmcblk*
brw-rw---- 1 root disk 179, 0 Feb 22 00:48 /dev/mmcblk0
brw-rw---- 1 root disk 179, 1 Feb 22 00:48 /dev/mmcblk0p1
root@TinyDistro:~#
I ran flex_installer -i pf...blabla.
But to my disappointment, TinyDistro spit out following error messge.
root@TinyDistro:~# flex-installer -i pf -d /dev/mmcblk0
instruction: pf
BusyBox v1.23.2 (2017-07-11 15:08:34 CST) multi-call binary.
Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Partitioning /dev/ ...
Welcome to fdisk (util-linux 2.26.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/: Is a directory
And I can't see anything in /mnt/ directory where my mmcblk0 is supposed to be placed.
Anyone possibly help me out...
Many thanks in advance...
Solved! Go to Solution.
Please download LSDK 21.08 TinyLinux image with the following command.
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb
Please refer to my verification, there is no problem.
root@TinyLinux:~/flexbuild_lsdk2108# flex-installer -i pf -d /dev/mmcblk0
/dev/mmcblk0: 15 GB
Partitioning /dev/mmcblk0 ...
[ 369.183771] udevd[533]: inotify_add_watch(6, /dev/mmcblk0p1, 10) failed: No such file or directory
[ 369.184056] udevd[531]: inotify_add_watch(6, /dev/mmcblk0p2, 10) failed: No such file or directory
[ 369.225702] mmcblk0:
Formatting partitions ...
/dev/mmcblk0p1 contains a ext4 file system labelled 'misc'
last mounted on Thu Jan 1 00:00:13 1970
[ 389.491108] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 389.499258] ext4 filesystem being mounted at /mnt/mmcblk0p1 supports timestamps until 2038 (0x7fffffff)
[ 389.594989] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 389.682798] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 389.776937] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
Model: SD SE16G (sd/mmc)
Disk /dev/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 71.3MB 206MB 134MB primary ext4
2 207MB 2354MB 2147MB primary ext4
3 2355MB 7724MB 5369MB primary ext4
4 7725MB 15.9GB 8207MB primary ext4
partition and format /dev/mmcblk0 [Done]
root@TinyLinux:~/flexbuild_lsdk2108# fdisk --version
fdisk from util-linux 2.36.2
Please download LSDK 21.08 TinyLinux image with the following command.
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb
Please refer to my verification, there is no problem.
root@TinyLinux:~/flexbuild_lsdk2108# flex-installer -i pf -d /dev/mmcblk0
/dev/mmcblk0: 15 GB
Partitioning /dev/mmcblk0 ...
[ 369.183771] udevd[533]: inotify_add_watch(6, /dev/mmcblk0p1, 10) failed: No such file or directory
[ 369.184056] udevd[531]: inotify_add_watch(6, /dev/mmcblk0p2, 10) failed: No such file or directory
[ 369.225702] mmcblk0:
Formatting partitions ...
/dev/mmcblk0p1 contains a ext4 file system labelled 'misc'
last mounted on Thu Jan 1 00:00:13 1970
[ 389.491108] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 389.499258] ext4 filesystem being mounted at /mnt/mmcblk0p1 supports timestamps until 2038 (0x7fffffff)
[ 389.594989] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 389.682798] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 389.776937] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
Model: SD SE16G (sd/mmc)
Disk /dev/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 71.3MB 206MB 134MB primary ext4
2 207MB 2354MB 2147MB primary ext4
3 2355MB 7724MB 5369MB primary ext4
4 7725MB 15.9GB 8207MB primary ext4
partition and format /dev/mmcblk0 [Done]
root@TinyLinux:~/flexbuild_lsdk2108# fdisk --version
fdisk from util-linux 2.36.2
Many thanks,
I made it.....