@@ -322,6 +322,97 @@ jobs:
322322
323323 rm build.conf
324324
325+ - name : Build for BananaPi-R4 Pro (SD)
326+ run : |
327+ git checkout ${{ env.BRANCH }}
328+ echo -e "board=bpi-r4pro" > build.conf
329+ bash build.sh importconfig
330+ bash build.sh build
331+ bash build.sh rename
332+ git checkout build.conf
333+
334+ git checkout mtk-atf-2025
335+ echo -e "board=bpi-r4pro\ndevice=sdmmc" > build.conf
336+ bash build.sh build
337+ bash build.sh rename
338+ make realclean
339+ echo -e "extraflags=DDR4_4BG_MODE=1" >> build.conf
340+ bash build.sh build
341+ bash build.sh rename
342+ bash build.sh createimg non-interactive
343+
344+ rm build.conf
345+
346+ - name : Build for BananaPi-R4 Pro (EMMC)
347+ run : |
348+ git checkout ${{ env.BRANCH }}
349+ echo -e "board=bpi-r4pro\ndevice=emmc" > build.conf
350+ bash build.sh importconfig
351+ bash build.sh build
352+ bash build.sh rename
353+ git checkout build.conf
354+
355+ git checkout mtk-atf-2025
356+ echo -e "board=bpi-r4pro\ndevice=emmc" > build.conf
357+ bash build.sh build
358+ bash build.sh rename
359+ make realclean
360+ echo -e "extraflags=DDR4_4BG_MODE=1" >> build.conf
361+ bash build.sh build
362+ bash build.sh rename
363+ bash build.sh createimg non-interactive
364+
365+ rm build.conf
366+
367+ - name : Build for BananaPi-R4 Pro (NAND)
368+ run : |
369+ git checkout ${{ env.BRANCH }}
370+ echo -e "board=bpi-r4pro\ndevice=spi-nand" > build.conf
371+ bash build.sh importconfig
372+ bash build.sh build
373+ bash build.sh rename
374+ git checkout build.conf
375+
376+ git checkout mtk-atf-2025
377+ echo -e "board=bpi-r4pro\ndevice=spim-nand" > build.conf
378+ bash build.sh build
379+ bash build.sh rename
380+ make realclean
381+ echo -e "extraflags=UBI=1" >> build.conf
382+ bash build.sh build
383+ bash build.sh rename
384+ make realclean
385+ echo -e "extraflags=DDR4_4BG_MODE=1" >> build.conf
386+ bash build.sh build
387+ bash build.sh rename
388+ make realclean
389+ echo -e "extraflags='UBI=1 DDR4_4BG_MODE=1'" >> build.conf
390+ bash build.sh build
391+ bash build.sh rename
392+
393+ rm build.conf
394+
395+ - name : Build for BananaPi-R4 Pro (RAM/EMMC)
396+ run : |
397+ git checkout ${{ env.BRANCH }}
398+ echo -e "board=bpi-r4pro\ndevice=emmc" > build.conf
399+ sed -i 's/^bootcmd/#bootcmd/' uEnv_r4.txt
400+ bash build.sh importconfig
401+ bash build.sh build
402+ bash build.sh rename
403+ git checkout build.conf uEnv_r4.txt
404+
405+ git checkout mtk-atf-2025
406+ echo -e "board=bpi-r4pro\ndevice=ram" > build.conf
407+ bash build.sh build
408+ bash build.sh rename
409+ make realclean
410+ echo -e "extraflags=DDR4_4BG_MODE=1" >> build.conf
411+ bash build.sh build
412+ bash build.sh rename
413+
414+ rm build.conf
415+
325416 - name : Build for BananaPi-R4 Lite (SD)
326417 run : |
327418 git checkout ${{ env.BRANCH }}
0 commit comments