Advertisement
embedded_kyle

BBB init-eMMC

Aug 29th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. root@arm:/opt/scripts/tools/eMMC# ./init-eMMC-flasher-v2.sh
  2. Valid EEPROM header found
  3. -----------------------------
  4. debug copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
  5. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  6. mmcblk1boot0 179:16 0 1M 1 disk
  7. mmcblk1boot1 179:24 0 1M 1 disk
  8. mmcblk0 179:0 0 7.4G 0 disk
  9. ├─mmcblk0p1 179:1 0 12M 0 part /boot/uboot
  10. └─mmcblk0p2 179:2 0 7.4G 0 part /
  11. mmcblk1 179:8 0 1.8G 0 disk
  12. ├─mmcblk1p1 179:9 0 96M 0 part
  13. └─mmcblk1p2 179:10 0 1.7G 0 part
  14. -----------------------------
  15. Erasing: /dev/mmcblk1
  16. 108+0 records in
  17. 108+0 records out
  18. 113246208 bytes (113 MB) copied, 19.2737 s, 5.9 MB/s
  19. 108+0 records in
  20. 108+0 records out
  21. 113246208 bytes (113 MB) copied, 4.23134 s, 26.8 MB/s
  22. Formatting: /dev/mmcblk1
  23. Checking that no-one is using this disk right now ...
  24. OK
  25.  
  26. Disk /dev/mmcblk1: 58624 cylinders, 4 heads, 16 sectors/track
  27.  
  28. sfdisk: ERROR: sector 3069065693 does not have an msdos signature
  29. /dev/mmcblk1: unrecognized partition table type
  30. Old situation:
  31. No partitions found
  32. New situation:
  33. Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
  34.  
  35. Device Boot Start End MiB #blocks Id System
  36. /dev/mmcblk1p1 * 1 96 96 98304 e W95 FAT16 (LBA)
  37. /dev/mmcblk1p2 97 1831 1735 1776640 83 Linux
  38. /dev/mmcblk1p3 0 - 0 0 0 Empty
  39. /dev/mmcblk1p4 0 - 0 0 0 Empty
  40. Successfully wrote the new partition table
  41.  
  42. Re-reading the partition table ...
  43.  
  44. If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
  45. to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
  46. (See fdisk(8).)
  47. /dev/mmcblk1p1 * 2048 198655 98304 e W95 FAT16 (LBA)
  48. mkfs.vfat 3.0.13 (30 Jun 2012)
  49. mke2fs 1.42.5 (29-Jul-2012)
  50. ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk1p2 is mounted.
  51. Discarding device blocks: done
  52. Filesystem label=rootfs
  53. OS type: Linux
  54. Block size=4096 (log=2)
  55. Fragment size=4096 (log=2)
  56. Stride=0 blocks, Stripe width=0 blocks
  57. 111104 inodes, 444160 blocks
  58. 22208 blocks (5.00%) reserved for the super user
  59. First data block=0
  60. Maximum filesystem blocks=457179136
  61. 14 block groups
  62. 32768 blocks per group, 32768 fragments per group
  63. 7936 inodes per group
  64. Superblock backups stored on blocks:
  65. 32768, 98304, 163840, 229376, 294912
  66.  
  67. Allocating group tables: done
  68. Writing inode tables: done
  69. Creating journal (8192 blocks): done
  70. Writing superblocks and filesystem accounting information: done
  71.  
  72. Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
  73. `/boot/uboot/MLO' -> `/tmp/boot/MLO'
  74. `/boot/uboot/u-boot.img' -> `/tmp/boot/u-boot.img'
  75. rsync: /boot/uboot/ -> /tmp/boot/
  76. Copying: /dev/mmcblk0p2 -> /dev/mmcblk1p2
  77. rsync: / -> /tmp/rootfs/
  78. Copying: Kernel modules
  79. rsync: /lib/modules/3.15.10-bone8/ -> /tmp/rootfs/lib/modules/3.15.10-bone8/
  80. /boot/uEnv.txt: disabling flasher script
  81. uname_r=3.15.10-bone8
  82. cmdline=quiet init=/lib/systemd/systemd
  83. mmcroot=UUID=f2de5414-b31f-41f5-b68b-f56b439a54e8
  84. Generating: /etc/fstab
  85. # /etc/fstab: static file system information.
  86. #
  87. # Auto generated by: beaglebone-black-eMMC-flasher.sh
  88. #
  89. UUID=f2de5414-b31f-41f5-b68b-f56b439a54e8 / ext4 noatime,errors=remount-ro 0 1
  90. debugfs /sys/kernel/debug debugfs defaults 0 0
  91. Syncing: /dev/mmcblk1
  92. 100000+0 records in
  93. 100000+0 records out
  94. 51200000 bytes (51 MB) copied, 1.86873 s, 27.4 MB/s
  95.  
  96. This script has now completed it's task
  97. -----------------------------
  98. Shutting Down
  99. /dev/root on / type ext4 (ro,relatime,data=ordered)
  100. devtmpfs on /dev type devtmpfs (rw,relatime,size=253436k,nr_inodes=63359,mode=755)
  101. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  102. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  103. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
  104. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  105. tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
  106. tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
  107. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  108. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  109. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  110. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  111. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  112. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  113. cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
  114. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  115. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  116. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
  117. tmpfs on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755)
  118. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  119. configfs on /sys/kernel/config type configfs (rw,relatime)
  120. securityfs on /sys/kernel/security type securityfs (rw,relatime)
  121. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  122. mqueue on /dev/mqueue type mqueue (rw,relatime)
  123. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  124. [ 271.994484] reboot: System halted
  125.  
  126. U-Boot SPL 2014.07-dirty (Aug 28 2014 - 17:00:26)
  127. reading u-boot.img
  128. reading u-boot.img
  129.  
  130.  
  131. U-Boot 2014.07-dirty (Aug 28 2014 - 17:00:26)
  132.  
  133. I2C: ready
  134. DRAM: 512 MiB
  135. NAND: 0 MiB
  136. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
  137. *** Warning - readenv() failed, using default environment
  138.  
  139. Net: <ethaddr> not set. Validating first E-fuse MAC
  140. cpsw, usb_ether
  141. Hit any key to stop autoboot: 0
  142. gpio: pin 53 (gpio 53) value is 1
  143. Card did not respond to voltage select!
  144. Card did not respond to voltage select!
  145. gpio: pin 56 (gpio 56) value is 0
  146. gpio: pin 55 (gpio 55) value is 0
  147. gpio: pin 54 (gpio 54) value is 0
  148. switch to partitions #0, OK
  149. mmc1(part 0) is current device
  150. gpio: pin 54 (gpio 54) value is 1
  151. SD/MMC found on device 1
  152. Checking for: /uEnv.txt ...
  153. Checking for: /boot.scr ...
  154. Checking for: /boot/boot.scr ...
  155. Checking for: /boot/uEnv.txt ...
  156. gpio: pin 55 (gpio 55) value is 1
  157. 112 bytes read in 18 ms (5.9 KiB/s)
  158. Loaded environment from /boot/uEnv.txt
  159. Checking if uname_r is set in /boot/uEnv.txt...
  160. gpio: pin 56 (gpio 56) value is 1
  161. Running uname_boot ...
  162. loading /boot/vmlinuz-3.15.10-bone8 ...
  163. 6199168 bytes read in 360 ms (16.4 MiB/s)
  164. loading /boot/dtbs/3.15.10-bone8/am335x-boneblack.dtb ...
  165. 31700 bytes read in 69 ms (448.2 KiB/s)
  166. Kernel image @ 0x82000000 [ 0x000000 - 0x5e9780 ]
  167. ## Flattened Device Tree blob at 88000000
  168. Booting using the fdt blob at 0x88000000
  169. Loading Device Tree to 8fff5000, end 8ffffbd3 ... OK
  170.  
  171. Starting kernel ...
  172.  
  173. [ 0.580749] omap_init_mbox: hwmod doesn't have valid attrs
  174. [ 2.312478] Error: Driver 'tfp410' is already registered, aborting...
  175. [ 2.523313] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
  176. [ 2.530012] sr_init: platform driver register failed for SR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement