15 lines
562 B
Plaintext
15 lines
562 B
Plaintext
setenv kernel_addr_z 0x44080000
|
|
|
|
setenv bootargs loglevel=0 silent console=tty0 vt.global_cursor_default=0
|
|
|
|
if load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_z} /Image.gz; then
|
|
unzip ${kernel_addr_z} ${kernel_addr_r}
|
|
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} /sun50i-a64-pocketpc.dtb; then
|
|
if load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} /initramfs.gz; then
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
|
|
else
|
|
booti ${kernel_addr_r} - ${fdt_addr_r};
|
|
fi;
|
|
fi;
|
|
fi
|