Open KevinMX opened 1 month ago
Sigh. The MilkV people removed the repo for unknown reasons. I’ll have to rebase against the Sophgo repo instead. But I’m swamped with real life at the moment so might take me a while.
(Checking out the full buildroot at MilkV just for fsbl is a bit heavy!)
The reason is that many users have been complaining that the SDK is not fully open source, so Sophgo has gradually opened up some source codes, including fsbl. Sophgo changed fsbl to source code compilation, and we also synchronized Sophgo's source code.
Sigh. The MilkV people removed the repo for unknown reasons. I’ll have to rebase against the Sophgo repo instead. But I’m swamped with real life at the moment so might take me a while.
(Checking out the full buildroot at MilkV just for fsbl is a bit heavy!)
You can do something like a sparse clone to avoid cloning the whole repo, but only the specific folder inside the repo.
Since GitHub already deprecated svn so for now it's a bit more complicated:
# Clone a sub-directory of a git repository. Probably replaces "svn co" which is deprecated by GitHub.
# Usage: git_sparse_clone $repo_url $repo_branch $sub_directory $target_location
function git_sparse_clone() {
git clone --filter=blob:none --no-checkout --depth=1 -b $2 $1 upstream && cd upstream
git sparse-checkout init --cone
git sparse-checkout set $3
git checkout
mv $3 ../$4
cd ../ && rm -rf upstream
}
And BTW, your Docker image is failing to build ATM. You'l probably want to change from Debian sid to bookworm. The latter works for me.
Any fixes for this yet, or is there anything I can contribute here to fix it? Not entirely sure how the repo/scripts are set up, or where the FSBL we need actually is 😅
same problem
Seems the original milkv-duo/fsbl repo has moved/gone.
There is an fsbl repo at https://github.com/milkv-duo/duo-buildroot-sdk/tree/develop/fsbl though. I guess some changes might be needed?