mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
17 lines
1,004 B
Text
17 lines
1,004 B
Text
bootcmd=run loaduenv; run startboot
|
|
bootdir=/boot
|
|
bootfilez=zImage
|
|
console=ttyS0,115200
|
|
loadaddr=2080000
|
|
rdaddr=2880000
|
|
fdtaddr=2040000
|
|
fdtdir=/boot/dtbs
|
|
fdtfile=armada-388-clearfog.dtb
|
|
rdfile=initramfs-linux.img
|
|
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}
|
|
loadrd=ext4load mmc 0:1 ${rdaddr} ${bootdir}/${rdfile}
|
|
startboot=run mainargs; run loadkernel; run loadfdt; if run loadrd; then bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootz ${loadaddr} - ${fdtaddr}; fi;
|
|
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;
|