You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the script running on Fedora. I removed all those 'apt' related lines of code at the start, and installed the dependencies. I installed the following Fedora packages with dnf...
I ran the script as root without sudo, and it almost worked, here is the output...
# # #
#########
### ###
# {#} #
### '\######
# #
### ###
########
# # #
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
pn
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
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:
git config pull.rebase false # merge (the default strategy)
git config pull.rebase true # rebase
git config pull.ff only # fast-forward only
You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.
Already up to date.
== Pocketchip selected ==
== No Limit mode ==
== preparing images ==
== Local/cached probe files located ==
== Staging for NAND probe ==
Image Name: detect NAND
Created: Wed Feb 3 20:54:19 2021
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=500
nand_writesize=4000
== Cached UBI located ==
Image Name: flash pocketchip
Created: Wed Feb 3 20:54:31 2021
Image Type: ARM Linux Script (uncompressed)
Data Size: 2288 Bytes = 2.23 KiB = 0.00 MiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 2280 Bytes = 2.23 KiB = 0.00 MiB
waiting for fel...OK
waiting for fastboot...fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.fastboot: invalid option -- 'i'
.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.
It is clearly having trouble with running fastboot which led to a timeout of some kind.
The text was updated successfully, but these errors were encountered:
Installing an older version of platform-tools directly from android seems to do the trick for me. If you run fastboot -h and don't see an -i <vendor id> Specify a custom USB vendor id. option, then that's your problem.
I am trying to get the script running on Fedora. I removed all those 'apt' related lines of code at the start, and installed the dependencies. I installed the following Fedora packages with dnf...
dnf install curl wget git android-tools uboot-tools sunxi-tools
I ran the script as root without sudo, and it almost worked, here is the output...
It is clearly having trouble with running fastboot which led to a timeout of some kind.
The text was updated successfully, but these errors were encountered: