File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 141141 defconfig = "soquartz-model-a-rk3566_defconfig" ;
142142 spi = false ;
143143 } ;
144- uBootPineTab2 = buildRK3566UBoot { defconfig = "pinetab2-rk3566_defconfig" ; } ;
144+ uBootPineTab2 = buildUBoot rec {
145+ # Pick 2025.07 for now since that's what the vop2 patchset
146+ # is against
147+ version = "2025.07" ;
148+ src = fetchFromGitHub {
149+ owner = "u-boot" ;
150+ repo = "u-boot" ;
151+ rev = version ;
152+ sha256 = "sha256-X+JhVkDudkvQo08hGwAChOeMZZR+iunT9aU6tSAuMmg=" ;
153+ } ;
154+ defconfig = "pinetab2-rk3566_defconfig" ;
155+ filesToInstall = [
156+ "u-boot-rockchip.bin"
157+ "u-boot-rockchip-spi.bin"
158+ ] ;
159+ extraConfig = ''
160+ CONFIG_BOOTCOMMAND="usb start; bootflow scan -lb"
161+ '' ;
162+ extraPatches = [
163+ # using fetchurl instead of fetchpatch here because it seems fetchpatch
164+ # mucks with the ordering and that is relevant here.
165+ # https://lists.denx.de/pipermail/u-boot/2025-January/thread.html#577641
166+ ( fetchurl {
167+ name = "rockchip-video-output-processor-2.patch" ;
168+ url = "https://raw.githubusercontent.com/dreemurrs-embedded/danctnix-packages/d2ba844cb9fdcda092f54f87827f8705727ce261/pine64/uboot-pinetab2/vop2.patch" ;
169+ hash = "sha256-m04GQUvovmo7EuMvHjvxALc+dcBnn9l4TClOspd5i0k=" ;
170+ } )
171+ ] ;
172+ env = {
173+ BL31 = "${ pkgs . armTrustedFirmwareRK3568 } /bl31.elf" ;
174+ ROCKCHIP_TPL = pkgs . rkbin . TPL_RK3568 ;
175+ } ;
176+ } ;
145177 uBootPinebookPro = buildRK3399UBoot "pinebook-pro-rk3399_defconfig" ;
146178 uBootRockPro64 = buildRK3399UBoot "rockpro64-rk3399_defconfig" ;
147179 uBootROCPCRK3399 = buildRK3399UBoot "roc-pc-rk3399_defconfig" ;
You can’t perform that action at this time.
0 commit comments