Erasing: /dev/mmcblk0
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 9.71981 s, 11.7 MB/s
[ 20.645095] random: nonblocking pool is initialized
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 5.45552 s, 20.8 MB/s
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
-----------------------------
0+1 records in
0+1 records out
65764 bytes (66 kB) copied, 0.0113357 s, 5.8 MB/s
-----------------------------
dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k
-----------------------------
0+1 records in
0+1 records out
350196 bytes (350 kB) copied, 0.0682698 s, 5.1 MB/s
-----------------------------
Formatting: /dev/mmcblk0
sfdisk: [sfdisk from util-linux 2.25.2]
sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk0]
sfdisk: [1,,L,*]
sfdisk: Checking that no-one is using this disk right now ...
sfdisk: OK
Disk /dev/mmcblk0: 242560 cylinders, 4 heads, 16 sectors/track
sfdisk: /dev/mmcblk0: unrecognized partition tabl[ 26.238302] mmcblk0: p1
e 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/mmcblk0p1 * 1 7579 7579 7760896 83 Linux
/dev/mmcblk0p2 0 - 0 0 0 Empty
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 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 /dev/mmcblk0p1 -L BOOT
-----------------------------
mke2fs 1.43 (17-May-2016)
Discarding device blocks: 4096/1940224 528384/1940224 1052672/1940224 1576960/1940224 done
Creating filesystem with 1940224 4k blocks and 485760 inodes
Filesystem UUID: d5999751-931a-416f-9aaa-7f507927b188
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: 0/60 done
Writing inode tables: 0/60 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/60 done
-----------------------------
Formatting: /dev/mmcblk0 complete
-----------------------------
Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1
[ 53.013428] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
rsync: / -> /tmp/rootfs/
Copying: Kernel modules
rsync: /lib/modules/4.4.9-ti-r25/ -> /tmp/rootfs/lib/modules/4.4.9-ti-r25/
Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1 complete
-----------------------------
Final System Tweaks:
UUID=d5999751-931a-416f-9aaa-7f507927b188
Generating: /etc/fstab
# /etc/fstab: static file system information.
#
UUID=d5999751-931a-416f-9aaa-7f507927b188 / ext4 noatime,errors=remount-ro 0 1
debugfs /sys/kernel/debug debugfs defaults 0 0
/boot/uEnv.txt: disabling eMMC flasher script
uname_r=4.4.9-ti-r25
###uuid=3b35d211-8feb-4efb-96e4-a2e18824a0a4
#dtb=
##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)
##BeagleBone Black: HDMI (Audio/Video) disabled:
#dtb=am335x-boneblack-emmc-overlay.dtb
##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb
##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb
##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
#dtb=am335x-boneblack-overlay.dtb
##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb
##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.dtb
cmdline=coherent_pool=1M quiet cape_universal=enable
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1:1024x768@60e
##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=
##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=
##enable BBG: eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh
##uuid=f78a2c6d-7772-4c3d-8cd9-a438dedb3e8c
#uuid=2b96442f-bc55-493c-8e3d-4c599d12fbad
uuid=d5999751-931a-416f-9aaa-7f507927b188
-----------------------------
running: chroot /tmp/rootfs/ /usr/bin/bb-wl18xx-wlan0
-----------------------------
lsmod
Module Size Used by
wl18xx 86482 0
wlcore 189892 1 wl18xx
mac80211 486884 2 wl18xx,wlcore
cfg80211 418909 3 mac80211,wl18xx,wlcore
rfkill 18276 1 cfg80211
-----------------------------
eeprom=[2C:F7:F1:06:5A:D2]
/lib/firmware/ti-connectivity/wl1271-nvs.bin=[2C:F7:F1:06:5A:D2]
-----------------------------
initrd: -rw-r--r-- 1 root root 4.7M May 7 2017 /tmp/rootfs/boot/initrd.img-4.4.9-ti-r25
-----------------------------
Syncing: /dev/mmcblk0
/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh: line 350: 167 Terminated cylon_leds
100000+0 records in
100000+0 records out
51200000 bytes (51 MB) copied, 2.41636 s, 21.2 MB/s
Syncing: /dev/mmcblk0 complete
-----------------------------
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=59251,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=100784k,mode=755)
/dev/mmcblk1p1 on / type ext4 (ro,relatime,data=ordered)
eMMC has been flashed: please wait for device to power down.
-----------------------------
[ 527.219222] systemd[1]: System time before build time, advancing clock.
[ 527.228425] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[ 527.269875] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 527.288686] systemd[1]: Detected architecture arm.
Welcome to [1mDebian GNU/Linux 8 (jessie) [0m!
[ 527.302551] systemd[1]: Set hostname to <beaglebone>.
[ 527.835972] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ [0;32m OK [0m] Started Forward Password Requests to Wall Directory Watch.
[ 527.858032] systemd[1]: Listening on Syslog Socket.
[ [0;32m OK [0m] Listening on Syslog Socket.
[ 527.869991] systemd[1]: Listening on Journal Socket.
[ [0;32m OK [0m] Listening on Journal Socket.
[ 527.881749] systemd[1]: Reached target Encrypted Volumes.
[ [0;32m OK [0m] Reached target Encrypted Volumes.
[ 527.893679] systemd[1]: Reached target Swap.
[ [0;32m OK [0m] Reached target Swap.
[ 527.906441] systemd[1]: Created slice User and Session Slice.
[ [0;32m OK [0m] Created slice User and Session Slice.
[ 527.926364] systemd[1]: Listening on Journal Audit Socket.
[ [0;32m OK [0m] Listening on Journal Audit Socket.
[ 527.939131] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ [0;32m OK [0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[ 527.961925] systemd[1]: Listening on fsck to fsckd communication Socket.
[ [0;32m OK [0m] Listening on fsck to fsckd communication Socket.
[ 527.982388] systemd[1]: Created slice System Slice.
[ [0;32m OK [0m] Created slice System Slice.
[ 527.994964] systemd[1]: Created slice system-getty.slice.
[ [0;32m OK [0m] Created slice system-getty.slice.
[ 528.013800] systemd[1]: Reached target Slices.
[ [0;32m OK [0m] Reached target Slices.
[ 528.031247] systemd[1]: Mounting /sys/kernel/debug...
Mounting /sys/kernel/debug...
[ 528.057326] systemd[1]: Starting LSB: Setup /var/run/katana directory...
Starting LSB: Setup /var/run/katana directory...
[ 528.144447] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 528.210033] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 528.298345] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ [0;32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
[ 528.322494] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 528.331822] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ [0;32m OK [0m] Started Dispatch Password Requests to Console Directory Watch.
[ 528.354053] systemd[1]: Reached target Paths.
[ [0;32m OK [0m] Reached target Paths.
[ 528.386367] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 528.430319] systemd[1]: Listening on Journal Socket (/dev/log).
[ [0;32m OK [0m] Listening on Journal Socket (/dev/log).
[ 528.453979] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 528.474969] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ [0;32m OK [0m] Created slice system-serial\x2dgetty.slice.
[ 528.506100] systemd[1]: Reached target Remote File Systems (Pre).
[ [0;32m OK [0m] Reached target Remote File Systems (Pre).
[ 528.525919] systemd[1]: Reached target Remote File Systems.
[ [0;32m OK [0m] Reached target Remote File Systems.
[ 528.546138] systemd[1]: Listening on udev Kernel Socket.
[ [0;32m OK [0m] Listening on udev Kernel Socket.
[ 528.572767] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 528.606287] systemd[1]: Listening on udev Control Socket.
[ [0;32m OK [0m] Listening on udev Control Socket.
[ 528.675255] systemd[1]: Mounted POSIX Message Queue File System.
[ [0;32m OK [0m] Mounted POSIX Message Queue File System.
[ 528.718045] systemd[1]: Mounted /sys/kernel/debug.
[ [0;32m OK [0m] Mounted /sys/kernel/debug.
[ 528.738650] systemd[1]: Started Journal Service.
[ [0;32m OK [0m] Started Journal Service.
[ [0;32m OK [0m] Started Remount Root and Kernel File Systems.
[ [0;32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
[ [0;32m OK [0m] Started Load Kernel Modules.
Mounting Configuration File System...
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
Starting Create Static Device Nodes in /dev...
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
Starting Flush Journal to Persistent Storage...
[ [0;32m OK [0m] Mounted Configuration File System.
[ [0;32m OK [0m] Mounted FUSE Control File System.
[ [0;32m OK [0m] Started LSB: Setup /var/run/katana directory.
[ [0;32m OK [0m] Started Apply Kernel Variables.
[ [0;32m OK [0m] Started Create Static Device Nodes in /dev.
[ [0;32m OK [0m] Started Load/Save Random Seed.
[ 529.438105] systemd-journald[4725]: Received request to flush runtime journal from PID 1
[ [0;32m OK [0m] Reached target Local File Systems (Pre).
[ [0;32m OK [0m] Reached target Local File Systems.
Starting udev Kernel Device Manager...
[ [0;32m OK [0m] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ [0;32m OK [0m] Started udev Kernel Device Manager.
Starting LSB: Tune IDE hard disks...
[ [0;32m OK [0m] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ [0;32m OK [0m] Started Update UTMP about System Boot/Shutdown.
[ [0;32m OK [0m] Started Network Time Synchronization.
[ [0;32m OK [0m] Reached target System Time Synchronized.
[ [0;32m OK [0m] Started LSB: Tune IDE hard disks.
[ [0;32m OK [0m] Started udev Coldplug all Devices.
[ [0;32m OK [0m] Reached target System Initialization.
Starting Restore Sound Card State...
[ [0;32m OK [0m] Started Daily Cleanup of Temporary Directories.
[ [0;32m OK [0m] Reached target Timers.
[ [0;32m OK [0m] Listening on D-Bus System Message Bus Socket.
[ [0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ [0;32m OK [0m] Listening on node-red.socket.
[ [0;32m OK [0m] Listening on cloud9.socket.
[ [0;32m OK [0m] Reached target Sockets.
[ [0;32m OK [0m] Reached target Basic System.
Starting Avahi mDNS/DNS-SD Stack...
[ [0;32m OK [0m] Started D-Bus System Message Bus.
[ [0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
Starting Connection service...
Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
[ [0;32m OK [0m] Started wifidog gateway Service.
[ [0;32m OK [0m] Started Regular background program processing daemon.
Starting Login Service...
[ [0;32m OK [0m] Started Deferred execution scheduler.
Starting Cape Manager Service...
Starting Generic Board Startup...
[ [0;32m OK [0m] Started Entropy daemon using the HAVEGE algorithm.
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[ [0;32m OK [0m] Started Pulse Audio.
Starting LSB: Start busybox udhcpd at boot time...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting System Logging Service...
[ [0;32m OK [0m] Started Restore Sound Card State.
[ [0;32m OK [0m] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[ [0;32m OK [0m] Started Cape Manager Service.
[ [0;32m OK [0m] Started System Logging Service.
[ [0;32m OK [0m] Started LSB: Start busybox udhcpd at boot time.
[ [0;32m OK [0m] Started Connection service.
[ [0;32m OK [0m] Started Login Service.
[ [0;32m OK [0m] Stopped Generic Board Startup.
[ [0;32m OK [0m] Stopped target Timers.
[ [0;32m OK [0m] Reached target Unmount All Filesystems.
Starting Store Sound Card State...
[ [0;32m OK [0m] Stopped Daily Cleanup of Temporary Directories.
Stopping Entropy daemon using the HAVEGE algorithm...
Stopping Login Service...
Stopping Regular background program processing daemon...
Stopping Deferred execution scheduler...
Stopping LSB: Start busybox udhcpd at boot time...
[ [0;32m OK [0m] Stopped wifidog gateway Service.
[ [0;32m OK [0m] Stopped target System Time Synchronized.
Stopping Avahi mDNS/DNS-SD Stack...
Stopping System Logging Service...
Stopping Pulse Audio...
[ [0;32m OK [0m] Removed slice system-serial\x2dgetty.slice.
Stopping Connection service...
[ [0;32m OK [0m] Removed slice system-getty.slice.
[ [0;32m OK [0m] Stopped Avahi mDNS/DNS-SD Stack.
[ [0;32m OK [0m] Stopped Regular background program processing daemon.
[ [0;32m OK [0m] Stopped Login Service.
[ [0;32m OK [0m] Stopped Connection service.
[ [0;32m OK [0m] Stopped Deferred execution scheduler.
[ [0;32m OK [0m] Stopped Entropy daemon using the HAVEGE algorithm.
[ [0;32m OK [0m] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ [0;32m OK [0m] Stopped Pulse Audio.
[ [0;32m OK [0m] Stopped System Logging Service.
[ [0;32m OK [0m] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ [0;1;31mFAILED [0m] Failed to start Store Sound Card State.
See 'systemctl status alsa-store.service' for details.
[ [0;32m OK [0m] Stopped LSB: Start busybox udhcpd at boot time.
[ [0;32m OK [0m] Stopped target Remote File Systems.
[ [0;32m OK [0m] Stopped target Remote File Systems (Pre).
Stopping D-Bus System Message Bus...
[ [0;32m OK [0m] Stopped D-Bus System Message Bus.
[ [0;32m OK [0m] Stopped target Basic System.
[ [0;32m OK [0m] Stopped target Paths.
[ [0;32m OK [0m] Stopped Forward Password Requests to Wall Directory Watch.
[ [0;32m OK [0m] Stopped Dispatch Password Requests to Console Directory Watch.
[ [0;32m OK [0m] Stopped target Sockets.
[ [0;32m OK [0m] Closed Syslog Socket.
[ [0;32m OK [0m] Closed cloud9.socket.
[ [0;32m OK [0m] Closed node-red.socket.
[ [0;32m OK [0m] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ [0;32m OK [0m] Stopped target Slices.
[ [0;32m OK [0m] Removed slice User and Session Slice.
[ [0;32m OK [0m] Closed D-Bus System Message Bus Socket.
[ [0;32m OK [0m] Stopped target System Initialization.
Stopping Network Time Synchronization...
[ [0;32m OK [0m] Stopped target Encrypted Volumes.
[ [0;32m OK [0m] Stopped Apply Kernel Variables.
[ [0;32m OK [0m] Stopped Load Kernel Modules.
Stopping Load/Save Random Seed...
[ [0;32m OK [0m] Stopped target Swap.
[ [0;32m OK [0m] Stopped Network Time Synchronization.
[ [0;32m OK [0m] Stopped Create Volatile Files and Directories.
[ [0;32m OK [0m] Stopped target Local File Systems.
[ [0;32m OK [0m] Stopped target Local File Systems (Pre).
[ [0;32m OK [0m] Stopped Create Static Device Nodes in /dev.
[ [0;32m OK [0m] Stopped Load/Save Random Seed.
[ [0;32m OK [0m] Stopped Remount Root and Kernel File Systems.
[ [0;32m OK [0m] Reached target Shutdown.
[ [0;32m OK [0m] Reached target Final Step.
Starting Power-Off...
[ 535.520513] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 535.563341] systemd-journald[4725]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 535.591039] systemd-udevd[4772]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.603691] systemd-udevd[4776]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.618414] systemd-udevd[4769]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.630530] systemd-udevd[4803]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.644475] systemd-udevd[4766]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.656310] systemd-udevd[4801]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[ 535.685811] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 535.710015] systemd-shutdown[1]: Unmounting file systems.
[ 535.716802] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'.
[ 535.764903] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro,data=ordered
[ 535.879852] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'.
[ 535.890508] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro,data=ordered
[ 535.898177] systemd-shutdown[1]: All filesystems unmounted.
[ 535.903865] systemd-shutdown[1]: Deactivating swaps.
[ 535.909251] systemd-shutdown[1]: All swaps deactivated.
[ 535.914635] systemd-shutdown[1]: Detaching loop devices.
[ 535.922789] systemd-shutdown[1]: All loop devices detached.
[ 535.928563] systemd-shutdown[1]: Detaching DM devices.
[ 535.934398] systemd-shutdown[1]: All DM devices detached.
[ 535.950335] systemd-shutdown[1]: Powering off.
[ 535.980972] musb-hdrc musb-hdrc.1.auto: remove, state 4
[ 535.986308] usb usb1: USB disconnect, device number 1
[ 535.991404] usb 1-1: USB disconnect, device number 2
[ 535.998053] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered
[ 536.004724] reboot: Power down
[ 536.007965] System will go to power_off state in approx. 1 second