Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 1 | bootargs=console=ttyS4,115200n8 |
Eddie James | 34b3077 | 2021-04-01 08:30:02 -0500 | [diff] [blame] | 2 | boota=setenv bootpart 2; setenv rootfs rofs-a; run bootmmc |
| 3 | bootb=setenv bootpart 3; setenv rootfs rofs-b; run bootmmc |
| 4 | bootcmd=setenv origbootargs ${bootargs}; run bootconfcmd; run bootsidecmd |
| 5 | bootconfcmd=if test ${fitconfig} -n; then setenv bootmconf "#${fitconfig}"; fi |
Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 6 | bootdelay=2 |
Eddie James | 34b3077 | 2021-04-01 08:30:02 -0500 | [diff] [blame] | 7 | bootmmc=run setmmcargs; ext4load mmc 0:${bootpart} ${loadaddr} fitImage && bootm ${loadaddr}${bootmconf}; echo Error loading kernel FIT image with fitconfig ${fitconfig}; bootm ${loadaddr}; echo Error loading kernel FIT image |
Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 8 | bootside=a |
Eddie James | 34b3077 | 2021-04-01 08:30:02 -0500 | [diff] [blame] | 9 | bootsidecmd=if test ${bootside} = b; then run bootb; run boota; else run boota; run bootb; fi |
Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 10 | loadaddr=0x83000000 |
Eddie James | 34b3077 | 2021-04-01 08:30:02 -0500 | [diff] [blame] | 11 | setmmcargs=setenv bootargs ${origbootargs} rootwait root=PARTLABEL=${rootfs} |