Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Chris Dimich <chris.dimich@boundarydevices.com>
Cc: Gary Bisson <bisson.gary@gmail.com>,
	Refik Tuzakli <tuzakli.refik@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Romain Naour <romain.naour@gmail.com>,
	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Subject: Re: [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
Date: Sun, 28 Aug 2022 17:44:32 +0200	[thread overview]
Message-ID: <20220828154432.GF2569@scaer> (raw)
In-Reply-To: <20220824192604.2549356-10-chris.dimich@boundarydevices.com>

Chris, All,

On 2022-08-24 12:26 -0700, Chris Dimich spake thusly:
> To match NXP 5.15.32-2.0.0 release.
> 
> Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> ---
>  .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash    | 2 +-
>  .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk      | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> index ee105ef82c..ccb28bc4f6 100644
> --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> @@ -1,3 +1,3 @@
>  # locally computed
> -sha256  257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379  kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz
> +sha256  b816ab94b1d248cfc5fe5f6381422346c273d01760bb324303e0298e10bd46e2  kernel-module-imx-gpu-viv-82c6cb6c607424403b8d76805bb17e7be74292f6.tar.gz
>  sha256  b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259  COPYING
> diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> index 10505fdf17..f94890a438 100644
> --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5
> +KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6 #6.4.3.p4.2

So not add a comment at the end of the line; this is known to cause
issues in some situations, and we previously had to remove all of them
in the past. Instead, just add such a comment just above the assignment;

    # Equivalent to 6.4.3.p4.2
    KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6

I also have some relatively minor concerns with this package (not
specifically due to your change, but prompted by it):

The git repository does have tags with the corresponding versions, e.g.:

    https://github.com/Freescale/kernel-module-imx-gpu-viv/releases/tag/upstream%2F6.4.3.p4.2

which is tag "upstream/6.4.3.p4.2".

However, here's the corresponding graphlog:

    *   82c6cb6 (HEAD -> master, origin/master, origin/HEAD) Merge tag 'upstream/6.4.3.p4.2'
    |\
    | * c897a6c (tag: upstream/6.4.3.p4.2, origin/upstream) Import 6.4.3.p4.2 original version
    * | a482c32 Merge tag 'upstream/6.4.3.p4.0'
    |\|
    | * 9c2d676 (tag: upstream/6.4.3.p4.0) Import 6.4.3.p4.0 original version
    * | 5c7b884 Merge tag 'upstream/6.4.3.p2.4'
    |\|
    | * 410ce59 (tag: upstream/6.4.3.p2.4) Import 6.4.3.p2.4 original version
    * | 5115a2b Merge tag 'upstream/6.4.3.p2.2'
    |\|
    | * e879a17 (tag: upstream/6.4.3.p2.2) Import 6.4.3.p2.2 original version
    * | ae0f3be gc_hal_kernel_platform_imx.config: remove build time/user * macros
    * | 20595cd Merge tag 'upstream/6.4.3.p2.0'
    |\|
    | * 8f1bf96 (tag: upstream/6.4.3.p2.0) Import 6.4.3.p2.0 original version
    ...

So, basically, we are using the commits on the master branch, but all
that differs from the corresponding tag is (by running:  git diff -p
c897a6c..82c6cb6):

  - there is an added 'fscl' (or variation thereof, like '+fscl') in 4
    locations, all appended to the version string;

  - there are two macros that are removed (specifically by ae0f3be).

So, can't we use the tag instead of a sha1, and carry the patch from
ae0f3be localy?

Otherwise, Chris and Gary: could you add tags on the master branch,
maybe?

Thoughts?

Regards,
Yann E. MORIN.

>  KERNEL_MODULE_IMX_GPU_VIV_SITE = \
>  	$(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION))
>  KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-28 15:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
2022-08-28 15:29   ` Yann E. MORIN
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
2022-08-28 15:15   ` Yann E. MORIN
2022-09-02 18:22     ` Chris Dimich
2022-08-24 19:26 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
2022-08-28 15:44   ` Yann E. MORIN [this message]
2022-08-29 12:51     ` Gary Bisson
2022-09-02 18:43       ` Yann E. MORIN
2022-08-24 19:26 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
2022-08-24 19:26 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
2022-09-17 20:15   ` Thomas Petazzoni
2022-08-24 19:26 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
2022-09-17 20:21   ` Thomas Petazzoni
2022-08-24 19:26 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
2022-09-17 20:26   ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2022-08-24  2:48 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
2022-08-24  2:48 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
2022-08-24  2:49 ` Chris Dimich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220828154432.GF2569@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bisson.gary@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=chris.dimich@boundarydevices.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tuzakli.refik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox