File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ checkspi=if sf probe; then echo "NOR available";spidev="nor";else echo "NAND ava
6969checksata=if test -n "$sata_en" && test $sata_en -eq 1;then setenv satacfg "#sata"; fi
7070checkwifi=if test -n "$wifi_en" && test $wifi_en -eq 1;then setenv wificfg "#wifi"; fi
7171check2g5=if test -n "$is2g5" && test $is2g5 -eq 1;then setenv variant "-2g5"; fi
72- checkr4pro=if test -n "$isr4pro" && test $isr4pro -eq 1;then setenv variant "-r4pro"; fi
72+ checkr4pro=if test -n "$isr4pro" && test $isr4pro -eq 1;then setenv variant "-r4pro";setenv ovmmc "#ov-pro-$mmcdev"; fi
7373#r4lite needs different mmc-overlays based on shematic
7474checkr4lite=if test -n "$isr4lite" && test $isr4lite -eq 1;then setenv variant "-r4lite";setenv ovmmc "#ov-lite-$mmcdev";run checkspi;setenv ovspi "#ov-lite-$spidev";fi
75- setbootconf=run check2g5;run checkr4pro;run checkmmc;run checksata;run checkwifi;run checkr4lite;setenv bootconf "#conf-base$variant$version$ovmmc$ovspi$wificfg$satacfg";printenv bootconf
75+ setbootconf=run check2g5;run checkmmc;run checksata;run checkwifi;run checkr4lite;run checkr4pro ;setenv bootconf "#conf-base$variant$version$ovmmc$ovspi$wificfg$satacfg";printenv bootconf
7676
7777wrspimnand=if printenv bl2file;then if fatload $device $partition $loadaddr $bl2file;then mtd erase spi-nand0 0x0 0x100000;mtd write spi-nand0 $loadaddr 0x0 0x100000;else echo "loading bl2 $bl2file failed";fi;else echo "bl2file not defined";fi;if printenv fipfile;then if fatload $device $partition $loadaddr $fipfile;then mtd erase spi-nand0 0x580000 0x200000;mtd write spi-nand0 $loadaddr 0x580000 0x200000;else echo "loading fip $fipfile failed";fi;else echo "fipfile not defined";fi
7878wremmc=if printenv bl2file;then mmc partconf 0 1 1 1;if fatload $device $partition $loadaddr $bl2file;then mmc erase 0x0 0x400;mmc write ${loadaddr} 0x0 0x400;else echo "loading bl2 $bl2file failed";fi;else echo "bl2file not defined";fi;mmc partconf 0 1 1 0;if printenv fipfile;then if fatload $device $partition $loadaddr $fipfile;then mmc erase 0x3400 0x1000;mmc write ${loadaddr} 0x3400 0x1000;else echo "loading fip $fipfile failed";fi;else echo "fipfile not defined";fi
You can’t perform that action at this time.
0 commit comments