Advertisement
Guest User

Untitled

a guest
Apr 16th, 2013
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.42 KB | None | 0 0
  1. voodoo@a53t:/opt/github/netinstall$ sudo ./mk_mmc.sh --mmc /dev/sdb --uboot beagle_cx --distro quantal-armhf
  2. [sudo] password for voodoo:
  3.  
  4. I see...
  5. fdisk -l:
  6. Disk /dev/sda: 750.2 GB, 750156374016 bytes
  7. Disk /dev/sdb: 3959 MB, 3959422976 bytes
  8.  
  9. lsblk:
  10. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  11. sda 8:0 0 698.7G 0 disk
  12. ├─sda1 8:1 0 683.7G 0 part /
  13. ├─sda2 8:2 0 1K 0 part
  14. └─sda5 8:5 0 15G 0 part [SWAP]
  15. sdb 8:16 1 3.7G 0 disk
  16. └─sdb1 8:17 1 64M 0 part
  17.  
  18. Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
  19.  
  20. -----------------------------
  21. Warning: Support for the BeagleBoard C1/C2 is broken.. (board locks up during hardware detect)
  22. Please use the Demo Images Instead
  23. BeagleBoard: C4/C5 Users, can ignore this message..
  24. -----------------------------
  25.  
  26. Script Version git: b07cdf8
  27. -----------------------------
  28.  
  29. Downloading Device's Bootloader
  30. -----------------------------
  31. 2013-04-16 20:36:48 URL:http://rcn-ee.net/deb/tools/latest/bootloader-ng [4859/4859] -> "/tmp/tmp.y53JTaaPvM/dl/bootloader-ng" [1]
  32. 2013-04-16 20:36:49 URL:http://rcn-ee.net/deb/tools/beagleboard/MLO-beagleboard-v2013.01.01-r1 [46748/46748] -> "/tmp/tmp.y53JTaaPvM/dl/MLO-beagleboard-v2013.01.01-r1" [1]
  33. SPL Bootloader: MLO-beagleboard-v2013.01.01-r1
  34. --2013-04-16 20:36:49-- http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2013.01.01-r1.img
  35. Resolving rcn-ee.net (rcn-ee.net)... 69.163.130.148
  36. Connecting to rcn-ee.net (rcn-ee.net)|69.163.130.148|:80... connected.
  37. HTTP request sent, awaiting response... 200 OK
  38. Length: 358868 (350K) [text/plain]
  39. Saving to: `/tmp/tmp.y53JTaaPvM/dl/u-boot-beagleboard-v2013.01.01-r1.img'
  40.  
  41. 100%[=============================================================================================================>] 358,868 75.8K/s in 4.5s
  42.  
  43. 2013-04-16 20:36:54 (77.7 KB/s) - `/tmp/tmp.y53JTaaPvM/dl/u-boot-beagleboard-v2013.01.01-r1.img' saved [358868/358868]
  44.  
  45. UBOOT Bootloader: u-boot-beagleboard-v2013.01.01-r1.img
  46.  
  47. Downloading Device's Kernel Image
  48. -----------------------------
  49. 2013-04-16 20:36:54 URL:http://rcn-ee.net/deb/quantal-armhf/LATEST-omap [236/236] -> "/tmp/tmp.y53JTaaPvM/dl/LATEST-omap" [1]
  50. 2013-04-16 20:36:55 URL:http://rcn-ee.net/deb/quantal-armhf/v3.7.10-x10/ [1486/1486] -> "/tmp/tmp.y53JTaaPvM/dl/index.html" [1]
  51. --2013-04-16 20:36:55-- http://rcn-ee.net/deb/quantal-armhf/v3.7.10-x10/linux-image-3.7.10-x10_1.0quantal_armhf.deb
  52. Resolving rcn-ee.net (rcn-ee.net)... 69.163.130.148
  53. Connecting to rcn-ee.net (rcn-ee.net)|69.163.130.148|:80... connected.
  54. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
  55.  
  56. The file is already fully retrieved; nothing to do.
  57.  
  58. --2013-04-16 20:36:55-- http://rcn-ee.net/deb/quantal-armhf/v3.7.10-x10/3.7.10-x10-firmware.tar.gz
  59. Resolving rcn-ee.net (rcn-ee.net)... 69.163.130.148
  60. Connecting to rcn-ee.net (rcn-ee.net)|69.163.130.148|:80... connected.
  61. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
  62.  
  63. The file is already fully retrieved; nothing to do.
  64.  
  65. Using Kernel: linux-image-3.7.10-x10_1.0quantal_armhf.deb
  66.  
  67. Downloading NetInstall Image
  68. -----------------------------
  69. Note: NetInstall has u-boot header, removing...
  70. -----------------------------
  71. 196439+1 records in
  72. 196439+1 records out
  73. 12572142 bytes (13 MB) copied, 0.620347 s, 20.3 MB/s
  74. -----------------------------
  75. md5sum of NetInstall: b1824b8f7be00d34ea97763525dd2cc5
  76.  
  77. NetInstall: Creating Custom Image
  78. -----------------------------
  79. NetInstall: Extracting Base initrd.gz
  80. 51994 blocks
  81. NetInstall: Removing Optional Stuff to Save RAM Space
  82. NetInstall: Adding Distro Tweaks and Preseed Configuration
  83. `/opt/github/netinstall/lib/ubuntu-finish.sh' -> `/tmp/tmp.y53JTaaPvM/initrd-tree/usr/bin/finish-install.sh'
  84. `/opt/github/netinstall/lib/quantal-preseed.cfg' -> `/tmp/tmp.y53JTaaPvM/initrd-tree/preseed.cfg'
  85. NetInstall: Extracting Kernel Boot Image
  86. NetInstall: Packaging Modules for later use
  87. NetInstall: Adding Device Tweaks
  88. NetInstall: Compressing initrd image
  89. 87953 blocks
  90.  
  91. Unmounting Partitions
  92. -----------------------------
  93. Zeroing out Partition Table
  94. 1024+0 records in
  95. 1024+0 records out
  96. 1048576 bytes (1.0 MB) copied, 0.617945 s, 1.7 MB/s
  97.  
  98. Using fdisk to create an omap compatible fatfs BOOT partition
  99. -----------------------------
  100.  
  101. Command (m for help): Partition type:
  102. p primary (0 primary, 0 extended, 4 free)
  103. e extended
  104. Select (default p): Partition number (1-4, default 1): First sector (2048-7733247, default 2048): Using default value 2048
  105. Last sector, +sectors or +size{K,M,G} (2048-7733247, default 7733247):
  106. Command (m for help): Selected partition 1
  107. Hex code (type L to list codes): Changed system type of partition 1 to e (W95 FAT16 (LBA))
  108.  
  109. Command (m for help):
  110. Disk /dev/sdb: 3959 MB, 3959422976 bytes
  111. 122 heads, 62 sectors/track, 1022 cylinders, total 7733248 sectors
  112. Units = sectors of 1 * 512 = 512 bytes
  113. Sector size (logical/physical): 512 bytes / 512 bytes
  114. I/O size (minimum/optimal): 512 bytes / 512 bytes
  115. Disk identifier: 0x000989ac
  116.  
  117. Device Boot Start End Blocks Id System
  118. /dev/sdb1 2048 206847 102400 e W95 FAT16 (LBA)
  119.  
  120. Command (m for help): The partition table has been altered!
  121.  
  122. Calling ioctl() to re-read partition table.
  123.  
  124. WARNING: If you have created or modified any DOS 6.x
  125. partitions, please see the fdisk manual page for additional
  126. information.
  127. Syncing disks.
  128. Setting Boot Partition's Boot Flag
  129. -----------------------------
  130. Formating Boot Partition
  131. -----------------------------
  132. mkfs.vfat 3.0.13 (30 Jun 2012)
  133. Populating Boot Partition
  134. -----------------------------
  135. `/tmp/tmp.y53JTaaPvM/dl/MLO-beagleboard-v2013.01.01-r1' -> `/tmp/tmp.y53JTaaPvM/disk/MLO'
  136. `/tmp/tmp.y53JTaaPvM/dl/MLO-beagleboard-v2013.01.01-r1' -> `/tmp/tmp.y53JTaaPvM/disk/backup/MLO'
  137. -----------------------------
  138. `/tmp/tmp.y53JTaaPvM/dl/u-boot-beagleboard-v2013.01.01-r1.img' -> `/tmp/tmp.y53JTaaPvM/disk/u-boot.img'
  139. `/tmp/tmp.y53JTaaPvM/dl/u-boot-beagleboard-v2013.01.01-r1.img' -> `/tmp/tmp.y53JTaaPvM/disk/backup/u-boot.img'
  140. -----------------------------
  141. Copying Kernel image:
  142. `/tmp/tmp.y53JTaaPvM/kernel/boot/vmlinuz-3.7.10-x10' -> `/tmp/tmp.y53JTaaPvM/disk/zImage.net'
  143. `/tmp/tmp.y53JTaaPvM/kernel/boot/vmlinuz-3.7.10-x10' -> `/tmp/tmp.y53JTaaPvM/disk/vmlinuz-'
  144. -----------------------------
  145. Copying Kernel initrd:
  146. `/tmp/tmp.y53JTaaPvM/initrd.mod.gz' -> `/tmp/tmp.y53JTaaPvM/disk/initrd.net'
  147. -----------------------------
  148. Copying uEnv.txt based boot scripts to Boot Partition
  149. Net Install Boot Script:
  150. `/tmp/tmp.y53JTaaPvM/bootscripts/netinstall.cmd' -> `/tmp/tmp.y53JTaaPvM/disk/uEnv.txt'
  151. -----------------------------
  152. kernel_file=zImage.net
  153. initrd_file=initrd.net
  154.  
  155. #Video: Uncomment to override U-Boots value:
  156. #defaultdisplay=dvi
  157. #dvimode=1280x720MR-16@60
  158. #vram=12MB
  159.  
  160. console=tty0
  161.  
  162. mmcroot=/dev/ram0 rw
  163.  
  164. loadkernel=fatload mmc 0:1 0x80300000 ${kernel_file}
  165. loadinitrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv initrd_size ${filesize}
  166. loadfdt=fatload mmc 0:1 0x815f0000 /dtbs/${fdtfile}
  167.  
  168. boot_classic=run loadkernel; run loadinitrd
  169. boot_fdt=run loadkernel; run loadinitrd; run loadfdt
  170.  
  171. xyz_message=echo; echo Installer for [quantal-armhf] is using the Video Interface; echo Use [--serial-mode] to force Installing over the Serial Interface; echo;
  172.  
  173. video_args=setenv video vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}
  174. device_args=run video_args; run expansion_args; run mmcargs
  175. mmcargs=setenv bootargs console=${console} ${optargs} ${video} root=${mmcroot} ${expansion}
  176.  
  177. expansion_args=setenv expansion buddy=${buddy} buddy2=${buddy2} musb_hdrc.fifo_mode=5
  178. loaduimage=run xyz_message; run boot_classic; run device_args; bootz 0x80300000 0x81600000:${initrd_size}
  179.  
  180. -----------------------------
  181. Normal Boot Script:
  182. `/tmp/tmp.y53JTaaPvM/bootscripts/normal.cmd' -> `/tmp/tmp.y53JTaaPvM/disk/backup/normal.txt'
  183. -----------------------------
  184. kernel_file=zImage
  185. initrd_file=initrd.img
  186.  
  187. #Video: Uncomment to override U-Boots value:
  188. #defaultdisplay=dvi
  189. #dvimode=1280x720MR-16@60
  190. #vram=12MB
  191.  
  192. console=ttyO2,115200n8
  193.  
  194. mmcroot=FINAL_PART ro
  195. mmcrootfstype=FINAL_FSTYPE rootwait fixrtc
  196.  
  197. loadkernel=fatload mmc 0:1 0x80300000 ${kernel_file}
  198. loadinitrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv initrd_size ${filesize}
  199. loadfdt=fatload mmc 0:1 0x815f0000 /dtbs/${fdtfile}
  200.  
  201. boot_classic=run loadkernel; run loadinitrd
  202. boot_ftd=run loadkernel; run loadinitrd; run loadfdt
  203.  
  204. video_args=setenv video vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}
  205. device_args=run video_args; run expansion_args; run mmcargs
  206. mmcargs=setenv bootargs console=${console} ${optargs} ${video} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}
  207.  
  208. optargs=console=tty0
  209. expansion_args=setenv expansion buddy=${buddy} buddy2=${buddy2} musb_hdrc.fifo_mode=5
  210. #Classic Board File Boot:
  211. loaduimage=run boot_classic; run device_args; bootz 0x80300000 0x81600000:${initrd_size}
  212. #New Device Tree Boot:
  213. #loaduimage=run boot_fdt; run device_args; bootz 0x80300000 0x81600000:${initrd_size} 0x815f0000
  214.  
  215. -----------------------------
  216. `/opt/github/netinstall/dl/quantal-armhf/linux-image-3.7.10-x10_1.0quantal_armhf.deb' -> `/tmp/tmp.y53JTaaPvM/disk/linux-image-3.7.10-x10_1.0quantal_armhf.deb'
  217. `/tmp/tmp.y53JTaaPvM/kernel/3.7.10-x10-modules.tar.gz' -> `/tmp/tmp.y53JTaaPvM/disk/3.7.10-x10-modules.tar.gz'
  218. Debug:
  219. #!/bin/sh
  220. format=1.0
  221. board=BEAGLEBOARD_CX
  222.  
  223. bootloader_location=fatfs_boot
  224. dd_spl_uboot_seek=
  225. dd_spl_uboot_bs=
  226. dd_uboot_seek=
  227. dd_uboot_bs=
  228.  
  229. boot_image=bootz
  230. boot_script=uEnv.txt
  231. boot_fstype=fat
  232.  
  233. serial_tty=ttyO2
  234. loadaddr=0x80300000
  235. initrdaddr=0x81600000
  236. zreladdr=0x80008000
  237. fdtaddr=0x815f0000
  238. fdtfile=
  239.  
  240. usbnet_mem=8192
  241.  
  242. Debug: Adding Useful scripts from: https://github.com/RobertCNelson/tools
  243. -----------------------------
  244. Cloning into '/tmp/tmp.y53JTaaPvM/disk/tools'...
  245. remote: Counting objects: 498, done.
  246. remote: Compressing objects: 100% (192/192), done.
  247. remote: Total 498 (delta 279), reused 498 (delta 279)
  248. Receiving objects: 100% (498/498), 69.90 KiB, done.
  249. Resolving deltas: 100% (279/279), done.
  250. -----------------------------
  251. Debug: Contents of Boot Partition
  252. -----------------------------
  253. total 56M
  254. -rwxr-xr-x 1 root root 14M Apr 16 20:37 3.7.10-x10-modules.tar.gz
  255. drwxr-xr-x 2 root root 2.0K Apr 16 20:37 backup
  256. drwxr-xr-x 2 root root 2.0K Apr 16 20:37 dtbs
  257. -rwxr-xr-x 1 root root 18M Apr 16 20:37 initrd.net
  258. -rwxr-xr-x 1 root root 18M Apr 16 20:37 linux-image-3.7.10-x10_1.0quantal_armhf.deb
  259. -rwxr-xr-x 1 root root 46K Apr 16 20:37 MLO
  260. -rwxr-xr-x 1 root root 319 Apr 16 20:37 SOC.sh
  261. drwxr-xr-x 11 root root 2.0K Apr 16 20:37 tools
  262. -rwxr-xr-x 1 root root 351K Apr 16 20:37 u-boot.img
  263. -rwxr-xr-x 1 root root 1.1K Apr 16 20:37 uEnv.txt
  264. -rwxr-xr-x 1 root root 3.3M Apr 16 20:37 vmlinuz-
  265. -rwxr-xr-x 1 root root 3.3M Apr 16 20:37 zImage.net
  266. -----------------------------
  267. Finished populating Boot Partition
  268. -----------------------------
  269. mk_mmc.sh script complete
  270. Script Version git: b07cdf8
  271. -----------------------------
  272. Note: with Ubuntu Releases
  273. During Install, after proxy setup, there seems to be a LONG delay...
  274. (worst case 5 minutes on my Beagle xM)...
  275. Currently Investigating...
  276. -----------------------------
  277. Reporting Bugs:
  278. https://github.com/RobertCNelson/netinstall/issues
  279. Please include: /var/log/netinstall.log from RootFileSystem
  280. -----------------------------
  281. voodoo@a53t:/opt/github/netinstall$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement