alarm/uboot-beagblebone uEnv.txt update (fixes #554)

This commit is contained in:
Kevin Mihelich 2013-09-22 01:51:50 +00:00
parent 6f13eb85e6
commit 9410a280de
2 changed files with 7 additions and 5 deletions

View file

@ -16,7 +16,7 @@ source=("git://git.denx.de/u-boot.git#tag=v${pkgver}"
'uEnv.txt') 'uEnv.txt')
md5sums=('SKIP' md5sums=('SKIP'
'dbc20ae3e48ae69fc2bbd35b96a6663e' 'dbc20ae3e48ae69fc2bbd35b96a6663e'
'e651d31f2afa42fc383013f14315de36') 'a280b41fc634331ae4e497bcf985fa46')
prepare() { prepare() {
cd u-boot cd u-boot

View file

@ -1,4 +1,6 @@
uenvcmd=if load mmc 0:2 ${loadaddr} /boot/zImage; then setenv mmcdev 0; run uenvboot; else setenv mmcdev 1; setenv mmcroot /dev/mmcblk1p2 rw; if load mmc 1:2 ${loadaddr} /boot/zImage; then run uenvboot; else echo No zImage found; fi; fi uenvcmd=run findmmc1; run findmmc0; if run loaduimage; then run loadfdt; run mmcboot; fi;
uenvboot=run loadfdt; run setmmcroot; run mmcboot findmmc1=if test $board_name = A335BNLT; then setenv mmc1 1; else setenv mmc1 0; fi
setmmcroot=setenv mmcroot /dev/mmcblk${mmcdev}p2 rw findmmc0=setenv mmcdev 0; mmc dev ${mmcdev}; if mmc rescan; then setenv mmc0 1; else setenv mmc0 0; fi
loadfdt=load mmc ${mmcdev}:2 ${fdtaddr} /boot/dtbs/${fdtfile} mmcroot=/dev/mmcblk0p2 rw
loadfdt=ext4load mmc ${mmcdev}:2 ${fdtaddr} /boot/dtbs/${fdtfile}
loaduimage=if ext4load mmc 0:2 ${loadaddr} /boot/zImage; then setenv mmcdev 0; else setenv mmcdev 1; if test $mmc0 = 1; then setenv mmcroot /dev/mmcblk1p2 rw; fi; ext4load mmc 1:2 ${loadaddr} /boot/zImage; fi