mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
12 lines
759 B
Text
12 lines
759 B
Text
kernel_addr=0x2000000
|
|
ramdisk_addr=0x1100000
|
|
fdt_addr=0x1000000
|
|
fdt_high=0xffffffffffffffff
|
|
image_name=/boot/Image
|
|
ramdisk_name=/boot/initramfs-linux.uimg
|
|
fdt_name=/boot/dtbs/marvell/armada-3720-espressobin.dtb
|
|
get_env=if ext4load mmc 0 $loadaddr /boot/uEnv.txt; then env import -t $loadaddr $filesize; if test -n ${uenvcmd}; then run uenvcmd; fi; fi
|
|
get_images=ext4load mmc 0 $kernel_addr $image_name && ext4load mmc 0 $fdt_addr $fdt_name
|
|
get_ramdisk=ext4load mmc 0 $ramdisk_addr $ramdisk_name
|
|
bootargs=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk0p1 rw rootwait
|
|
bootcmd=mmc dev 0; run get_env; if run get_images; then if run get_ramdisk; then booti $kernel_addr $ramdisk_addr $fdt_addr; else booti $kernel_addr - $fdt_addr; fi; fi
|