ADMIN: received microSD_write ----------------------------- KiwiSDR: copy eMMC image to micro-SD card Version: [1.20151007: gpt partitions with raw boot...] ----------------------------- include /root/Beagle_SDR_GPS/tools/kiwiSDR-SOC.sh ----------------------------- '/root/Beagle_SDR_GPS/tools/kiwiSDR-init-eMMC-flasher-v3.sh' -> '/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh' ----------------------------- ext4_options: -c -O ^metadata_csum,^64bit ----------------------------- Unmounting Partitions ----------------------------- copying: [/dev/mmcblk1] -> [/dev/mmcblk0] lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk1 179:0 0 14.6G 0 disk mmcblk1p1 179:1 0 14.6G 0 part / mmcblk1boot0 179:8 0 4M 1 disk mmcblk1boot1 179:16 0 4M 1 disk mmcblk1rpmb 179:24 0 4M 0 disk mmcblk0 179:32 0 14.7G 0 disk mmcblk0p1 179:33 0 1.5G 0 part ----------------------------- df -h | grep rootfs: ----------------------------- actual rootfs size = 4756M setting micro-SD partition size to actual rootfs size + 200M = 4956M update-initramfs: Generating /boot/initrd.img-4.14.108-ti-r137 Erasing: /dev/mmcblk0 Erasing: /dev/mmcblk0 complete ----------------------------- Writing bootloader to [/dev/mmcblk0] dd if=/opt/backup/uboot/MLO of=/dev/mmcblk0 count=1 seek=1 conv=notrunc bs=128k ----------------------------- ----------------------------- dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k ----------------------------- ----------------------------- Formatting: /dev/mmcblk0 sfdisk: [2.26.x or greater] sfdisk: [sfdisk from util-linux 2.29.2] sfdisk: [sfdisk --force /dev/mmcblk0] sfdisk: [1M,4956,L,*] Checking that no-one is using this disk right now ... OK Disk /dev/mmcblk0: 14.7 GiB, 15728640000 bytes, 30720000 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 >>> Created a new DOS disklabel with disk identifier 0xd5063872. /dev/mmcblk0p1: Created a new partition 1 of type 'Linux' and of size 2.4 MiB. /dev/mmcblk0p2: Done. New situation: Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 7003 4956 2.4M 83 Linux The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. mkfs.ext4 -c -O ^metadata_csum,^64bit /dev/mmcblk0p1 -L KIWISDR ----------------------------- Discarding device blocks: 1024/2476 done Creating filesystem with 2476 1k blocks and 312 inodes Allocating group tables: 0/1 done Writing inode tables: 0/1 done Creating journal (1024 blocks): done Writing superblocks and filesystem accounting information: 0/1 done ----------------------------- Formatting: /dev/mmcblk0 complete ----------------------------- Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1 rsync: / -> /tmp/rootfs/ writing to [/dev/mmcblk0] failed... ----------------------------- write failure error code 15 ADMIN: system returned 1