diff --git a/mkimg b/mkimg index df28284..1c846b2 100755 --- a/mkimg +++ b/mkimg @@ -82,8 +82,8 @@ msg "Building u-boot..." [[ -d u-boot ]] || git clone https://github.com/u-boot/u-boot.git pushd u-boot -git checkout master git checkout master -- ':(top)' +git checkout master git pull --rebase git checkout v2022.10 msg2 "Apply binutils 2.38 compitible patch" @@ -99,8 +99,8 @@ msg "Building OpenSBI..." [[ -d opensbi ]] || git clone https://github.com/riscv-software-src/opensbi pushd opensbi -git checkout master git checkout master -- ':(top)' +git checkout master git pull --rebase git checkout v1.1