mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
4 lines
401 B
Text
4 lines
401 B
Text
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
|
|
uenvboot=run loadfdt; run setmmcroot; run mmcboot
|
|
setmmcroot=setenv mmcroot /dev/mmcblk${mmcdev}p2 rw
|
|
loadfdt=load mmc ${mmcdev}:2 ${fdtaddr} /boot/dtbs/${fdtfile}
|