Just double checked ^... seems to be working correctly...
[ 3.483814] remoteproc0: powering up wkup_m3
[ 3.488330] remoteproc0: Booting fw image am335x-pm-firmware.elf,
size 217148
[ 3.495902] remoteproc0: remote processor wkup_m3 is now up
[ 3.501611] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ 3.514132] bone_capemgr bone_capemgr: Baseboard:
'A335BNLT,GW1A,BBGW16055517'
-----------------------------
Starting eMMC Flasher from microSD media
Version: [1.20160909: u-boot 1MB -> 4MB hole...]
-----------------------------
Checking for Valid bbgw-eeprom header
Valid bbgw-eeprom header found [335]
-----------------------------
copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16 0 2M 1 disk
mmcblk1boot1 179:24 0 2M 1 disk
mmcblk0 179:0 0 7.4G 0 disk
`-mmcblk0p1 179:1 0 3.3G 0 part /
mmcblk1 179:8 0 3.7G 0 disk
`-mmcblk1p1 179:9 0 3.7G 0 part
-----------------------------
df -h | grep rootfs:
df: cannot read table of mounted file systems: No such file or directory
-----------------------------
Erasing: /dev/mmcblk1
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 9.48847 s, 11.9 MB/s
[ 28.416409] random: nonblocking pool is initialized
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 2.88258 s, 39.3 MB/s
Erasing: /dev/mmcblk1 complete
-----------------------------
Writing bootloader to [/dev/mmcblk1]
dd if=/opt/backup/uboot/MLO of=/dev/mmcblk1 count=1 seek=1 conv=notrunc bs=128k
-----------------------------
0+1 records in
0+1 records out
69124 bytes (69 kB) copied, 0.0170685 s, 4.0 MB/s
-----------------------------
dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk1 count=2 seek=1
conv=notrunc bs=384k
-----------------------------
0+1 records in
0+1 records out
375108 bytes (375 kB) copied, 0.0588013 s, 6.4 MB/s
-----------------------------
Formatting: /dev/mmcblk1
sfdisk: [sfdisk from util-linux 2.25.2]
sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk1]
sfdisk: [4,,L,*]
sfdisk: Checking that no-one is using thi[ 30.433117] mmcblk1: p1
s disk right now ...
sfdisk: OK
Disk /dev/mmcblk1: 119296 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 3727 3724 3813376 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).)
mkfs.ext4 -c -O ^metadata_csum,^64bit /dev/mmcblk1p1 -L rootfs
-----------------------------
mke2fs 1.43 (17-May-2016)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to
missing mtab file while determining whether /dev/mmcblk1p1 is mounted.
Discarding device blocks: done
Creating filesystem with 953344 4k blocks and 238560 inodes
Filesystem UUID: e70fe1ee-d0b6-4302-b91b-df0b2b55248d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Regards,
--
Robert Nelson
https://rcn-ee.com/