On Tue, Apr 20, 2021 at 11:28 PM Denys Dmytriyenko <de...@denix.org> wrote:
>
> On Tue, Apr 20, 2021 at 11:11:55PM +0530, Sinthu Raja wrote:
> >   Add two recipies to generate two WIC files for AM64x EVM and SK.
> >   Each recipe has its own path to the deployed boot images and
> >   corresponding WIC file name.
>
> Adding extra and very specialized images would only increase complexity. Just
> last year we went to extra efforts to simplify this area down to 3 generic
> images...
>
As you mention the AM64x EVM yocto build generates 3 images such as
sitara-rootfs-image tisdk-base-image tisdk-tiny-image. This patch is
just a copy of tisdk-base-image yocto recipe, except for the image
name and the image deployed location. I didn't find any other options
to create WIC files for EVM and SK in one single machine name.
If this is not acceptable then we have to modify the image class files
corresponding to do_wic_image() function, which takes more effort.
>
> > ---
> >  
> > .../images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-evm.bb&c=E,1,Yf_IdGj_QfwVOINXXIf3qMzdg8GJtfTq0RvWSWpdLcfDEhKJqlmB5gkWdx2Va4CusgQpDb1PRf98265hVIFwWCQDy0Hj8sa5pgxNpmhCIqg,&typo=1
> >             | 19 +++++++++++++++++
> >  
> > .../images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-sk.bb&c=E,1,7P8mWG53yES3FKUIQoAO6ArStaD-kNsrT27w1Xu0UfBF7FnHM5EwWgHH6EssC4DvMKQEPK2Blqvan3d4fpSOXCn-qUvN0SxQiEU9fuHzg65LHcrtUqIQ4FFbpgc,&typo=1
> >              | 21 +++++++++++++++++++
> >  2 files changed, 40 insertions(+)
> >  create mode 100644 
> > meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-evm.bb&c=E,1,iLKvpXKnTBfkOTYnQf3pjV2pcbYKJBtni0FS3Trt9jLGxmk5aZhkkKbfWWqGvcDfAPrS9Bsrap4T5WVfo-PzNr664MOjiPKCyqK-vS39MRi30Bf0LMZfyfhw0sU,&typo=1
> >  create mode 100644 
> > meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-sk.bb&c=E,1,Gn_LCvdR45Pc0W5ZphDUFoFta76aBAtdbksgE8UEE2g8vwVme-kIO7QRA-9sDw9K1m54rzh6FoiGJ1h-guQods6a9PnPRAhsoaElmgBsiZYxuYGDaFvKo5E,&typo=1
> >
> > diff --git 
> > a/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-evm.bb&c=E,1,eSQziEcXu5VVDMtd7xgb5Caf2Y7AuBVHQbyxYFTIUnCR7_I8r9B8CMOGU-8w8j__1XnJt7xEnvNqbIFpmVnA_y6CzKt79m8qCaFlDwSNJEjerU3dnZV6uw,,&typo=1
> >  
> > b/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-evm.bb&c=E,1,pZCxTi_YdHGIgefPQ7ySD_cPZZAcIMQWle1zJFE3ZuHMbSSOocM82yBefaEpYSiq-gMx-JOIkuH0ESeXHPOqJsi3bw8d8mwoNrXThlu6JmRz&typo=1
> > new file mode 100644
> > index 00000000..14813bad
> > --- /dev/null
> > +++ 
> > b/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-evm.bb&c=E,1,tXKddYf1isiLnDsQHPoIPzFcnI6g6XxtdZ4DUTfoueWetjoYtK0p5sZSQlrLXNzXVORAkdMCluZBEAZp8vDCY7OEC8tB_YLdJVJ6dPqRJJiqxPmdWVoc&typo=1
> > @@ -0,0 +1,19 @@
> > +# Arago TI SDK base image with test tools
> > +# Suitable for initramfs
> > +
> > +require 
> > recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farago-image.inc&c=E,1,iSqKvd_ji2TSPtfYxaMC5PO72oucFcqcfYm8fvdi2Iku7OacTWFcuXaZPAsglqUcPkz17Z1sd-MDC1TkElMnnPuTYFYYDZUCdhNX0xBWGBKj4l4lKe3i&typo=1
> > +
> > +IMAGE_FSTYPES += "cpio.xz"
> > +IMAGE_FSTYPES_append_dra7xx = " ubifs ubi"
> > +
> > +IMAGE_INSTALL += "\
> > +    packagegroup-arago-base \
> > +    packagegroup-arago-console \
> > +    packagegroup-arago-base-tisdk \
> > +    ${VIRTUAL-RUNTIME_initramfs} \
> > +    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \
> > +    "
> > +
> > +export IMAGE_BASENAME = "tisdk-base-image-evm"
> > +export IMAGE_LINK_NAME = "tisdk-base-image-am64xx-evm"
> > +export 
> > DEPLOY_DIR_IMAGE="/mnt/4TB-VD1/ti_devm_sdk/devm_linux/am64x_sk/yocto_local_am64x_sk/oe-layersetup/build/arago-tmp-external-arm-glibc/deploy/images/am64xx-evm/evm"
> > diff --git 
> > a/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-sk.bb&c=E,1,v_qvyxjHFt8mB0SrPUpVM6yV7oS9bPx2uTunmzz0ux4V2-vI-8ZBCrlmR47x2upHud-5-eLJeUBkwjPCPJdxPiBG15x5ABC9UDZTf0pDE2WDsoSm3JNRVt6aA_c,&typo=1
> >  
> > b/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-sk.bb&c=E,1,bbeSsqS-Gta0okDgIaOmyf43SA9ZBo3zCMgtiJqU8ZQ4wJZ9RkNOo4y7drx9edJeDWQvKyyLM81cczYW04mpyQ3q1rnnzrX1fMH1xFxc&typo=1
> > new file mode 100644
> > index 00000000..571e8395
> > --- /dev/null
> > +++ 
> > b/meta-arago-distro/recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2ftisdk-base-image-sk.bb&c=E,1,MXierxaM4gcLM2VusgoZMip7BDPUnU7fXGgeaOdPsBVCFJ4CkbxzzOuJd07BZw0I22xa22QhijW-CTa1UPo_o1AyiQ37BPy0COZZAW1hHrdnL4E-NZmzT0A8rCRP&typo=1
> > @@ -0,0 +1,21 @@
> > +# Arago TI SDK base image with test tools
> > +# Suitable for initramfs
> > +
> > +require  
> > recipes-core/images/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farago-image.inc&c=E,1,Lw4KWFU--NnUz1yO8vOcw-GCibeWmqjWWIJUuMdMfsOYEwEBv3i_FKicsWYFtQCBovl7Kamtqo6dD-vWmeKmZ4XaJ-Ewft7hUsnTksGM6iDhukZh&typo=1
> > +
> > +IMAGE_FSTYPES += "cpio.xz"
> > +IMAGE_FSTYPES_append_dra7xx = " ubifs ubi"
> > +
> > +IMAGE_INSTALL += "\
> > +    packagegroup-arago-base \
> > +    packagegroup-arago-console \
> > +    packagegroup-arago-base-tisdk \
> > +    ${VIRTUAL-RUNTIME_initramfs} \
> > +    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \
> > +    "
> > +
> > +export IMAGE_BASENAME = "tisdk-base-image-sk"
> > +
> > +export IMAGE_BASENAME = "tisdk-base-image-sk"
>
> Duplicate?
>
>
> > +export IMAGE_LINK_NAME = "tisdk-base-image-am64xx-sk"
> > +export 
> > DEPLOY_DIR_IMAGE="/mnt/4TB-VD1/ti_devm_sdk/devm_linux/am64x_sk/yocto_local_am64x_sk/oe-layersetup/build/arago-tmp-external-arm-glibc/deploy/images/am64xx-evm/sk"
>
> I don't have "/mnt/4TB-VD1/..." - should not be an absolute path.
>
> --
> Regards,
> Denys Dmytriyenko <de...@denix.org>
> PGP: 0x420902729A92C964 - 
> https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdenix.org%2f0x420902729A92C964&c=E,1,9WvpEazDGkxStqNcGuaIVGOFqP-yXl09xP293Sba6x1z73wffjNpuQGjjT133SxXHSX9k8GLSjHiUU-sP7tDi6qpP3ez0geTBaricXMFw0p6ovK__w,,&typo=1
> Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to