PKGBUILDs/alarm/uboot-clearfog/clearfog.txt

19 lines
1 KiB
Text
Raw Normal View History

2015-12-08 10:45:37 +00:00
bootcmd=run loaduenv; run startboot
bootdir=/boot
bootfilez=zImage
console=ttyS0,115200
2016-12-11 20:38:23 +00:00
loadaddr=0x2000000
rdaddr=0x6000000
fdtaddr=0x5F00000
fdt_high=0x07a12000
2015-12-08 10:45:37 +00:00
fdtdir=/boot/dtbs
2016-12-11 20:38:23 +00:00
fdtfile=armada-388-clearfog-pro.dtb
2017-06-23 01:23:05 +00:00
rdfile=null
2015-12-08 10:45:37 +00:00
root=/dev/mmcblk0p1
mainargs=setenv bootargs console=${console} root=${root} rw rootwait ${optargs}
loadkernel=ext4load mmc 0:1 ${loadaddr} ${bootdir}/${bootfilez}
loadfdt=ext4load mmc 0:1 ${fdtaddr} ${fdtdir}/${fdtfile}
2015-12-30 00:53:18 +00:00
loadrd=ext4load mmc 0:1 ${rdaddr} ${bootdir}/${rdfile}
2016-03-02 05:52:44 +00:00
startboot=date reset; date reset; run mainargs; run loadkernel; run loadfdt; if run loadrd; then bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootz ${loadaddr} - ${fdtaddr}; fi;
2015-12-08 10:45:37 +00:00
loaduenv=echo Checking for: ${bootdir}/uEnv.txt ...; if test -e mmc 0:1 ${bootdir}/uEnv.txt; then ext4load mmc 0:1 ${loadaddr} ${bootdir}/uEnv.txt; env import -t ${loadaddr} ${filesize}; echo Loaded environment from ${bootdir}/uEnv.txt; echo Checking if uenvcmd is set ...; if test -n ${uenvcmd}; then echo Running uenvcmd ...; run uenvcmd; fi; fi;