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>
Sun, 31 Jan 2021 10:39:19 +0000 (11:39 +0100)
commit337ff74894110b35b61118918b7eb30bb6e60756
tree02a5840eca9a392553b6b690419a8af654a5d8ed
parentec0c6c11436d233c3e1f3c1b4461a46348a1a0c7
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>
target/linux/mvebu/image/cortexa9.mk