All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [yocto] [meta-rockchip][PATCH] rockchip-rkbin: fail if lacking an override
       [not found] <179161A449234C9C.20272@lists.yoctoproject.org>
@ 2023-10-30 13:21 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2023-10-30 13:21 UTC (permalink / raw)
  To: yocto

On Wed 2023-10-25 @ 10:57:56 AM, Trevor Woerner via lists.yoctoproject.org wrote:
> Looking forward, rkbin should only be used by specific Rockchip platforms
> for which TF-A support is not (yet?) available. If rkbin gets added by
> accident without an override, add a bbfatal to let the user know an
> override is required.
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  recipes-bsp/rkbin/rockchip-rkbin_git.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Added to meta-rockchip, master branch.


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

* Re: [yocto] [meta-rockchip][PATCH] rockchip-rkbin: fail if lacking an override
  2023-10-25 14:57 Trevor Woerner
@ 2023-11-02 10:33 ` Quentin Schulz
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Schulz @ 2023-11-02 10:33 UTC (permalink / raw)
  To: twoerner, yocto

Hi Trevor,

Looks good to me,

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>

Cheers,
Quentin

On 10/25/23 16:57, Trevor Woerner via lists.yoctoproject.org wrote:
> Looking forward, rkbin should only be used by specific Rockchip platforms
> for which TF-A support is not (yet?) available. If rkbin gets added by
> accident without an override, add a bbfatal to let the user know an
> override is required.
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>   recipes-bsp/rkbin/rockchip-rkbin_git.bb | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-bsp/rkbin/rockchip-rkbin_git.bb b/recipes-bsp/rkbin/rockchip-rkbin_git.bb
> index f9e680d16cb9..a3ab34189041 100644
> --- a/recipes-bsp/rkbin/rockchip-rkbin_git.bb
> +++ b/recipes-bsp/rkbin/rockchip-rkbin_git.bb
> @@ -25,7 +25,7 @@ do_install() {
>   PACKAGES = "${PN}"
>   ALLOW_EMPTY:${PN} = "1"
>   
> -do_deploy() {
> +do_deploy:rk3588s() {
>   	# Prebuilt TF-A
>   	install -m 644 ${S}/bin/rk35/rk3588_bl31_v*.elf ${DEPLOYDIR}/bl31-rk3588.elf
>   	# Prebuilt OPTEE-OS
> @@ -34,4 +34,8 @@ do_deploy() {
>   	install -m 644 ${S}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v*.bin ${DEPLOYDIR}/ddr-rk3588.bin
>   }
>   
> +do_deploy() {
> +	bbfatal "COMPATIBLE_MACHINE requires a corresponding do_deploy:<MACHINE>() override"
> +}
> +
>   addtask deploy after do_install
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#61484): https://lists.yoctoproject.org/g/yocto/message/61484
> Mute This Topic: https://lists.yoctoproject.org/mt/102179996/6293953
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [quentin.schulz@theobroma-systems.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


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

end of thread, other threads:[~2023-11-02 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <179161A449234C9C.20272@lists.yoctoproject.org>
2023-10-30 13:21 ` [yocto] [meta-rockchip][PATCH] rockchip-rkbin: fail if lacking an override Trevor Woerner
2023-10-25 14:57 Trevor Woerner
2023-11-02 10:33 ` [yocto] " Quentin Schulz

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.