All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx-cst: introduce the recipe for the version 3.3.0
@ 2021-08-07  8:30 Thomas Perrot
  2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
  2021-08-07 11:46 ` Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Perrot @ 2021-08-07  8:30 UTC (permalink / raw)
  To: meta-freescale; +Cc: Thomas Perrot

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
---
 .../recipes-devtools/cst/imx-cst_3.3.0.bb     | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb

diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb
new file mode 100644
index 000000000000..3ba04c8b3d3c
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb
@@ -0,0 +1,30 @@
+SUMMARY = "i.MX code signing tool"
+DESCRIPTION = "Provides software code signing support designed that integrate the HABv4 and AHAB library"
+SECTION = "cst"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://LICENSE.bsd3;md5=1fbcd66ae51447aa94da10cbf6271530"
+
+DEPENDS = "byacc-native flex-native openssl"
+
+SRC_URI = "git://gitlab.apertis.org/pkg/imx-code-signing-tool.git;protocol=https;tag=debian/3.3.0+dfsg2-1;nobranch=1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"'
+
+do_compile() {
+    cd ${S}/code/cst
+    oe_runmake build OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}"
+    cd -
+    oe_runmake -C code/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
+}
+
+do_install () {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/code/cst/code/obj.linux64/cst ${D}${bindir}
+    install -m 755 ${S}/code/cst/code/obj.linux64/srktool ${D}${bindir}
+    install -m 755 ${S}/code/hab_csf_parser/csf_parser ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.31.1


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

* Re: [meta-freescale] [PATCH] imx-cst: introduce the recipe for the version 3.3.0
  2021-08-07  8:30 [PATCH] imx-cst: introduce the recipe for the version 3.3.0 Thomas Perrot
@ 2021-08-07 11:33 ` Otavio Salvador
  2021-08-12 11:30   ` Thomas Perrot
  2021-08-07 11:46 ` Fabio Estevam
  1 sibling, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2021-08-07 11:33 UTC (permalink / raw)
  To: Thomas Perrot; +Cc: meta-freescale

Em sáb., 7 de ago. de 2021 às 05:32, Thomas Perrot
<thomas.perrot@bootlin.com> escreveu:
>
> Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>

Please prepare a PR to github.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

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

* Re: [meta-freescale] [PATCH] imx-cst: introduce the recipe for the version 3.3.0
  2021-08-07  8:30 [PATCH] imx-cst: introduce the recipe for the version 3.3.0 Thomas Perrot
  2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
@ 2021-08-07 11:46 ` Fabio Estevam
  2021-08-12  9:16   ` Thomas Perrot
  1 sibling, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2021-08-07 11:46 UTC (permalink / raw)
  To: Thomas Perrot; +Cc: meta-freescale

Hi Thomas,

On Sat, Aug 7, 2021 at 5:32 AM Thomas Perrot <thomas.perrot@bootlin.com> wrote:

> +SRC_URI = "git://gitlab.apertis.org/pkg/imx-code-signing-tool.git;protocol=https;tag=debian/3.3.0+dfsg2-1;nobranch=1"

Could you please use CST 3.3.1 instead? It is the latest one available at:
https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL_NEW

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

* Re: [meta-freescale] [PATCH] imx-cst: introduce the recipe for the version 3.3.0
  2021-08-07 11:46 ` Fabio Estevam
@ 2021-08-12  9:16   ` Thomas Perrot
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Perrot @ 2021-08-12  9:16 UTC (permalink / raw)
  To: meta-freescale; +Cc: Fabio Estevam

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

Hello Fabio,
On Sat, 2021-08-07 at 08:46 -0300, Fabio Estevam wrote:
> Hi Thomas,
> 
> On Sat, Aug 7, 2021 at 5:32 AM Thomas Perrot <
> thomas.perrot@bootlin.com> wrote:
> 
> > +SRC_URI = "git://gitlab.apertis.org/pkg/imx-code-signing-
> > tool.git;protocol=https;tag=debian/3.3.0+dfsg2-1;nobranch=1"
> 
> Could you please use CST 3.3.1 instead? It is the latest one available
> at:
> https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL_NEW
> 

I have already tried to use the https link above, but it is necessary
to be identified, otherwise the archive isn't downloaded:

cat work/armv7at2hf-neon-oe-linux-gnueabi/imx-cst/3.3.1-
r0/Download\?colCode\=IMX_CST_TOOL_NEW

</script>
<script  type="text/javascript" charset="utf-8">
        var i18n_en = { 'We detected that your email is a Freescale
account. Please go to SPS X.500 Directory Services indicated on top of
the page to request for password reset.' : 'We detected that your email
is an employee account. Please go to SPS X.500 Directory Services
indicated on top of the page to request for password reset.','<b>NXP
(Non-legacy Freescale) employees:</b> Please use your WBI ID and
nxp.com password after <a
href="http://password.freescale.net">activating your nxp.com login
here</a>. (VPN access required)' : '<b>If you do NOT have a core ID
(Legacy NXP employees and new employees hired at a legacy NXP
facility):</b> Please use your WBI ID and nxp.com password after <a
href="http://password.freescale.net">activating your nxp.com login
here</a>. (VPN access required)','We detected that your email is a
Freescale account. To reset your password, please go to' : 'We detected
that your email is a NXP account. To reset your password, please go
to','Country' : 'Territory/Country',', Your request to reset your
Freescale.com Password' : ', Your request to reset your NXP.com
Password','<b>Legacy Freescale employees:</b> Please use your core ID
and OneIT password to log in.' : '<b>If you have a core ID (Legacy
Freescale employees and new employees hired at a legacy Freescale
facility):</b> Please use your core ID and OneIT password to log in.'}

        i18n.set({lang: 'en', data : i18n_en } );  
        </script>
<script type="text/javascript" charset="UTF-8">
function getTranslatedText(input){
        var translatedValue = i18n._(input);
        return translatedValue;
}
</script>
</body>
                <footer class="loadnav">
            <!-- // /* FOOTER CONTENT GOES HERE */ -->
      </footer>



<!--
/data/devs_git_repositories/b56858/ebiz/projects/ebiz/WebContent/NewCoS
ectionalNavRules.json -->
<script type="text/javascript" src="/resources/scripts/nxp-cms/global-
bundle.js"></script>


<script type="text/javascript">
var  XMLRequest=getAjaxRequest();
function
openfeedBackBlock(window_title,blockDiagUrl,code,psp_URL,width,height,f
astpreview){
        if(document.getElementById('feedBackajaxbox')!=null){
          
document.getElementById('feedBackajaxbox').contentarea.innerHTML="";
    }
    var url =
getPreviewUrl('/webapp/sps/components/hotFeedback.jsp?collateralCode=NE
WCO_FEEDBACK_FORM');
    ajaxwin=dhtmlwindow.open('feedBackajaxbox',url,window_title,
'width='+width+'px,height='+height+'px,left=172px,top=1px,resize=0,scro
lling=1');
    return ajaxwin ;
}

function
openthankYouBlock(window_title,blockDiagUrl,code,psp_URL,width,height,f
astpreview){
    var url =
getPreviewUrl('/webapp/sps/components/hotFeedback.jsp?collateralCode=ON
LINE_THANK_YOU');
    ajaxwin=dhtmlwindow.open('feedBackajaxbox',url,window_title,
'width='+width+'px,height='+height+'px,left=165px,top=1px,resize=0,scro
lling=1');
    return ajaxwin ;
}

function getPreviewUrl(url, fastpreview){
    if(fastpreview!=null  &&  (trim(fastpreview) != '' ) ){
        return url+'&fastpreview=1' ;
    }else{
        return url ;
    }
}

</script>

Best regards,
Thomas

> 
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 673 bytes --]

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

* Re: [meta-freescale] [PATCH] imx-cst: introduce the recipe for the version 3.3.0
  2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
@ 2021-08-12 11:30   ` Thomas Perrot
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Perrot @ 2021-08-12 11:30 UTC (permalink / raw)
  To: meta-freescale; +Cc: Otavio Salvador

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

Hello Otavio,

On Sat, 2021-08-07 at 08:33 -0300, Otavio Salvador wrote:
> Em sáb., 7 de ago. de 2021 às 05:32, Thomas Perrot
> <thomas.perrot@bootlin.com> escreveu:
> > 
> > Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
> 
> Please prepare a PR to github.
> 

I prepared a PR to Github:
https://github.com/Freescale/meta-freescale/pull/842

Best regards,
Thomas

> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 673 bytes --]

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

end of thread, other threads:[~2021-08-12 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-07  8:30 [PATCH] imx-cst: introduce the recipe for the version 3.3.0 Thomas Perrot
2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
2021-08-12 11:30   ` Thomas Perrot
2021-08-07 11:46 ` Fabio Estevam
2021-08-12  9:16   ` Thomas Perrot

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.