ubootRockPro64: update U-Boot and rkbin
This commit is contained in:
parent
1bb093e4ff
commit
367dfad37e
|
@ -2,8 +2,8 @@
|
|||
rkbin = fetchFromGitHub {
|
||||
owner = "ayufan-rock64";
|
||||
repo = "rkbin";
|
||||
rev = "af17d09dee19b41f4f01e1722eaf6911fb296245";
|
||||
sha256 = "189f7h6wj2yrcc5ga103jnyysykf9j3j9p1vcy7791bxwxqxnggf";
|
||||
rev = "f79a708978232a2b6b06c2e4173c5314559e0d3a";
|
||||
sha256 = "0h7xm4ck3p3380c6bqm5ixrkxwcx6z5vysqdwvfa7gcqx5d6x5zz";
|
||||
};
|
||||
in buildUBoot rec {
|
||||
version = "2017.09";
|
||||
|
@ -11,17 +11,17 @@ in buildUBoot rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "ayufan-rock64";
|
||||
repo = "linux-u-boot";
|
||||
rev = "d646df03ace3bd191e24361944ce1c7ef3c8744c";
|
||||
sha256 = "0gclcd034qfhfbabrdqmky08i0hlwmn63n0zg6mndplms5qpcx75";
|
||||
rev = "56bd9582537a70c30387de3ce9038a56d2c77bfe";
|
||||
sha256 = "1m0k8ivzhmg9y4x0k7fz7y71pgblzxy81m6x32iivz5kjnxdnv4i";
|
||||
};
|
||||
|
||||
patches = [ ./rock64-fdt-dtc-compatibility.patch ];
|
||||
extraPatches = [ ./rock64-fdt-dtc-compatibility.patch ];
|
||||
|
||||
# Upstream ATF hangs in SPL
|
||||
extraMakeFlags = [ "BL31=${rkbin}/rk33/rk3399_bl31_v1.17.elf" "u-boot.itb" "all" ];
|
||||
extraMakeFlags = [ "BL31=${rkbin}/rk33/rk3399_bl31_v1.25.elf" "u-boot.itb" "all" ];
|
||||
|
||||
postBuild = ''
|
||||
./tools/mkimage -n rk3399 -T rksd -d ${rkbin}/rk33/rk3399_ddr_933MHz_v1.13.bin idbloader.img
|
||||
./tools/mkimage -n rk3399 -T rksd -d ${rkbin}/rk33/rk3399_ddr_933MHz_v1.19.bin idbloader.img
|
||||
cat spl/u-boot-spl.bin >> idbloader.img
|
||||
dd if=u-boot.itb of=idbloader.img seek=448 conv=notrunc
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue