================================================================================
Checking running system
==> Copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
==> lsblk:
----------------------------------------
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16 0 4M 1 disk
mmcblk1boot1 179:24 0 4M 1 disk
mmcblk0 179:0 0 29G 0 disk
`-mmcblk0p1 179:1 0 846M 0 part /
mmcblk1 179:8 0 3.6G 0 disk
`-mmcblk1p1 179:9 0 3.6G 0 part
----------------------------------------
==> df -h | grep rootfs:
----------------------------------------
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep'
==> Giving you time to check...
10 9 8 7 6 5 4 3 2 1
================================================================================
================================================================================
Preparing drives
----------------------------------------
==> Erasing: /dev/mmcblk1
----------------------------------------
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 8.97986 s, 12.6 MB/s
----------------------------------------
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 1.71958 s, 65.9 MB/s
----------------------------------------
==> Erasing: /dev/mmcblk1 complete
----------------------------------------
----------------------------------------
==> Loading /boot/SOC.sh
************************************************************
#!/bin/sh
format=1.0
board=beagle_x15
bootloader_location=dd_spl_uboot_boot
bootrom_gpt=
dd_spl_uboot_count=2
dd_spl_uboot_seek=1
dd_spl_uboot_conf=notrunc
dd_spl_uboot_bs=128k
dd_spl_uboot_backup=/opt/backup/uboot/MLO
dd_uboot_count=4
dd_uboot_seek=1
dd_uboot_conf=notrunc
dd_uboot_bs=384k
dd_uboot_backup=/opt/backup/uboot/u-boot.img
boot_fstype=ext4
conf_boot_startmb=4
conf_boot_endmb=
sfdisk_fstype=L
boot_label=BOOT
rootfs_label=rootfs
#Kernel
dtb=
serial_tty=ttyO2
usbnet_mem=
************************************************************
==> Loaded
----------------------------------------
================================================================================
Writing bootloader to [/dev/mmcblk1]
----------------------------------------
==> Figuring out options for SPL U-Boot copy ...
===> Will use : count=2 seek=1 conv=notrunc bs=128k
==> Figuring out options for U-Boot copy ...
===> Will use : count=4 seek=1 conv=notrunc bs=384k
==> Copying SPL U-Boot with dd if=/opt/backup/uboot/MLO of=/dev/mmcblk1 count=2 seekk
------------------------------------------------------------
0+1 records in
0+1 records out
122070 bytes (122 kB) copied, 0.0182185 s, 6.7 MB/s
------------------------------------------------------------
==> Copying U-Boot with dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk1 count=4 sk
------------------------------------------------------------
2+1 records in
2+1 records out
1042348 bytes (1.0 MB) copied, 0.150472 s, 6.9 MB/s
------------------------------------------------------------
Writing bootloader completed
================================================================================
================================================================================
Partitionning /dev/mmcblk1
----------------------------------------
==> sfdisk parameters:
sfdisk: [sfdisk from util-linux 2.25.2]
sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk1]
sfdisk: [4,,L,*]
==> Partitionning
------------------------------------------------------------
[ 43.171121] mmcblk1: p1
sfdisk: Checking that no-one is using this disk right now ...
sfdisk: OK
Disk /dev/mmcblk1: 116736 cylinders, 4 heads, 16 sectors/track
sfdisk: /dev/mmcblk1: unrecognized partition table type
Old situation:
sfdisk: No partitions found
New situation:
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 * 4 3647 3644 3731456 83 Linux
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
------------------------------------------------------------
==> Partitionning Completed
==> Generated Partitions:
------------------------------------------------------------
Disk /dev/mmcblk1: 116736 cylinders, 4 heads, 16 sectors/track
Units: cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk1p1 * 128 116735 116608 3731456 83 Linux
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
------------------------------------------------------------
================================================================================
================================================================================
Preparing future rootfs to receive files
----------------------------------------
==> Formatting rootfs with mkfs.ext4 -O ^metadata_csum,^64bit /dev/mmcblk1p1 -L roos
--------------------------------------------------------------------------------
mke2fs 1.43 (17-May-2016)
Discarding device blocks: done
Creating filesystem with 932864 4k blocks and 233392 inodes
Filesystem UUID: f1ba24df-0109-4b9b-8598-eb34ae259aca
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
--------------------------------------------------------------------------------
==> Formatting rootfs: /dev/mmcblk1p1 complete
==> Creating temporary rootfs directory (/tmp/rootfs)
==> Mounting /dev/mmcblk1p1 to /tmp/rootfs
[ 53.866332] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts:)
================================================================================
================================================================================
Copying: Current rootfs to /dev/mmcblk1p1
----------------------------------------
==> rsync: / -> /tmp/rootfs
----------------------------------------
[ 54.047765] random: nonblocking pool is initialized
----------------------------------------
==> Copying: Kernel modules
===> Creating directory for modules
===> rsync: /lib/modules/4.4.110-ti-r142/ -> /tmp/rootfs/lib/modules/4.4.110-ti-r142/
----------------------------------------
rsync: change_dir "/lib/modules/4.4.110-ti-r142" failed: No such file or directory ()
rsync error: some files/attrs were not transferred (see previous errors) (code 23) a]
writing to [/dev/mmcblk1] failed...
----------------------------------------