mvebu: omnia: make initramfs image usable out of the box
authorPetr Štetiar <ynezz@true.cz>
Sat, 30 Jan 2021 12:32:43 +0000 (13:32 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 2 Feb 2021 09:06:04 +0000 (10:06 +0100)
commit5ac0b2b431ba4a62e8e7dbc7ae4094a033032870
tree2f6266c2d2eeedbb3a0bf69cc18ef977f0b6f8bb
parenta7a207e18bf7fa04f265bb95cbe6fa91561fbfe8
mvebu: omnia: make initramfs image usable out of the box

Currently it's not possible to boot the device with just initramfs image
without additional effort as the initramfs image doesn't contain device
tree.  Fix it by producing FIT based image which could be booted with
following commands:

 setenv bootargs earlyprintk console=ttyS0,115200
 tftpboot ${kernel_addr_r} openwrt-mvebu-cortexa9-cznic_turris-omnia-initramfs-kernel.bin
 bootm ${kernel_addr_r}

Acked-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry-picked from commit 337ff74894110b35b61118918b7eb30bb6e60756)
target/linux/mvebu/image/cortex-a9.mk