[OE-core] [PATCH v2] kernel-fitimage.bbclass: Deploy fitImage without Initramfs

Vineeth Karumanchi vineethchowz.chowdary at xilinx.com
Thu Mar 8 09:23:07 UTC 2018


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 at xilinx.com 
> <mailto:vineethchowz.chowdary at 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 at xilinx.com
>         <mailto:vineethchowz.chowdary at 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 at lists.openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
> 
> 




More information about the Openembedded-core mailing list