1*5b578e0bSJoel Stanleybootargs=console=ttyS4,115200n8 2*5b578e0bSJoel Stanleyboota=setenv bootpart 2; setenv rootfs rofs-a; run bootmmc 3*5b578e0bSJoel Stanleybootb=setenv bootpart 3; setenv rootfs rofs-b; run bootmmc 4*5b578e0bSJoel Stanleybootcmd=setenv origbootargs ${bootargs}; run bootconfcmd; run bootsidecmd 5*5b578e0bSJoel Stanleybootconfcmd=if test ${fitconfig} -n; then setenv bootmconf "#${fitconfig}"; fi 6*5b578e0bSJoel Stanleybootdelay=2 7*5b578e0bSJoel Stanleybootmmc=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 8*5b578e0bSJoel Stanleybootside=a 9*5b578e0bSJoel Stanleybootsidecmd=if test ${bootside} = b; then run bootb; run boota; else run boota; run bootb; fi 10*5b578e0bSJoel Stanleyloadaddr=0x83000000 11*5b578e0bSJoel Stanleysetmmcargs=setenv bootargs ${origbootargs} rootwait root=PARTLABEL=${rootfs} 12