Advertisement
Guest User

Beagleboard setup_sdcard.sh output

a guest
Feb 14th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.87 KB | None | 0 0
  1. tj@ubuntu:~/ubuntu-11.10-r5-minimal-armel$ sudo ./setup_sdcard.sh --mmc /dev/mmcblk0 --uboot beagle_xm
  2.  
  3. I see...
  4. fdisk -l:
  5. Disk /dev/sda: 320.1 GB, 320072933376 bytes
  6. Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
  7.  
  8. mount:
  9. /dev/loop0 on / type ext3 (rw,commit=600)
  10. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  11. /dev/sda3 on /host type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  12. /dev/mmcblk0p2 on /media/rootfs type ext3 (rw,nosuid,nodev,uhelper=udisks)
  13. /dev/mmcblk0p1 on /media/boot type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
  14.  
  15. Are you 100% sure, on selecting [/dev/mmcblk0] (y/n)? y
  16.  
  17.  
  18. Downloading Device's Bootloader
  19. -----------------------------
  20. 64 bytes from apache2-zoo.heat.dreamhost.com (69.163.149.169): icmp_req=1 ttl=54 time=101 ms
  21. 2012-02-15 00:27:16 URL:http://rcn-ee.net/deb/tools/latest/bootloader [4652/4652] -> "/tmp/tmp.dVrdU7rskN/dl/bootloader" [1]
  22. 2012-02-15 00:27:17 URL:http://rcn-ee.net/deb/tools/beagleboard/MLO-beagleboard-v2011.12-r1 [44104/44104] -> "/tmp/tmp.dVrdU7rskN/dl/MLO-beagleboard-v2011.12-r1" [1]
  23. SPL Bootloader: MLO-beagleboard-v2011.12-r1
  24. 2012-02-15 00:27:19 URL:http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2011.12-r1.img [330372/330372] -> "/tmp/tmp.dVrdU7rskN/dl/u-boot-beagleboard-v2011.12-r1.img" [1]
  25. UBOOT Bootloader: u-boot-beagleboard-v2011.12-r1.img
  26.  
  27. Unmounting Partitions
  28. -----------------------------
  29.  
  30. Using fdisk to create BOOT Partition
  31. -----------------------------
  32.  
  33. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  34. switch off the mode (with command 'c').
  35. WARNING: cylinders as display units are deprecated. Use command 'u' to
  36. change units to sectors.
  37.  
  38. Command (m for help): Command action
  39. e extended
  40. p primary partition (1-4)
  41. Partition number (1-4, default 1): First cylinder (1-973968, default 1): Last cylinder, +cylinders or +size{K,M,G} (1-973968, default 973968):
  42. Command (m for help): Selected partition 1
  43. Hex code (type L to list codes): Changed system type of partition 1 to e (W95 FAT16 (LBA))
  44.  
  45. Command (m for help):
  46. Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
  47. 4 heads, 16 sectors/track, 973968 cylinders
  48. Units = cylinders of 64 * 512 = 32768 bytes
  49. Sector size (logical/physical): 512 bytes / 512 bytes
  50. I/O size (minimum/optimal): 512 bytes / 512 bytes
  51. Disk identifier: 0x000940f9
  52.  
  53. Device Boot Start End Blocks Id System
  54. /dev/mmcblk0p1 1 2049 65560 e W95 FAT16 (LBA)
  55.  
  56. Command (m for help): The partition table has been altered!
  57.  
  58. Calling ioctl() to re-read partition table.
  59.  
  60. WARNING: If you have created or modified any DOS 6.x
  61. partitions, please see the fdisk manual page for additional
  62. information.
  63. Syncing disks.
  64. Setting Boot Partition's Boot Flag
  65. -----------------------------
  66. Creating rootfs ext4 Partition
  67. -----------------------------
  68. Formating Boot Partition
  69. -----------------------------
  70. mkfs.vfat 3.0.9 (31 Jan 2010)
  71. Formating rootfs Partition as ext4
  72. -----------------------------
  73. mke2fs 1.41.14 (22-Dec-2010)
  74. Filesystem label=rootfs
  75. OS type: Linux
  76. Block size=4096 (log=2)
  77. Fragment size=4096 (log=2)
  78. Stride=0 blocks, Stripe width=0 blocks
  79. 1945888 inodes, 7775352 blocks
  80. 388767 blocks (5.00%) reserved for the super user
  81. First data block=0
  82. Maximum filesystem blocks=4294967296
  83. 238 block groups
  84. 32768 blocks per group, 32768 fragments per group
  85. 8176 inodes per group
  86. Superblock backups stored on blocks:
  87. 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
  88. 4096000
  89.  
  90. Writing inode tables: done
  91. Creating journal (32768 blocks): done
  92. Writing superblocks and filesystem accounting information: done
  93.  
  94. This filesystem will be automatically checked every 28 mounts or
  95. 180 days, whichever comes first. Use tune2fs -c or -i to override.
  96. Populating Boot Partition
  97. -----------------------------
  98. `/tmp/tmp.dVrdU7rskN/dl/MLO-beagleboard-v2011.12-r1' -> `/tmp/tmp.dVrdU7rskN/disk/MLO'
  99. `/tmp/tmp.dVrdU7rskN/dl/u-boot-beagleboard-v2011.12-r1.img' -> `/tmp/tmp.dVrdU7rskN/disk/u-boot.img'
  100. Using mkimage to create uImage
  101. -----------------------------
  102. Image Name: 3.2.3-x4
  103. Created: Wed Feb 15 00:28:09 2012
  104. Image Type: ARM Linux Kernel Image (uncompressed)
  105. Data Size: 3014464 Bytes = 2943.81 kB = 2.87 MB
  106. Load Address: 80008000
  107. Entry Point: 80008000
  108. Using mkimage to create uInitrd
  109. -----------------------------
  110. Image Name: initramfs
  111. Created: Wed Feb 15 00:28:10 2012
  112. Image Type: ARM Linux RAMDisk Image (uncompressed)
  113. Data Size: 3087289 Bytes = 3014.93 kB = 2.94 MB
  114. Load Address: 00000000
  115. Entry Point: 00000000
  116. Copying uEnv.txt based boot scripts to Boot Partition
  117. -----------------------------
  118. `/tmp/tmp.dVrdU7rskN/bootscripts/normal.cmd' -> `/tmp/tmp.dVrdU7rskN/disk/uEnv.txt'
  119. bootfile=uImage
  120. bootinitrd=uInitrd
  121. address_uimage=0x80300000
  122. address_uinitrd=0x81600000
  123.  
  124. vram=12MB
  125.  
  126. console=ttyO2,115200n8
  127.  
  128. defaultdisplay=dvi
  129. dvimode=1280x720MR-16@60
  130.  
  131. mmcroot=/dev/mmcblk0p2 ro
  132. mmcrootfstype=ext4 rootwait fixrtc
  133. optargs=console=tty0
  134.  
  135. mmc_load_uimage=fatload mmc 0:1 ${address_uimage} ${bootfile}
  136. mmc_load_uinitrd=fatload mmc 0:1 ${address_uinitrd} ${bootinitrd}
  137.  
  138. mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} buddy2=${buddy2} camera=${camera} vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
  139.  
  140. loaduimage=run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}
  141. -----------------------------
  142. `/tmp/tmp.dVrdU7rskN/readme.txt' -> `/tmp/tmp.dVrdU7rskN/disk/tools/readme.txt'
  143. `/tmp/tmp.dVrdU7rskN/update_boot_files.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/update_boot_files.sh'
  144. `/tmp/tmp.dVrdU7rskN/minimal_xfce.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/minimal_xfce.sh'
  145. `/tmp/tmp.dVrdU7rskN/get_chrome.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/get_chrome.sh'
  146. Finished populating Boot Partition
  147. -----------------------------
  148. Populating rootfs Partition
  149. Please be patient, this may take a few minutes, as its transfering a lot of files..
  150. -----------------------------
  151. 383MB 0:00:11 [34.6MB/s] [================================================================================================>] 100%
  152. Transfer of Base Rootfs Complete, syncing to disk
  153. -----------------------------
  154. Ubuntu: with no eth cable connected it can take up to 2 mins to login, removing upstart sleep call
  155. -----------------------------
  156. Ubuntu: to unfix: sudo sed -i -e 's:#sleep 40:sleep 40:g' /etc/init/failsafe.conf
  157. Ubuntu: to unfix: sudo sed -i -e 's:#sleep 59:sleep 59:g' /etc/init/failsafe.conf
  158. -----------------------------
  159. Finished populating rootfs Partition
  160. -----------------------------
  161. setup_sdcard.sh script complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement