Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
@ 2018-03-07 14:41 Vineeth Chowdary Karumanchi
  2018-03-07 16:32 ` ✗ patchtest: failure for " Patchwork
  2018-03-08  7:25 ` [PATCH] " Martin Hundebøll
  0 siblings, 2 replies; 5+ messages in thread
From: Vineeth Chowdary Karumanchi @ 2018-03-07 14:41 UTC (permalink / raw)
  To: openembedded-core, ross.burton, manjukum; +Cc: Vineeth Chowdary Karumanchi

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@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
+

                if [ -n "${INITRAMFS_IMAGE}" ]; then
                        echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
@@ -478,6 +482,7 @@ kernel_do_deploy_append() {
                cd ${DEPLOYDIR}
                ln -sf ${its_base_name}.its ${its_symlink_name}.its
                ln -sf ${linux_bin_base_name}.bin ${linux_bin_symlink_name}.bin
+               ln -sf ${fitimage_base_name}.bin ${fitimage_symlink_name}.bin

                if [ -n "${INITRAMFS_IMAGE}" ]; then
                        ln -sf ${its_initramfs_base_name}.its ${its_initramfs_symlink_name}.its
--
2.7.4

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-08 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 14:41 [PATCH] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Chowdary Karumanchi
2018-03-07 16:32 ` ✗ patchtest: failure for " Patchwork
2018-03-08  7:25 ` [PATCH] " Martin Hundebøll
2018-03-08  7:55   ` Manjukumar Harthikote Matha
2018-03-08  8:08     ` Vineeth Karumanchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox