]> git.ipfire.org Git - ipfire-2.x.git/blob - config/u-boot/uEnv.txt
66ab24fd55a15dc0b1fc41fe0e30be87efe6cb59
[ipfire-2.x.git] / config / u-boot / uEnv.txt
1 KVER=xxxKVERxxx
2 DTBSUNXI=sun7i-a20-bananapi.dtb
3 uenvcmd=if test "$board" = "panda" ;then run bootpanda; else run bootsunxi; fi;
4 bootpanda=setenv initrd_high 90000000; fatload mmc 0:1 0x82000000 zImage-ipfire-multi; fatload mmc 0:1 ${fdtaddr} dtb-${KVER}-ipfire-multi/${fdtfile}; setenv bootargs video=800x600 console=tty1 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3; bootz 0x82000000 - ${fdtaddr};
5 bootsunxi=setenv fdt_high ffffffff; fatload mmc 0:1 0x46000000 zImage-ipfire-multi; fatload mmc 0:1 0x49000000 dtb-${KVER}-ipfire-multi/${DTBSUNXI}; fatload mmc 0:1 0x49100000 uInit-ipfire-multi; setenv bootargs console=ttyS0,115200n8 rootwait root=/dev/mmcblk0p3 rootwait; bootz 0x46000000 0x49100000 0x49000000;