Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- finta@ez-VirtualBox:~$ cd chip/Flash-CHIP/
- finta@ez-VirtualBox:~/chip/Flash-CHIP$ sudo ./Flash.sh
- [sudo] password for finta:
- # # #
- #########
- ### ###
- # {#} #
- ### '\######
- # #
- ### ###
- ########
- # # #
- Welcome to the C.H.I.P Flasher Tool
- Please enter your wanted flavour
- ++++++++++++++++++++++++++++++++++++++++++
- enter p for pocketchip Image
- enter s for the headless Server Image
- enter g for the Desktop Image
- enter b for the Buildroot Image
- ++++++++++++++++++++++++++++++++++++++++++
- IMPORTANT INFO
- If u suffer from Power Problems add a n
- to your choice of flavour
- Example: gn for the No-Limit Desktop Image
- ++++++++++++++++++++++++++++++++++++++++++
- Other options
- ++++++++++++++++++++++++++++++++++++++++++
- enter f for Force Clean
- ++++++++++++++++++++++++++++++++++++++++++
- Then press enter please
- p
- Setting up environment
- Reading package lists... Done
- E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
- E: Unable to lock directory /var/lib/apt/lists/
- E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
- E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
- E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
- E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
- E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
- E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
- Adding current user to dialout group
- logname: no login name
- Usage: usermod [options] LOGIN
- Options:
- -c, --comment COMMENT new value of the GECOS field
- -d, --home HOME_DIR new home directory for the user account
- -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
- -f, --inactive INACTIVE set password inactive after expiration
- to INACTIVE
- -g, --gid GROUP force use GROUP as new primary group
- -G, --groups GROUPS new list of supplementary GROUPS
- -a, --append append the user to the supplemental GROUPS
- mentioned by the -G option without removing
- him/her from other groups
- -h, --help display this help message and exit
- -l, --login NEW_LOGIN new value of the login name
- -L, --lock lock the user account
- -m, --move-home move contents of the home directory to the
- new location (use only with -d)
- -o, --non-unique allow using duplicate (non-unique) UID
- -p, --password PASSWORD use encrypted password for the new password
- -R, --root CHROOT_DIR directory to chroot into
- -s, --shell SHELL new login shell for the user account
- -u, --uid UID new UID for the user account
- -U, --unlock unlock the user account
- -v, --add-subuids FIRST-LAST add range of subordinate uids
- -V, --del-subuids FIRST-LAST remove range of subordinate uids
- -w, --add-subgids FIRST-LAST add range of subordinate gids
- -W, --del-subgids FIRST-LAST remove range of subordinate gids
- -Z, --selinux-user SEUSER new SELinux user mapping for the user account
- Adding current user to plugdev group
- logname: no login name
- Usage: usermod [options] LOGIN
- Options:
- -c, --comment COMMENT new value of the GECOS field
- -d, --home HOME_DIR new home directory for the user account
- -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
- -f, --inactive INACTIVE set password inactive after expiration
- to INACTIVE
- -g, --gid GROUP force use GROUP as new primary group
- -G, --groups GROUPS new list of supplementary GROUPS
- -a, --append append the user to the supplemental GROUPS
- mentioned by the -G option without removing
- him/her from other groups
- -h, --help display this help message and exit
- -l, --login NEW_LOGIN new value of the login name
- -L, --lock lock the user account
- -m, --move-home move contents of the home directory to the
- new location (use only with -d)
- -o, --non-unique allow using duplicate (non-unique) UID
- -p, --password PASSWORD use encrypted password for the new password
- -R, --root CHROOT_DIR directory to chroot into
- -s, --shell SHELL new login shell for the user account
- -u, --uid UID new UID for the user account
- -U, --unlock unlock the user account
- -v, --add-subuids FIRST-LAST add range of subordinate uids
- -V, --del-subuids FIRST-LAST remove range of subordinate uids
- -w, --add-subgids FIRST-LAST add range of subordinate gids
- -W, --del-subgids FIRST-LAST remove range of subordinate gids
- -Z, --selinux-user SEUSER new SELinux user mapping for the user account
- Adding udev rule for Allwinner device
- SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plugdev", MODE="0660" SYMLINK+="usb-serial-adapter"
- Installing CHIP-tools
- Already up to date.
- == Pocketchip selected ==
- == preparing images ==
- == New image available ==
- == Downloading.. ==
- --2019-07-16 00:59:18-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-40000-1000-100.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 278528 (272K) [application/octet-stream]
- Saving to: ‘spl-40000-1000-100.bin’
- spl-40000-1000-100. 100%[===================>] 272.00K 644KB/s in 0.4s
- 2019-07-16 00:59:19 (644 KB/s) - ‘spl-40000-1000-100.bin’ saved [278528/278528]
- --2019-07-16 00:59:19-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-400000-4000-500.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 4521984 (4.3M) [application/octet-stream]
- Saving to: ‘spl-400000-4000-500.bin’
- spl-400000-4000-500 100%[===================>] 4.31M 3.22MB/s in 1.3s
- 2019-07-16 00:59:20 (3.22 MB/s) - ‘spl-400000-4000-500.bin’ saved [4521984/4521984]
- --2019-07-16 00:59:20-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/spl-400000-4000-680.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 4620288 (4.4M) [application/octet-stream]
- Saving to: ‘spl-400000-4000-680.bin’
- spl-400000-4000-680 100%[===================>] 4.41M 3.13MB/s in 1.4s
- 2019-07-16 00:59:22 (3.13 MB/s) - ‘spl-400000-4000-680.bin’ saved [4620288/4620288]
- --2019-07-16 00:59:22-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/sunxi-spl.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 24576 (24K) [application/octet-stream]
- Saving to: ‘sunxi-spl.bin’
- sunxi-spl.bin 100%[===================>] 24.00K --.-KB/s in 0.08s
- 2019-07-16 00:59:22 (308 KB/s) - ‘sunxi-spl.bin’ saved [24576/24576]
- --2019-07-16 00:59:22-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/u-boot-dtb.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 626582 (612K) [application/octet-stream]
- Saving to: ‘u-boot-dtb.bin’
- u-boot-dtb.bin 100%[===================>] 611.90K 1.19MB/s in 0.5s
- 2019-07-16 00:59:23 (1.19 MB/s) - ‘u-boot-dtb.bin’ saved [626582/626582]
- --2019-07-16 00:59:23-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/uboot-40000.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 786432 (768K) [application/octet-stream]
- Saving to: ‘uboot-40000.bin’
- uboot-40000.bin 100%[===================>] 768.00K 1.24MB/s in 0.6s
- 2019-07-16 00:59:24 (1.24 MB/s) - ‘uboot-40000.bin’ saved [786432/786432]
- --2019-07-16 00:59:24-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/uboot-400000.bin
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 4194304 (4.0M) [application/octet-stream]
- Saving to: ‘uboot-400000.bin’
- uboot-400000.bin 100%[===================>] 4.00M 2.64MB/s in 1.5s
- 2019-07-16 00:59:25 (2.64 MB/s) - ‘uboot-400000.bin’ saved [4194304/4194304]
- == Staging for NAND probe ==
- Image Name: detect NAND
- Created: Tue Jul 16 00:59:25 2019
- Image Type: ARM Linux Script (uncompressed)
- Data Size: 97 Bytes = 0.09 KiB = 0.00 MiB
- Load Address: 00000000
- Entry Point: 00000000
- Contents:
- Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB
- waiting for fel...OK
- waiting for fel.......OK
- NAND detected:
- nand_erasesize=400000
- nand_oobsize=680
- nand_writesize=4000
- == Downloading new UBI, this will be cached for future flashes. ==
- --2019-07-16 00:59:36-- http://chip.jfpossibilities.com/chip/images/stable/pocketchip/126/chip-400000-4000-680.ubi.sparse
- Resolving chip.jfpossibilities.com (chip.jfpossibilities.com)... 23.239.1.46, 2600:3c01::f03c:91ff:fe08:29a3
- Connecting to chip.jfpossibilities.com (chip.jfpossibilities.com)|23.239.1.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 662700072 (632M)
- Saving to: ‘chip-400000-4000-680.ubi.sparse’
- chip-400000-4000-68 100%[===================>] 632.00M 4.88MB/s in 1m 48s
- 2019-07-16 01:01:25 (5.83 MB/s) - ‘chip-400000-4000-680.ubi.sparse’ saved [662700072/662700072]
- Image Name: flash pocketchip
- Created: Tue Jul 16 01:01:25 2019
- Image Type: ARM Linux Script (uncompressed)
- Data Size: 2189 Bytes = 2.14 KiB = 0.00 MiB
- Load Address: 00000000
- Entry Point: 00000000
- Contents:
- Image 0: 2181 Bytes = 2.13 KiB = 0.00 MiB
- waiting for fel...OK
- waiting for fastboot.................................TIMEOUT
- failed to flash the UBI image
- FLASH VERIFICATION FAILED.
- TROUBLESHOOTING:
- Is the FEL pin connected to GND?
- Have you tried turning it off and turning it on again?
- Did you run the setup script in CHIP-SDK?
- Download could be corrupt, it can be re-downloaded by adding the '-f' flag.
- finta@ez-VirtualBox:~/chip/Flash-CHIP$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement