Would it be an option to use 1 fixed branch name, that always has the latest patches? Me too I’m always searching which branch.
That’s why I stick with dangowrt’s mt7988-for-next branch for R4, which holds most latest patches and is always rebased. Then I don’t need to search and just build this one, even using a script.
git clone --depth 1 -b 6.12-main https://github.com/frank-w/BPI-Router-Linux.git
git stash
cd BPI-Router-Linux/
git config --global --add safe.directory $PWD
git stash
./build.sh updatesrc
# error:
Update kernel source
fatal: 'stable' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
# So i ran it again:
./build.sh updatesrc
Update kernel source
remote: Enumerating objects: 13545655, done.
# *** SNIP ***
* [new tag] v6.9.7 -> v6.9.7
* [new tag] v6.9.8 -> v6.9.8
* [new tag] v6.9.9 -> v6.9.9
newkernver:6.12.31 (max:6.12.32)
fatal: refusing to merge unrelated histories
./build.sh importconfig
grep 6.12 ../build/.config
# Linux/arm64 6.12.30 Kernel Configuration
So, no 6.12.32, any other alternative Frank?
So actually running 6.15.0, which came from your branch 6.16-mt7988 branch, the problems with the mt7922 seem to be been fixed, but again, the fiber ports don’t work. So, hopefully 6.12.32 has the fixes for this card.
build.sh should add it on this error (seems it did in your case because error-message changed)…
but the new error (refusing to merge unrelated histories) is strange…are you on 6.12-main (i see you cloned only this branch which should be ok - calculation of newkernver is right so far)?
i had done the last merges with another laptop, so my current sync also contains already merged tags, but basicly works
and similar for 6.12.32 without errors, maybe issue with shallow clone…maybe you need the --single-branch too, but manpage says that depth implies single-branch?
I don’t i know Frank, but i cloned the tree again and yes, 6.12.32 came. Running it now. Fiber working again, thanks for the update Frank. Nex time, i try without --depth 1.