All of lore.kernel.org
 help / color / mirror / Atom feed
* [rocko/master][PATCH] u-boot-k3-r5: update SYSFW to 2018.08b
@ 2018-09-13 19:17 Denys Dmytriyenko
  2018-09-13 19:30 ` [EXTERNAL] " Jacob Stiffler
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2018-09-13 19:17 UTC (permalink / raw)
  To: meta-arago

Also install and deploy versioned SYSFW binary with short symlink.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb          | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
index 0ff5658..57055c7 100644
--- a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
+++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
@@ -7,10 +7,12 @@ PKG_${PN}-dbg = "${PN}-dbg"
 
 COMPATIBLE_MACHINE = "k3"
 
-SYSFW_VER = "2018.07a"
-SYSFW_BIN_am65xx-evm = "ti-sci-firmware-am6x-gp.bin"
+SYSFW_VER = "2018.08b"
+SYSFW_TISCI_am65xx-evm = "ti-sci-firmware-am65x-gp.bin"
+SYSFW_BINARY = "sysfw.bin"
+SYSFW_IMAGE = "sysfw-${SYSFW_VER}.bin"
 
-SRCREV_sysfw = "2035022224dcc885ac2cd0b11f8c76190f5af962"
+SRCREV_sysfw = "463b1b4a50e8e361fa333f87caf74d2e05bc0a82"
 SYSFW_BRANCH = "ti-linux-firmware-4.1.y"
 SRCREV_FORMAT = "sysfw"
 
@@ -33,13 +35,16 @@ UBOOT_SYMLINK = "tiboot3-${MACHINE}.bin"
 SPL_BINARY_k3 = ""
 
 do_configure_append() {
-	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_BIN} -o ${WORKDIR}/sysfw.bin -l 0x40000
+	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_TISCI} -o ${WORKDIR}/sysfw.bin -l 0x40000
 }
 
 do_install_append() {
-	install -m 644 ${WORKDIR}/sysfw.bin ${D}/boot/
+	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${D}/boot/${SYSFW_IMAGE}
+	ln -sf ${SYSFW_IMAGE} ${D}/boot/${SYSFW_BINARY}
 }
 
 do_deploy_append() {
-	install -m 644 ${WORKDIR}/sysfw.bin ${DEPLOYDIR}/
+	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
+	rm -f ${DEPLOYDIR}/${SYSFW_BINARY}
+	ln -sf ${SYSFW_IMAGE} ${DEPLOYDIR}/${SYSFW_BINARY}
 }
-- 
2.7.4



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

* Re: [EXTERNAL] [rocko/master][PATCH] u-boot-k3-r5: update SYSFW to 2018.08b
  2018-09-13 19:17 [rocko/master][PATCH] u-boot-k3-r5: update SYSFW to 2018.08b Denys Dmytriyenko
@ 2018-09-13 19:30 ` Jacob Stiffler
  2018-09-13 19:36   ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2018-09-13 19:30 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago



On 9/13/2018 3:17 PM, Denys Dmytriyenko wrote:
> Also install and deploy versioned SYSFW binary with short symlink.
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>   .../recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb          | 17 +++++++++++------
>   1 file changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> index 0ff5658..57055c7 100644
> --- a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> +++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> @@ -7,10 +7,12 @@ PKG_${PN}-dbg = "${PN}-dbg"
>   
>   COMPATIBLE_MACHINE = "k3"
>   
> -SYSFW_VER = "2018.07a"
> -SYSFW_BIN_am65xx-evm = "ti-sci-firmware-am6x-gp.bin"
> +SYSFW_VER = "2018.08b"
> +SYSFW_TISCI_am65xx-evm = "ti-sci-firmware-am65x-gp.bin"
> +SYSFW_BINARY = "sysfw.bin"
> +SYSFW_IMAGE = "sysfw-${SYSFW_VER}.bin"
>   
> -SRCREV_sysfw = "2035022224dcc885ac2cd0b11f8c76190f5af962"
> +SRCREV_sysfw = "463b1b4a50e8e361fa333f87caf74d2e05bc0a82"
>   SYSFW_BRANCH = "ti-linux-firmware-4.1.y"
>   SRCREV_FORMAT = "sysfw"
>   
> @@ -33,13 +35,16 @@ UBOOT_SYMLINK = "tiboot3-${MACHINE}.bin"
>   SPL_BINARY_k3 = ""
>   
>   do_configure_append() {
> -	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_BIN} -o ${WORKDIR}/sysfw.bin -l 0x40000
> +	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_TISCI} -o ${WORKDIR}/sysfw.bin -l 0x40000

Should "${SYSFW_BINARY}" be used here instead of "sysfw.bin" to match 
do_install()?

>   }
>   
>   do_install_append() {
> -	install -m 644 ${WORKDIR}/sysfw.bin ${D}/boot/
> +	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${D}/boot/${SYSFW_IMAGE}
> +	ln -sf ${SYSFW_IMAGE} ${D}/boot/${SYSFW_BINARY}
>   }
>   
>   do_deploy_append() {
> -	install -m 644 ${WORKDIR}/sysfw.bin ${DEPLOYDIR}/
> +	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
> +	rm -f ${DEPLOYDIR}/${SYSFW_BINARY}
> +	ln -sf ${SYSFW_IMAGE} ${DEPLOYDIR}/${SYSFW_BINARY}
>   }



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

* Re: [EXTERNAL] [rocko/master][PATCH] u-boot-k3-r5: update SYSFW to 2018.08b
  2018-09-13 19:30 ` [EXTERNAL] " Jacob Stiffler
@ 2018-09-13 19:36   ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2018-09-13 19:36 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-arago

On Thu, Sep 13, 2018 at 03:30:27PM -0400, Jacob Stiffler wrote:
> 
> 
> On 9/13/2018 3:17 PM, Denys Dmytriyenko wrote:
> >Also install and deploy versioned SYSFW binary with short symlink.
> >
> >Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> >---
> >  .../recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb          | 17 +++++++++++------
> >  1 file changed, 11 insertions(+), 6 deletions(-)
> >
> >diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> >index 0ff5658..57055c7 100644
> >--- a/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> >+++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2018.01.bb
> >@@ -7,10 +7,12 @@ PKG_${PN}-dbg = "${PN}-dbg"
> >  COMPATIBLE_MACHINE = "k3"
> >-SYSFW_VER = "2018.07a"
> >-SYSFW_BIN_am65xx-evm = "ti-sci-firmware-am6x-gp.bin"
> >+SYSFW_VER = "2018.08b"
> >+SYSFW_TISCI_am65xx-evm = "ti-sci-firmware-am65x-gp.bin"
> >+SYSFW_BINARY = "sysfw.bin"
> >+SYSFW_IMAGE = "sysfw-${SYSFW_VER}.bin"
> >-SRCREV_sysfw = "2035022224dcc885ac2cd0b11f8c76190f5af962"
> >+SRCREV_sysfw = "463b1b4a50e8e361fa333f87caf74d2e05bc0a82"
> >  SYSFW_BRANCH = "ti-linux-firmware-4.1.y"
> >  SRCREV_FORMAT = "sysfw"
> >@@ -33,13 +35,16 @@ UBOOT_SYMLINK = "tiboot3-${MACHINE}.bin"
> >  SPL_BINARY_k3 = ""
> >  do_configure_append() {
> >-	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_BIN} -o ${WORKDIR}/sysfw.bin -l 0x40000
> >+	${WORKDIR}/gen_x509_cert.sh -m rom -c m3 -b ${WORKDIR}/fw/ti-sysfw/${SYSFW_TISCI} -o ${WORKDIR}/sysfw.bin -l 0x40000
> 
> Should "${SYSFW_BINARY}" be used here instead of "sysfw.bin" to match
> do_install()?

Sure, would make sense.


> >  do_install_append() {
> >-	install -m 644 ${WORKDIR}/sysfw.bin ${D}/boot/
> >+	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${D}/boot/${SYSFW_IMAGE}
> >+	ln -sf ${SYSFW_IMAGE} ${D}/boot/${SYSFW_BINARY}
> >  }
> >  do_deploy_append() {
> >-	install -m 644 ${WORKDIR}/sysfw.bin ${DEPLOYDIR}/
> >+	install -m 644 ${WORKDIR}/${SYSFW_BINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
> >+	rm -f ${DEPLOYDIR}/${SYSFW_BINARY}
> >+	ln -sf ${SYSFW_IMAGE} ${DEPLOYDIR}/${SYSFW_BINARY}
> >  }
> 


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

end of thread, other threads:[~2018-09-13 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-13 19:17 [rocko/master][PATCH] u-boot-k3-r5: update SYSFW to 2018.08b Denys Dmytriyenko
2018-09-13 19:30 ` [EXTERNAL] " Jacob Stiffler
2018-09-13 19:36   ` Denys Dmytriyenko

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.