fifteenhex / buildroot_idosom2d01

Buildroot for ido-som2d01 (and similar SSD20xD) based boards.
GNU General Public License v3.0
10 stars 6 forks source link

Git procedures conflict? #10

Closed ltrsunny closed 2 years ago

ltrsunny commented 2 years ago

I tried make buildroot-linux-menuconfig it pulled the codes and I edited the config.

Then I make it, but it seems repulling and overwrite the previous one.

>>> linux-headers mstar_v5_16_rebase Downloading
error: RPC failed; curl 16 Error in the HTTP2 framing layer
fatal: expected flush after ref listing
Detected a corrupted git cache.
Removing it and starting afresh.
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
remote: Enumerating objects: 8493235, done.
remote: Counting objects: 100% (2037/2037), done.
remote: Compressing objects: 100% (1348/1348), done.
Receiving objects:   2% (178877/8493235), 89.67 MiB | 42.00 KiB/s
fifteenhex commented 2 years ago

mm thats very weird. Try downloading the files in dl/linux and see if it can download them again.

ltrsunny commented 2 years ago

mm thats very weird. Try downloading the files in dl/linux and see if it can download them again.

It will reinitialize the git status and repeat from very beginning I give it a loop to make until it succeeds. But my connection is not that stable, hope it can be done tomorrow…….

Initialized empty Git repository in /home/dev/buildroot_idosom2d01/dl/uboot/git/.git/
GIT_DIR=/home/dev/buildroot_idosom2d01/dl/uboot/git/.git git remote add origin 'https://github.com/fifteenhex/u-boot.git'
GIT_DIR=/home/dev/buildroot_idosom2d01/dl/uboot/git/.git git remote set-url origin 'https://github.com/fifteenhex/u-boot.git'
Fetching all references
GIT_DIR=/home/dev/buildroot_idosom2d01/dl/uboot/git/.git git fetch origin
remote: Enumerating objects: 833459, done.
remote: Counting objects: 100% (726/726), done.
remote: Compressing objects: 100% (523/523), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection reset by peer, errno 104
error: 3975 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Detected a corrupted git cache.
This is the second time in a row; bailing out
wget --passive-ftp -nd -t 3 -O '/home/dev/buildroot_idosom2d01/buildroot/output/build/.uboot-mstar_rebase_mainline-br1.tar.gz.pUmGdI/output' 'http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz'
--2021-12-12 07:34:32--  http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 104.26.0.37, 172.67.72.56, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-12-12 07:34:32 ERROR 404: Not Found.

wget --passive-ftp -nd -t 3 -O '/home/dev/buildroot_idosom2d01/buildroot/output/build/.uboot-mstar_rebase_mainline-br1.tar.gz.s5tCfG/output' 'http://sources.buildroot.net/uboot-mstar_rebase_mainline-br1.tar.gz'
--2021-12-12 07:34:32--  http://sources.buildroot.net/uboot-mstar_rebase_mainline-br1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-12-12 07:34:33 ERROR 404: Not Found.

BTW I tried menuconfig again, my settings still there, lucky in the misfortune😂

ltrsunny commented 2 years ago

It seems trying to get http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz but nothing available there.

fifteenhex commented 2 years ago

It seems trying to get http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz but nothing available there.

buildroot will do that if it fails to pull from git. But as u-boot and the kernel are not available from the buildroot mirrors it will fail. I'll try to work out a solution for this. If your connection to github isn't good you're going to get stuck.

ltrsunny commented 2 years ago

It seems trying to get http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz but nothing available there.

buildroot will do that if it fails to pull from git. But as u-boot and the kernel are not available from the buildroot mirrors it will fail. I'll try to work out a solution for this. If your connection to github isn't good you're going to get stuck.

My connection to Github is... random? I guess it would be better in early morning, maybe.

ninoslavb commented 7 months ago

It seems trying to get http://sources.buildroot.net/uboot/uboot-mstar_rebase_mainline-br1.tar.gz but nothing available there.

buildroot will do that if it fails to pull from git. But as u-boot and the kernel are not available from the buildroot mirrors it will fail. I'll try to work out a solution for this. If your connection to github isn't good you're going to get stuck.

Have you found the solution for this?