I am following the "manually configure your environment" in Appendix C of the Getting started guide...
$ cd ~/pico
$ git clone https://github.com/raspberrypi/pico-sdk.git --branch master
$ cd pico-sdk
$ git submodule update --init
A couple submodules initialize but some fail.
I tried using different git compression settings. And also changing different git configurations per stack overflow and other places. Have been fairly diligent in trying to help myself and have failed to find a resolution. Also tried the pi script to configure, deleting and refetching, etc... Need help please.... Seems like this will also happen to others....
running the git submodule update --init again yields the summary of what failed..:
Cloning into '/home/heistad/pico/pico-sdk/lib/btstack'...
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 7185 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/bluekitchen/btstack.git' into submodule path '/home/heistad/pico/pico-sdk/lib/btstack' failed
Failed to clone 'lib/btstack'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/mbedtls'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 538 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/Mbed-TLS/mbedtls.git' into submodule path '/home/heistad/pico/pico-sdk/lib/mbedtls' failed
Failed to clone 'lib/mbedtls'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/tinyusb'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5784 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/hathach/tinyusb.git' into submodule path '/home/heistad/pico/pico-sdk/lib/tinyusb' failed
Failed to clone 'lib/tinyusb'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/btstack'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6174 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/bluekitchen/btstack.git' into submodule path '/home/heistad/pico/pico-sdk/lib/btstack' failed
Failed to clone 'lib/btstack' a second time, aborting
$ cd ~/pico
$ git clone https://github.com/raspberrypi/pico-sdk.git --branch master
$ cd pico-sdk
$ git submodule update --init
A couple submodules initialize but some fail.
I tried using different git compression settings. And also changing different git configurations per stack overflow and other places. Have been fairly diligent in trying to help myself and have failed to find a resolution. Also tried the pi script to configure, deleting and refetching, etc... Need help please.... Seems like this will also happen to others....
running the git submodule update --init again yields the summary of what failed..:
Cloning into '/home/heistad/pico/pico-sdk/lib/btstack'...
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 7185 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/bluekitchen/btstack.git' into submodule path '/home/heistad/pico/pico-sdk/lib/btstack' failed
Failed to clone 'lib/btstack'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/mbedtls'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 538 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/Mbed-TLS/mbedtls.git' into submodule path '/home/heistad/pico/pico-sdk/lib/mbedtls' failed
Failed to clone 'lib/mbedtls'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/tinyusb'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5784 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/hathach/tinyusb.git' into submodule path '/home/heistad/pico/pico-sdk/lib/tinyusb' failed
Failed to clone 'lib/tinyusb'. Retry scheduled
Cloning into '/home/heistad/pico/pico-sdk/lib/btstack'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6174 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/bluekitchen/btstack.git' into submodule path '/home/heistad/pico/pico-sdk/lib/btstack' failed
Failed to clone 'lib/btstack' a second time, aborting
Statistics: Posted by realriptide — Sun Dec 01, 2024 9:48 pm