Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@arm:/opt/scripts/tools/eMMC# ./init-eMMC-flasher-v2.sh
- Valid EEPROM header found
- -----------------------------
- debug copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- mmcblk1boot0 179:16 0 1M 1 disk
- mmcblk1boot1 179:24 0 1M 1 disk
- mmcblk0 179:0 0 7.4G 0 disk
- ├─mmcblk0p1 179:1 0 12M 0 part /boot/uboot
- └─mmcblk0p2 179:2 0 7.4G 0 part /
- mmcblk1 179:8 0 1.8G 0 disk
- ├─mmcblk1p1 179:9 0 96M 0 part
- └─mmcblk1p2 179:10 0 1.7G 0 part
- -----------------------------
- Erasing: /dev/mmcblk1
- 108+0 records in
- 108+0 records out
- 113246208 bytes (113 MB) copied, 19.2737 s, 5.9 MB/s
- 108+0 records in
- 108+0 records out
- 113246208 bytes (113 MB) copied, 4.23134 s, 26.8 MB/s
- Formatting: /dev/mmcblk1
- Checking that no-one is using this disk right now ...
- OK
- Disk /dev/mmcblk1: 58624 cylinders, 4 heads, 16 sectors/track
- sfdisk: ERROR: sector 3069065693 does not have an msdos signature
- /dev/mmcblk1: unrecognized partition table type
- Old situation:
- No partitions found
- New situation:
- Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End MiB #blocks Id System
- /dev/mmcblk1p1 * 1 96 96 98304 e W95 FAT16 (LBA)
- /dev/mmcblk1p2 97 1831 1735 1776640 83 Linux
- /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 ...
- 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).)
- /dev/mmcblk1p1 * 2048 198655 98304 e W95 FAT16 (LBA)
- mkfs.vfat 3.0.13 (30 Jun 2012)
- mke2fs 1.42.5 (29-Jul-2012)
- ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk1p2 is mounted.
- Discarding device blocks: done
- Filesystem label=rootfs
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- Stride=0 blocks, Stripe width=0 blocks
- 111104 inodes, 444160 blocks
- 22208 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=457179136
- 14 block groups
- 32768 blocks per group, 32768 fragments per group
- 7936 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912
- Allocating group tables: done
- Writing inode tables: done
- Creating journal (8192 blocks): done
- Writing superblocks and filesystem accounting information: done
- Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
- `/boot/uboot/MLO' -> `/tmp/boot/MLO'
- `/boot/uboot/u-boot.img' -> `/tmp/boot/u-boot.img'
- rsync: /boot/uboot/ -> /tmp/boot/
- Copying: /dev/mmcblk0p2 -> /dev/mmcblk1p2
- rsync: / -> /tmp/rootfs/
- Copying: Kernel modules
- rsync: /lib/modules/3.15.10-bone8/ -> /tmp/rootfs/lib/modules/3.15.10-bone8/
- /boot/uEnv.txt: disabling flasher script
- uname_r=3.15.10-bone8
- cmdline=quiet init=/lib/systemd/systemd
- mmcroot=UUID=f2de5414-b31f-41f5-b68b-f56b439a54e8
- Generating: /etc/fstab
- # /etc/fstab: static file system information.
- #
- # Auto generated by: beaglebone-black-eMMC-flasher.sh
- #
- UUID=f2de5414-b31f-41f5-b68b-f56b439a54e8 / ext4 noatime,errors=remount-ro 0 1
- debugfs /sys/kernel/debug debugfs defaults 0 0
- Syncing: /dev/mmcblk1
- 100000+0 records in
- 100000+0 records out
- 51200000 bytes (51 MB) copied, 1.86873 s, 27.4 MB/s
- This script has now completed it's task
- -----------------------------
- Shutting Down
- /dev/root on / type ext4 (ro,relatime,data=ordered)
- devtmpfs on /dev type devtmpfs (rw,relatime,size=253436k,nr_inodes=63359,mode=755)
- proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
- sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
- tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
- devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
- tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
- tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
- cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
- cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
- cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
- cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
- cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
- cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
- cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
- cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
- cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
- systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
- tmpfs on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755)
- tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
- configfs on /sys/kernel/config type configfs (rw,relatime)
- securityfs on /sys/kernel/security type securityfs (rw,relatime)
- debugfs on /sys/kernel/debug type debugfs (rw,relatime)
- mqueue on /dev/mqueue type mqueue (rw,relatime)
- fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
- [ 271.994484] reboot: System halted
- U-Boot SPL 2014.07-dirty (Aug 28 2014 - 17:00:26)
- reading u-boot.img
- reading u-boot.img
- U-Boot 2014.07-dirty (Aug 28 2014 - 17:00:26)
- I2C: ready
- DRAM: 512 MiB
- NAND: 0 MiB
- MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
- *** Warning - readenv() failed, using default environment
- Net: <ethaddr> not set. Validating first E-fuse MAC
- cpsw, usb_ether
- Hit any key to stop autoboot: 0
- gpio: pin 53 (gpio 53) value is 1
- Card did not respond to voltage select!
- Card did not respond to voltage select!
- gpio: pin 56 (gpio 56) value is 0
- gpio: pin 55 (gpio 55) value is 0
- gpio: pin 54 (gpio 54) value is 0
- switch to partitions #0, OK
- mmc1(part 0) is current device
- gpio: pin 54 (gpio 54) value is 1
- SD/MMC found on device 1
- Checking for: /uEnv.txt ...
- Checking for: /boot.scr ...
- Checking for: /boot/boot.scr ...
- Checking for: /boot/uEnv.txt ...
- gpio: pin 55 (gpio 55) value is 1
- 112 bytes read in 18 ms (5.9 KiB/s)
- Loaded environment from /boot/uEnv.txt
- Checking if uname_r is set in /boot/uEnv.txt...
- gpio: pin 56 (gpio 56) value is 1
- Running uname_boot ...
- loading /boot/vmlinuz-3.15.10-bone8 ...
- 6199168 bytes read in 360 ms (16.4 MiB/s)
- loading /boot/dtbs/3.15.10-bone8/am335x-boneblack.dtb ...
- 31700 bytes read in 69 ms (448.2 KiB/s)
- Kernel image @ 0x82000000 [ 0x000000 - 0x5e9780 ]
- ## Flattened Device Tree blob at 88000000
- Booting using the fdt blob at 0x88000000
- Loading Device Tree to 8fff5000, end 8ffffbd3 ... OK
- Starting kernel ...
- [ 0.580749] omap_init_mbox: hwmod doesn't have valid attrs
- [ 2.312478] Error: Driver 'tfp410' is already registered, aborting...
- [ 2.523313] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
- [ 2.530012] sr_init: platform driver register failed for SR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement