[OE-core] [PATCH] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
Martin Hundebøll
mnhu at prevas.dk
Thu Mar 8 07:25:47 UTC 2018
Hi Vineeth,
On 2018-03-07 15:41, Vineeth Chowdary Karumanchi wrote:
> This patch deploys fitImage (linux.bin + dtb ).
> The use case is to have 2 partioned sd card, with
> FAT partition having bootloader + fitImage and
> ext4 partion having rootfs.
>
> Signen-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary at xilinx.com>
> ---
> meta/classes/kernel-fitimage.bbclass | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
> index 50a91e1..25884d5 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -464,6 +464,10 @@ kernel_do_deploy_append() {
> linux_bin_base_name="fitImage-linux.bin-${PV}-${PR}-${MACHINE}-${DATETIME}"
> linux_bin_symlink_name=fitImage-linux.bin-${MACHINE}
> install -m 0644 linux.bin ${DEPLOYDIR}/${linux_bin_base_name}.bin
> + fitimage_base_name="fitImage-${PV}-${PR}-${MACHINE}-${DATETIME}"
> + fitimage_symlink_name=fitImage-${MACHINE}
> + install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${fitimage_base_name}.bin
> +
Isn't this already handled by the "linux_bin_base_name" variable just
above (i.e. fitImahe-linux.bin-${MACHINE}). I have various fitimages,
and as far as I recall, a non-initramfs fitimage is already deployed.
// Martin
More information about the Openembedded-core
mailing list