Advertisement
Guest User

flashing trouble

a guest
Jul 16th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. finta@ez-VirtualBox:~$ cd chip/Flash-CHIP/
  2. finta@ez-VirtualBox:~/chip/Flash-CHIP$ sudo ./Flash.sh
  3. [sudo] password for finta:
  4. # # #
  5. #########
  6. ### ###
  7. # {#} #
  8. ### '\######
  9. # #
  10. ### ###
  11. ########
  12. # # #
  13. Welcome to the C.H.I.P Flasher Tool
  14. Please enter your wanted flavour
  15. ++++++++++++++++++++++++++++++++++++++++++
  16. enter p for pocketchip Image
  17. enter s for the headless Server Image
  18. enter g for the Desktop Image
  19. enter b for the Buildroot Image
  20. ++++++++++++++++++++++++++++++++++++++++++
  21. IMPORTANT INFO
  22. If u suffer from Power Problems add a n
  23. to your choice of flavour
  24. Example: gn for the No-Limit Desktop Image
  25. ++++++++++++++++++++++++++++++++++++++++++
  26. Other options
  27. ++++++++++++++++++++++++++++++++++++++++++
  28. enter f for Force Clean
  29. ++++++++++++++++++++++++++++++++++++++++++
  30. Then press enter please
  31. p
  32.  
  33. Setting up environment
  34. Reading package lists... Done
  35. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
  36. E: Unable to lock directory /var/lib/apt/lists/
  37. E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
  38. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
  39. E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
  40. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
  41. E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
  42. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
  43.  
  44. Adding current user to dialout group
  45. logname: no login name
  46. Usage: usermod [options] LOGIN
  47.  
  48. Options:
  49. -c, --comment COMMENT new value of the GECOS field
  50. -d, --home HOME_DIR new home directory for the user account
  51. -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
  52. -f, --inactive INACTIVE set password inactive after expiration
  53. to INACTIVE
  54. -g, --gid GROUP force use GROUP as new primary group
  55. -G, --groups GROUPS new list of supplementary GROUPS
  56. -a, --append append the user to the supplemental GROUPS
  57. mentioned by the -G option without removing
  58. him/her from other groups
  59. -h, --help display this help message and exit
  60. -l, --login NEW_LOGIN new value of the login name
  61. -L, --lock lock the user account
  62. -m, --move-home move contents of the home directory to the
  63. new location (use only with -d)
  64. -o, --non-unique allow using duplicate (non-unique) UID
  65. -p, --password PASSWORD use encrypted password for the new password
  66. -R, --root CHROOT_DIR directory to chroot into
  67. -s, --shell SHELL new login shell for the user account
  68. -u, --uid UID new UID for the user account
  69. -U, --unlock unlock the user account
  70. -v, --add-subuids FIRST-LAST add range of subordinate uids
  71. -V, --del-subuids FIRST-LAST remove range of subordinate uids
  72. -w, --add-subgids FIRST-LAST add range of subordinate gids
  73. -W, --del-subgids FIRST-LAST remove range of subordinate gids
  74. -Z, --selinux-user SEUSER new SELinux user mapping for the user account
  75.  
  76.  
  77. Adding current user to plugdev group
  78. logname: no login name
  79. Usage: usermod [options] LOGIN
  80.  
  81. Options:
  82. -c, --comment COMMENT new value of the GECOS field
  83. -d, --home HOME_DIR new home directory for the user account
  84. -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
  85. -f, --inactive INACTIVE set password inactive after expiration
  86. to INACTIVE
  87. -g, --gid GROUP force use GROUP as new primary group
  88. -G, --groups GROUPS new list of supplementary GROUPS
  89. -a, --append append the user to the supplemental GROUPS
  90. mentioned by the -G option without removing
  91. him/her from other groups
  92. -h, --help display this help message and exit
  93. -l, --login NEW_LOGIN new value of the login name
  94. -L, --lock lock the user account
  95. -m, --move-home move contents of the home directory to the
  96. new location (use only with -d)
  97. -o, --non-unique allow using duplicate (non-unique) UID
  98. -p, --password PASSWORD use encrypted password for the new password
  99. -R, --root CHROOT_DIR directory to chroot into
  100. -s, --shell SHELL new login shell for the user account
  101. -u, --uid UID new UID for the user account
  102. -U, --unlock unlock the user account
  103. -v, --add-subuids FIRST-LAST add range of subordinate uids
  104. -V, --del-subuids FIRST-LAST remove range of subordinate uids
  105. -w, --add-subgids FIRST-LAST add range of subordinate gids
  106. -W, --del-subgids FIRST-LAST remove range of subordinate gids
  107. -Z, --selinux-user SEUSER new SELinux user mapping for the user account
  108.  
  109.  
  110. Adding udev rule for Allwinner device
  111. SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
  112. SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
  113. SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
  114. SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plugdev", MODE="0660" SYMLINK+="usb-serial-adapter"
  115.  
  116.  
  117. Installing CHIP-tools
  118. Already up to date.
  119. == Pocketchip selected ==
  120. == preparing images ==
  121. == New image available ==
  122. == Downloading.. ==
  123. --2019-07-16 00:59:18-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-40000-1000-100.bin
  124. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  125. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  126. HTTP request sent, awaiting response... 200 OK
  127. Length: 278528 (272K) [application/octet-stream]
  128. Saving to: ‘spl-40000-1000-100.bin’
  129.  
  130. spl-40000-1000-100. 100%[===================>] 272.00K 644KB/s in 0.4s
  131.  
  132. 2019-07-16 00:59:19 (644 KB/s) - ‘spl-40000-1000-100.bin’ saved [278528/278528]
  133.  
  134. --2019-07-16 00:59:19-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-400000-4000-500.bin
  135. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  136. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  137. HTTP request sent, awaiting response... 200 OK
  138. Length: 4521984 (4.3M) [application/octet-stream]
  139. Saving to: ‘spl-400000-4000-500.bin’
  140.  
  141. spl-400000-4000-500 100%[===================>] 4.31M 3.22MB/s in 1.3s
  142.  
  143. 2019-07-16 00:59:20 (3.22 MB/s) - ‘spl-400000-4000-500.bin’ saved [4521984/4521984]
  144.  
  145. --2019-07-16 00:59:20-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-400000-4000-680.bin
  146. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  147. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  148. HTTP request sent, awaiting response... 200 OK
  149. Length: 4620288 (4.4M) [application/octet-stream]
  150. Saving to: ‘spl-400000-4000-680.bin’
  151.  
  152. spl-400000-4000-680 100%[===================>] 4.41M 3.13MB/s in 1.4s
  153.  
  154. 2019-07-16 00:59:22 (3.13 MB/s) - ‘spl-400000-4000-680.bin’ saved [4620288/4620288]
  155.  
  156. --2019-07-16 00:59:22-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/sunxi-spl.bin
  157. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  158. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  159. HTTP request sent, awaiting response... 200 OK
  160. Length: 24576 (24K) [application/octet-stream]
  161. Saving to: ‘sunxi-spl.bin’
  162.  
  163. sunxi-spl.bin 100%[===================>] 24.00K --.-KB/s in 0.08s
  164.  
  165. 2019-07-16 00:59:22 (308 KB/s) - ‘sunxi-spl.bin’ saved [24576/24576]
  166.  
  167. --2019-07-16 00:59:22-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/u-boot-dtb.bin
  168. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  169. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  170. HTTP request sent, awaiting response... 200 OK
  171. Length: 626582 (612K) [application/octet-stream]
  172. Saving to: ‘u-boot-dtb.bin’
  173.  
  174. u-boot-dtb.bin 100%[===================>] 611.90K 1.19MB/s in 0.5s
  175.  
  176. 2019-07-16 00:59:23 (1.19 MB/s) - ‘u-boot-dtb.bin’ saved [626582/626582]
  177.  
  178. --2019-07-16 00:59:23-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/uboot-40000.bin
  179. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  180. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  181. HTTP request sent, awaiting response... 200 OK
  182. Length: 786432 (768K) [application/octet-stream]
  183. Saving to: ‘uboot-40000.bin’
  184.  
  185. uboot-40000.bin 100%[===================>] 768.00K 1.24MB/s in 0.6s
  186.  
  187. 2019-07-16 00:59:24 (1.24 MB/s) - ‘uboot-40000.bin’ saved [786432/786432]
  188.  
  189. --2019-07-16 00:59:24-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/uboot-400000.bin
  190. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  191. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  192. HTTP request sent, awaiting response... 200 OK
  193. Length: 4194304 (4.0M) [application/octet-stream]
  194. Saving to: ‘uboot-400000.bin’
  195.  
  196. uboot-400000.bin 100%[===================>] 4.00M 2.64MB/s in 1.5s
  197.  
  198. 2019-07-16 00:59:25 (2.64 MB/s) - ‘uboot-400000.bin’ saved [4194304/4194304]
  199.  
  200. == Staging for NAND probe ==
  201. Image Name: detect NAND
  202. Created: Tue Jul 16 00:59:25 2019
  203. Image Type: ARM Linux Script (uncompressed)
  204. Data Size: 97 Bytes = 0.09 KiB = 0.00 MiB
  205. Load Address: 00000000
  206. Entry Point: 00000000
  207. Contents:
  208. Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB
  209. waiting for fel...OK
  210. waiting for fel.......OK
  211. NAND detected:
  212. nand_erasesize=400000
  213. nand_oobsize=680
  214. nand_writesize=4000
  215. == Downloading new UBI, this will be cached for future flashes. ==
  216. --2019-07-16 00:59:36-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/chip-400000-4000-680.ubi.sparse
  217. Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
  218. Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
  219. HTTP request sent, awaiting response... 200 OK
  220. Length: 662700072 (632M)
  221. Saving to: ‘chip-400000-4000-680.ubi.sparse’
  222.  
  223. chip-400000-4000-68 100%[===================>] 632.00M 4.88MB/s in 1m 48s
  224.  
  225. 2019-07-16 01:01:25 (5.83 MB/s) - ‘chip-400000-4000-680.ubi.sparse’ saved [662700072/662700072]
  226.  
  227. Image Name: flash pocketchip
  228. Created: Tue Jul 16 01:01:25 2019
  229. Image Type: ARM Linux Script (uncompressed)
  230. Data Size: 2189 Bytes = 2.14 KiB = 0.00 MiB
  231. Load Address: 00000000
  232. Entry Point: 00000000
  233. Contents:
  234. Image 0: 2181 Bytes = 2.13 KiB = 0.00 MiB
  235. waiting for fel...OK
  236. waiting for fastboot.................................TIMEOUT
  237. failed to flash the UBI image
  238.  
  239. FLASH VERIFICATION FAILED.
  240.  
  241.  
  242. TROUBLESHOOTING:
  243.  
  244. Is the FEL pin connected to GND?
  245. Have you tried turning it off and turning it on again?
  246. Did you run the setup script in CHIP-SDK?
  247. Download could be corrupt, it can be re-downloaded by adding the '-f' flag.
  248.  
  249.  
  250.  
  251. finta@ez-VirtualBox:~/chip/Flash-CHIP$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement