All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
@ 2018-03-08  3:30 Vineeth Chowdary Karumanchi
  2018-03-08  4:32 ` ✗ patchtest: failure for kernel-fitimage.bbclass: Deploy fitImage without Initramfs (rev2) Patchwork
  2018-03-08  4:39 ` [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Karumanchi
  0 siblings, 2 replies; 5+ messages in thread
From: Vineeth Chowdary Karumanchi @ 2018-03-08  3:30 UTC (permalink / raw)
  To: ross.burton, manjukum, openembedded-core; +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.

Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
---
v2: Proper signed off
---
 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

* ✗ patchtest: failure for kernel-fitimage.bbclass: Deploy fitImage without Initramfs (rev2)
  2018-03-08  3:30 [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Chowdary Karumanchi
@ 2018-03-08  4:32 ` Patchwork
  2018-03-08  4:39 ` [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Karumanchi
  1 sibling, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-03-08  4:32 UTC (permalink / raw)
  To: Vineeth Chowdary Karumanchi; +Cc: openembedded-core

== Series Details ==

Series: kernel-fitimage.bbclass: Deploy fitImage without Initramfs (rev2)
Revision: 2
URL   : https://patchwork.openembedded.org/series/11297/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at b8ddb0c8d7)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe



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

* Re: [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
  2018-03-08  3:30 [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Chowdary Karumanchi
  2018-03-08  4:32 ` ✗ patchtest: failure for kernel-fitimage.bbclass: Deploy fitImage without Initramfs (rev2) Patchwork
@ 2018-03-08  4:39 ` Vineeth Karumanchi
  2018-03-08  8:39   ` Vincent Prince
  1 sibling, 1 reply; 5+ messages in thread
From: Vineeth Karumanchi @ 2018-03-08  4:39 UTC (permalink / raw)
  To: Vineeth Chowdary Karumanchi, ross.burton, manjukum, openembedded-core

Hi,

I am getting the patch failure error saying unable to apply.
https://patchwork.openembedded.org/series/11297/


I did these steps:

- git clone git://git.yoctoproject.org/poky  ( master is at 
83cd2b3e775235942dd4201622dc5cc2d4328994 )

- Applied this patch, it went well.


Can you please let me know what is the mistake .
I was sending patch on master.

Thanks
Vineeth


On 03/08/2018 09:00 AM, 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.
> 
> Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
> ---
> v2: Proper signed off
> ---
>   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
> 



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

* Re: [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
  2018-03-08  4:39 ` [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Karumanchi
@ 2018-03-08  8:39   ` Vincent Prince
  2018-03-08  9:23     ` Vineeth Karumanchi
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Prince @ 2018-03-08  8:39 UTC (permalink / raw)
  To: Vineeth Karumanchi; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 3007 bytes --]

Hi Vineeth,

I think it's because this class can be found in those two repos and error
log tells it should be based on first one:

http://git.openembedded.org/openembedded-core/tree/meta/classes/kernel-fitimage.bbclass
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/kernel-fitimage.bbclass

Best regards,
Vincent

2018-03-08 5:39 GMT+01:00 Vineeth Karumanchi <
vineethchowz.chowdary@xilinx.com>:

> Hi,
>
> I am getting the patch failure error saying unable to apply.
> https://patchwork.openembedded.org/series/11297/
>
>
> I did these steps:
>
> - git clone git://git.yoctoproject.org/poky  ( master is at
> 83cd2b3e775235942dd4201622dc5cc2d4328994 )
>
> - Applied this patch, it went well.
>
>
> Can you please let me know what is the mistake .
> I was sending patch on master.
>
> Thanks
> Vineeth
>
>
>
> On 03/08/2018 09:00 AM, 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.
>>
>> Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.
>> com>
>> ---
>> v2: Proper signed off
>> ---
>>   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
>>
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 4653 bytes --]

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

* Re: [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs
  2018-03-08  8:39   ` Vincent Prince
@ 2018-03-08  9:23     ` Vineeth Karumanchi
  0 siblings, 0 replies; 5+ messages in thread
From: Vineeth Karumanchi @ 2018-03-08  9:23 UTC (permalink / raw)
  To: Vincent Prince, Vineeth Karumanchi; +Cc: OE-core

Hi Vincent,

Thanks, I was using the second one.

The auto builder uses http://git.openembedded.org and the patches should 
be on top of it ?

Thanks
Vineeth

On 03/08/2018 02:09 PM, Vincent Prince wrote:
> Hi Vineeth,
> 
> I think it's because this class can be found in those two repos and 
> error log tells it should be based on first one:
> 
> http://git.openembedded.org/openembedded-core/tree/meta/classes/kernel-fitimage.bbclass
> http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/kernel-fitimage.bbclass
> 
> Best regards,
> Vincent
> 
> 2018-03-08 5:39 GMT+01:00 Vineeth Karumanchi 
> <vineethchowz.chowdary@xilinx.com 
> <mailto:vineethchowz.chowdary@xilinx.com>>:
> 
>     Hi,
> 
>     I am getting the patch failure error saying unable to apply.
>     https://patchwork.openembedded.org/series/11297/
>     <https://patchwork.openembedded.org/series/11297/>
> 
> 
>     I did these steps:
> 
>     - git clone git://git.yoctoproject.org/poky
>     <http://git.yoctoproject.org/poky>  ( master is at
>     83cd2b3e775235942dd4201622dc5cc2d4328994 )
> 
>     - Applied this patch, it went well.
> 
> 
>     Can you please let me know what is the mistake .
>     I was sending patch on master.
> 
>     Thanks
>     Vineeth
> 
> 
> 
>     On 03/08/2018 09:00 AM, 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.
> 
>         Signed-off-by: Vineeth Chowdary Karumanchi
>         <vineethchowz.chowdary@xilinx.com
>         <mailto:vineethchowz.chowdary@xilinx.com>>
>         ---
>         v2: Proper signed off
>         ---
>            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
> 
> 
>     -- 
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
> 
> 



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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08  3:30 [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Chowdary Karumanchi
2018-03-08  4:32 ` ✗ patchtest: failure for kernel-fitimage.bbclass: Deploy fitImage without Initramfs (rev2) Patchwork
2018-03-08  4:39 ` [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs Vineeth Karumanchi
2018-03-08  8:39   ` Vincent Prince
2018-03-08  9:23     ` Vineeth Karumanchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.