Advertisement
Guest User

linaro-image-tools

a guest
Sep 30th, 2010
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 KB | None | 0 0
  1. sudo /home/rber/daily-snapshots/linaro-image-tools/linaro-media-create --rootfs ext3 --mmc /dev/sde --dev beagle --binary linaro-m-headless-tar-20100930-0.tar.gz --hwpack hwpack_linaro-omap3_20100930-31_armel_supported.tar.gz
  2.  
  3. Warning: extended partition does not start at a cylinder boundary.
  4. DOS and Linux will interpret the contents differently.
  5.  
  6. I see...
  7. sudo sfdisk -l:
  8. Disk /dev/sda: 2610 cylinders, 255 heads, 63 sectors/track
  9. Warning: extended partition does not start at a cylinder boundary.
  10. DOS and Linux will interpret the contents differently.
  11. Disk /dev/sde: 488 cylinders, 255 heads, 63 sectors/track
  12.  
  13. mount:
  14. /dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
  15. /dev/sde2 on /media/rootfs type ext3 (rw,nosuid,nodev,uhelper=udisks)
  16. /dev/sde1 on /media/boot type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
  17.  
  18. Are you 100% sure, on selecting [/dev/sde] (y/n)? y
  19.  
  20. Unpacking hardware pack ...Done
  21. Reading package lists... Done
  22. Building dependency tree
  23. Reading state information... Done
  24. The following packages will be upgraded:
  25. linux-firmware linux-image-2.6.35-1006-linaro-omap linux-image-linaro-omap
  26. u-boot-linaro-omap3-beagle wireless-crda x-loader-omap
  27. 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  28. Need to get 17.4kB/30.5MB of archives.
  29. After this operation, 82.8MB disk space will be freed.
  30. WARNING: The following packages cannot be authenticated!
  31. wireless-crda linux-image-2.6.35-1006-linaro-omap linux-firmware
  32. linux-image-linaro-omap u-boot-linaro-omap3-beagle
  33. Install these packages without verification [y/N]? y
  34. Get:1 http://ports.ubuntu.com/ maverick/main x-loader-omap armel 1.4.4git20100713-1ubuntu2 [17.4kB]
  35. Fetched 17.4kB in 5s (3117B/s)
  36. perl: warning: Setting locale failed.
  37. perl: warning: Please check that your locale settings:
  38. LANGUAGE = (unset),
  39. LC_ALL = (unset),
  40. LANG = "en_US.utf8"
  41. are supported and installed on your system.
  42. perl: warning: Falling back to the standard locale ("C").
  43. /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
  44. /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  45. /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
  46. debconf: delaying package configuration, since apt-utils is not installed
  47. Can not write log, openpty() failed (/dev/pts not mounted?)
  48. (Reading database ... Unsupported ioctl: cmd=0xc020660b
  49. Unsupported ioctl: cmd=0xc020660b
  50. Unsupported ioctl: cmd=0xc020660b
  51. Unsupported ioctl: cmd=0xc020660b
  52. Unsupported ioctl: cmd=0xc020660b
  53. Unsupported ioctl: cmd=0xc020660b
  54. Unsupported ioctl: cmd=0xc020660b
  55. Unsupported ioctl: cmd=0xc020660b
  56. Unsupported ioctl: cmd=0xc020660b
  57. Unsupported ioctl: cmd=0xc020660b
  58. Unsupported ioctl: cmd=0xc020660b
  59. Unsupported ioctl: cmd=0xc020660b
  60. Unsupported ioctl: cmd=0xc020660b
  61. Unsupported ioctl: cmd=0xc020660b
  62. Unsupported ioctl: cmd=0xc020660b
  63. Unsupported ioctl: cmd=0xc020660b
  64. Unsupported ioctl: cmd=0xc020660b
  65. Unsupported ioctl: cmd=0xc020660b
  66. Unsupported ioctl: cmd=0xc020660b
  67. Unsupported ioctl: cmd=0xc020660b
  68. Unsupported ioctl: cmd=0xc020660b
  69. Unsupported ioctl: cmd=0xc020660b
  70. Unsupported ioctl: cmd=0xc020660b
  71. Unsupported ioctl: cmd=0xc020660b
  72. Unsupported ioctl: cmd=0xc020660b
  73. Unsupported ioctl: cmd=0xc020660b
  74. Unsupported ioctl: cmd=0xc020660b
  75. Unsupported ioctl: cmd=0xc020660b
  76. Unsupported ioctl: cmd=0xc020660b
  77. Unsupported ioctl: cmd=0xc020660b
  78. Unsupported ioctl: cmd=0xc020660b
  79. Unsupported ioctl: cmd=0xc020660b
  80. Unsupported ioctl: cmd=0xc020660b
  81. Unsupported ioctl: cmd=0xc020660b
  82. Unsupported ioctl: cmd=0xc020660b
  83. Unsupported ioctl: cmd=0xc020660b
  84. Unsupported ioctl: cmd=0xc020660b
  85. Unsupported ioctl: cmd=0xc020660b
  86. Unsupported ioctl: cmd=0xc020660b
  87. Unsupported ioctl: cmd=0xc020660b
  88. Unsupported ioctl: cmd=0xc020660b
  89. Unsupported ioctl: cmd=0xc020660b
  90. Unsupported ioctl: cmd=0xc020660b
  91. Unsupported ioctl: cmd=0xc020660b
  92. Unsupported ioctl: cmd=0xc020660b
  93. Unsupported ioctl: cmd=0xc020660b
  94. Unsupported ioctl: cmd=0xc020660b
  95. Unsupported ioctl: cmd=0xc020660b
  96. Unsupported ioctl: cmd=0xc020660b
  97. Unsupported ioctl: cmd=0xc020660b
  98. Unsupported ioctl: cmd=0xc020660b
  99. Unsupported ioctl: cmd=0xc020660b
  100. Unsupported ioctl: cmd=0xc020660b
  101. Unsupported ioctl: cmd=0xc020660b
  102. Unsupported ioctl: cmd=0xc020660b
  103. Unsupported ioctl: cmd=0xc020660b
  104. Unsupported ioctl: cmd=0xc020660b
  105. Unsupported ioctl: cmd=0xc020660b
  106. Unsupported ioctl: cmd=0xc020660b
  107. Unsupported ioctl: cmd=0xc020660b
  108. Unsupported ioctl: cmd=0xc020660b
  109. Unsupported ioctl: cmd=0xc020660b
  110. Unsupported ioctl: cmd=0xc020660b
  111. Unsupported ioctl: cmd=0xc020660b
  112. Unsupported ioctl: cmd=0xc020660b
  113. Unsupported ioctl: cmd=0xc020660b
  114. Unsupported ioctl: cmd=0xc020660b
  115. Unsupported ioctl: cmd=0xc020660b
  116. Unsupported ioctl: cmd=0xc020660b
  117. Unsupported ioctl: cmd=0xc020660b
  118. Unsupported ioctl: cmd=0xc020660b
  119. Unsupported ioctl: cmd=0xc020660b
  120. Unsupported ioctl: cmd=0xc020660b
  121. Unsupported ioctl: cmd=0xc020660b
  122. Unsupported ioctl: cmd=0xc020660b
  123. Unsupported ioctl: cmd=0xc020660b
  124. Unsupported ioctl: cmd=0xc020660b
  125. Unsupported ioctl: cmd=0xc020660b
  126. Unsupported ioctl: cmd=0xc020660b
  127. Unsupported ioctl: cmd=0xc020660b
  128. Unsupported ioctl: cmd=0xc020660b
  129. Unsupported ioctl: cmd=0xc020660b
  130. Unsupported ioctl: cmd=0xc020660b
  131. Unsupported ioctl: cmd=0xc020660b
  132. Unsupported ioctl: cmd=0xc020660b
  133. Unsupported ioctl: cmd=0xc020660b
  134. Unsupported ioctl: cmd=0xc020660b
  135. Unsupported ioctl: cmd=0xc020660b
  136. Unsupported ioctl: cmd=0xc020660b
  137. Unsupported ioctl: cmd=0xc020660b
  138. Unsupported ioctl: cmd=0xc020660b
  139. Unsupported ioctl: cmd=0xc020660b
  140. Unsupported ioctl: cmd=0xc020660b
  141. Unsupported ioctl: cmd=0xc020660b
  142. Unsupported ioctl: cmd=0xc020660b
  143. Unsupported ioctl: cmd=0xc020660b
  144. Unsupported ioctl: cmd=0xc020660b
  145. Unsupported ioctl: cmd=0xc020660b
  146. Unsupported ioctl: cmd=0xc020660b
  147. Unsupported ioctl: cmd=0xc020660b
  148. Unsupported ioctl: cmd=0xc020660b
  149. Unsupported ioctl: cmd=0xc020660b
  150. Unsupported ioctl: cmd=0xc020660b
  151. Unsupported ioctl: cmd=0xc020660b
  152. Unsupported ioctl: cmd=0xc020660b
  153. Unsupported ioctl: cmd=0xc020660b
  154. Unsupported ioctl: cmd=0xc020660b
  155. Unsupported ioctl: cmd=0xc020660b
  156. Unsupported ioctl: cmd=0xc020660b
  157. Unsupported ioctl: cmd=0xc020660b
  158. Unsupported ioctl: cmd=0xc020660b
  159. Unsupported ioctl: cmd=0xc020660b
  160. Unsupported ioctl: cmd=0xc020660b
  161. Unsupported ioctl: cmd=0xc020660b
  162. Unsupported ioctl: cmd=0xc020660b
  163. Unsupported ioctl: cmd=0xc020660b
  164. Unsupported ioctl: cmd=0xc020660b
  165. Unsupported ioctl: cmd=0xc020660b
  166. Unsupported ioctl: cmd=0xc020660b
  167. Unsupported ioctl: cmd=0xc020660b
  168. Unsupported ioctl: cmd=0xc020660b
  169. Unsupported ioctl: cmd=0xc020660b
  170. Unsupported ioctl: cmd=0xc020660b
  171. Unsupported ioctl: cmd=0xc020660b
  172. Unsupported ioctl: cmd=0xc020660b
  173. Unsupported ioctl: cmd=0xc020660b
  174. Unsupported ioctl: cmd=0xc020660b
  175. Unsupported ioctl: cmd=0xc020660b
  176. Unsupported ioctl: cmd=0xc020660b
  177. Unsupported ioctl: cmd=0xc020660b
  178. Unsupported ioctl: cmd=0xc020660b
  179. Unsupported ioctl: cmd=0xc020660b
  180. Unsupported ioctl: cmd=0xc020660b
  181. Unsupported ioctl: cmd=0xc020660b
  182. Unsupported ioctl: cmd=0xc020660b
  183. Unsupported ioctl: cmd=0xc020660b
  184. Unsupported ioctl: cmd=0xc020660b
  185. Unsupported ioctl: cmd=0xc020660b
  186. Unsupported ioctl: cmd=0xc020660b
  187. Unsupported ioctl: cmd=0xc020660b
  188. Unsupported ioctl: cmd=0xc020660b
  189. Unsupported ioctl: cmd=0xc020660b
  190. Unsupported ioctl: cmd=0xc020660b
  191. Unsupported ioctl: cmd=0xc020660b
  192. Unsupported ioctl: cmd=0xc020660b
  193. Unsupported ioctl: cmd=0xc020660b
  194. Unsupported ioctl: cmd=0xc020660b
  195. Unsupported ioctl: cmd=0xc020660b
  196. Unsupported ioctl: cmd=0xc020660b
  197. Unsupported ioctl: cmd=0xc020660b
  198. Unsupported ioctl: cmd=0xc020660b
  199. Unsupported ioctl: cmd=0xc020660b
  200. Unsupported ioctl: cmd=0xc020660b
  201. Unsupported ioctl: cmd=0xc020660b
  202. Unsupported ioctl: cmd=0xc020660b
  203. Unsupported ioctl: cmd=0xc020660b
  204. Unsupported ioctl: cmd=0xc020660b
  205. Unsupported ioctl: cmd=0xc020660b
  206. Unsupported ioctl: cmd=0xc020660b
  207. Unsupported ioctl: cmd=0xc020660b
  208. Unsupported ioctl: cmd=0xc020660b
  209. Unsupported ioctl: cmd=0xc020660b
  210. Unsupported ioctl: cmd=0xc020660b
  211. Unsupported ioctl: cmd=0xc020660b
  212. Unsupported ioctl: cmd=0xc020660b
  213. Unsupported ioctl: cmd=0xc020660b
  214. Unsupported ioctl: cmd=0xc020660b
  215. Unsupported ioctl: cmd=0xc020660b
  216. Unsupported ioctl: cmd=0xc020660b
  217. Unsupported ioctl: cmd=0xc020660b
  218. Unsupported ioctl: cmd=0xc020660b
  219. Unsupported ioctl: cmd=0xc020660b
  220. Unsupported ioctl: cmd=0xc020660b
  221. Unsupported ioctl: cmd=0xc020660b
  222. (Reading database ... 12129 files and directories currently installed.)
  223. Preparing to replace wireless-crda 1.12 (using .../wireless-crda_1.12_armel.deb) ...
  224. Unpacking replacement wireless-crda ...
  225. Preparing to replace linux-image-2.6.35-1006-linaro-omap 2.6.35-1006.12 (using .../linux-image-2.6.35-1006-linaro-omap_2.6.35-1006.12_armel.deb) ...
  226. perl: warning: Setting locale failed.
  227. perl: warning: Please check that your locale settings:
  228. LANGUAGE = (unset),
  229. LC_ALL = (unset),
  230. LANG = "en_US.utf8"
  231. are supported and installed on your system.
  232. perl: warning: Falling back to the standard locale ("C").
  233. perl: warning: Setting locale failed.
  234. perl: warning: Please check that your locale settings:
  235. LANGUAGE = (unset),
  236. LC_ALL = (unset),
  237. LANG = "en_US.utf8"
  238. are supported and installed on your system.
  239. perl: warning: Falling back to the standard locale ("C").
  240. perl: warning: Setting locale failed.
  241. perl: warning: Please check that your locale settings:
  242. LANGUAGE = (unset),
  243. LC_ALL = (unset),
  244. LANG = "en_US.utf8"
  245. are supported and installed on your system.
  246. perl: warning: Falling back to the standard locale ("C").
  247. /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
  248. /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  249. /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
  250. perl: warning: Setting locale failed.
  251. perl: warning: Please check that your locale settings:
  252. LANGUAGE = (unset),
  253. LC_ALL = (unset),
  254. LANG = "en_US.utf8"
  255. are supported and installed on your system.
  256. perl: warning: Falling back to the standard locale ("C").
  257. Done.
  258. Unpacking replacement linux-image-2.6.35-1006-linaro-omap ...
  259. perl: warning: Setting locale failed.
  260. perl: warning: Please check that your locale settings:
  261. LANGUAGE = (unset),
  262. LC_ALL = (unset),
  263. LANG = "en_US.utf8"
  264. are supported and installed on your system.
  265. perl: warning: Falling back to the standard locale ("C").
  266. Examining /etc/kernel/postrm.d .
  267. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-1006-linaro-omap /boot/vmlinuz-2.6.35-1006-linaro-omap
  268. Preparing to replace linux-firmware 1.38 (using .../linux-firmware_1.38_all.deb) ...
  269. Unpacking replacement linux-firmware ...
  270. Preparing to replace linux-image-linaro-omap 2.6.35.1006.11 (using .../linux-image-linaro-omap_2.6.35.1006.11_armel.deb) ...
  271. Unpacking replacement linux-image-linaro-omap ...
  272. Preparing to replace u-boot-linaro-omap3-beagle 2010.09~rc1.1-0ubuntu3 (using .../u-boot-linaro-omap3-beagle_2010.09~rc1.1-0ubuntu3_armel.deb) ...
  273. Unpacking replacement u-boot-linaro-omap3-beagle ...
  274. Preparing to replace x-loader-omap 1.4.4git20100713-1ubuntu1 (using .../x-loader-omap_1.4.4git20100713-1ubuntu2_armel.deb) ...
  275. Unpacking replacement x-loader-omap ...
  276. Can not write log, openpty() failed (/dev/pts not mounted?)
  277. Setting up wireless-crda (1.12) ...
  278. Setting up linux-image-2.6.35-1006-linaro-omap (2.6.35-1006.12) ...
  279. perl: warning: Setting locale failed.
  280. perl: warning: Please check that your locale settings:
  281. LANGUAGE = (unset),
  282. LC_ALL = (unset),
  283. LANG = "en_US.utf8"
  284. are supported and installed on your system.
  285. perl: warning: Falling back to the standard locale ("C").
  286. Running depmod.
  287. update-initramfs: Generating /boot/initrd.img-2.6.35-1006-linaro-omap
  288. /bin/df: Warning: cannot read table of mounted file systems: No such file or directory
  289. Not updating initrd symbolic links since we are being updated/reinstalled
  290. (2.6.35-1006.12 was configured last, according to dpkg)
  291. Not updating image symbolic links since we are being updated/reinstalled
  292. (2.6.35-1006.12 was configured last, according to dpkg)
  293. Examining /etc/kernel/postinst.d.
  294. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.35-1006-linaro-omap /boot/vmlinuz-2.6.35-1006-linaro-omap
  295. Setting up linux-firmware (1.38) ...
  296. Setting up linux-image-linaro-omap (2.6.35.1006.11) ...
  297. Setting up u-boot-linaro-omap3-beagle (2010.09~rc1.1-0ubuntu3) ...
  298. Setting up x-loader-omap (1.4.4git20100713-1ubuntu2) ...
  299. Done
  300. Cleaning up ...
  301. Done
  302.  
  303. Umounting Partitions
  304.  
  305. Checking that no-one is using this disk right now ...
  306. OK
  307.  
  308. Disk /dev/sde: 1020 cylinders, 255 heads, 63 sectors/track
  309. Old situation:
  310. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
  311.  
  312. Device Boot Start End #cyls #blocks Id System
  313. /dev/sde1 0 - 0 0 0 Empty
  314. /dev/sde2 0 - 0 0 0 Empty
  315. /dev/sde3 0 - 0 0 0 Empty
  316. /dev/sde4 0 - 0 0 0 Empty
  317. New situation:
  318. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
  319.  
  320. Device Boot Start End #cyls #blocks Id System
  321. /dev/sde1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
  322. /dev/sde2 9 487 479 3847567+ 83 Linux
  323. /dev/sde3 0 - 0 0 0 Empty
  324. /dev/sde4 0 - 0 0 0 Empty
  325. Successfully wrote the new partition table
  326.  
  327. Re-reading the partition table ...
  328.  
  329. If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
  330. to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
  331. (See fdisk(8).)
  332. waiting for partitioning to settle ...done.
  333.  
  334. Formating Boot Partition
  335.  
  336. mkfs.vfat 3.0.9 (31 Jan 2010)
  337.  
  338. Formating ext3 Partition
  339.  
  340. mke2fs 1.41.12 (17-May-2010)
  341. Filesystem label=rootfs
  342. OS type: Linux
  343. Block size=4096 (log=2)
  344. Fragment size=4096 (log=2)
  345. Stride=0 blocks, Stripe width=0 blocks
  346. 240480 inodes, 961891 blocks
  347. 48094 blocks (5.00%) reserved for the super user
  348. First data block=0
  349. Maximum filesystem blocks=985661440
  350. 30 block groups
  351. 32768 blocks per group, 32768 fragments per group
  352. 8016 inodes per group
  353. Superblock backups stored on blocks:
  354. 32768, 98304, 163840, 229376, 294912, 819200, 884736
  355.  
  356. Writing inode tables: done
  357. Creating journal (16384 blocks): done
  358. Writing superblocks and filesystem accounting information: done
  359.  
  360. This filesystem will be automatically checked every 23 mounts or
  361. 180 days, whichever comes first. Use tune2fs -c or -i to override.
  362.  
  363. Populating Boot Partition
  364.  
  365.  
  366. Installing Boot Loader
  367.  
  368. `binary/usr/lib/x-loader-omap/MLO' -> `/home/rber/daily-snapshots/20100930/image/boot-disc/MLO'
  369. done
  370. Image Name: Linux
  371. Created: Thu Sep 30 12:43:24 2010
  372. Image Type: ARM Linux Kernel Image (uncompressed)
  373. Data Size: 3704164 Bytes = 3617.35 kB = 3.53 MB
  374. Load Address: 0x80008000
  375. Entry Point: 0x80008000
  376. Image Name: initramfs
  377. Created: Thu Sep 30 12:43:29 2010
  378. Image Type: ARM Linux RAMDisk Image (uncompressed)
  379. Data Size: 4762187 Bytes = 4650.57 kB = 4.54 MB
  380. Load Address: 0x00000000
  381. Entry Point: 0x00000000
  382. Image Name: boot script
  383. Created: Thu Sep 30 12:43:36 2010
  384. Image Type: ARM Linux Script (uncompressed)
  385. Data Size: 343 Bytes = 0.33 kB = 0.00 MB
  386. Load Address: 0x00000000
  387. Entry Point: 0x00000000
  388. Contents:
  389. Image 0: 335 Bytes = 0 kB = 0 MB
  390. `/home/rber/daily-snapshots/20100930/image/boot-disc/boot.scr' -> `/home/rber/daily-snapshots/20100930/image/boot-disc/boot.ini'
  391.  
  392. Populating rootfs Partition
  393. Be patient, this may take a few minutes
  394. UUID=9b798a6a-14bb-4a72-b0aa-6f1a0d29749b / ext3 errors=remount-ro 0 1
  395.  
  396. Creating /etc/flash-kernel.conf
  397.  
  398. umount: /home/rber/daily-snapshots/20100930/image/binary/proc: not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement