All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include: configs: move USB first in the boot order for rk3399
@ 2022-01-27  8:39 Dan Johansen
  2022-03-14  7:57 ` Kever Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Johansen @ 2022-01-27  8:39 UTC (permalink / raw)
  To: knaerzche, kever.yang; +Cc: u-boot, Dan Johansen

In Manjaro ARM we have used this patch for years now and it was
requested that we upstream it.

This will make all rk3399 based boards try USB boot before
SD or eMMC. Can be quite handy on some devices, where the
other devices are not easy to get to.

Signed-off-by: Dan Johansen <strit@manjaro.org>
---
 include/configs/rockchip-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index ba7061a287..5dc92373b2 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -55,9 +55,9 @@
 
 #ifdef CONFIG_ROCKCHIP_RK3399
 #define BOOT_TARGET_DEVICES(func) \
+	BOOT_TARGET_USB(func) \
 	BOOT_TARGET_MMC(func) \
 	BOOT_TARGET_NVME(func) \
-	BOOT_TARGET_USB(func) \
 	BOOT_TARGET_PXE(func) \
 	BOOT_TARGET_DHCP(func) \
 	BOOT_TARGET_SF(func)
-- 
2.34.1


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

* Re: [PATCH] include: configs: move USB first in the boot order for rk3399
  2022-01-27  8:39 [PATCH] include: configs: move USB first in the boot order for rk3399 Dan Johansen
@ 2022-03-14  7:57 ` Kever Yang
  2022-03-14  7:58   ` Dan Johansen
  0 siblings, 1 reply; 3+ messages in thread
From: Kever Yang @ 2022-03-14  7:57 UTC (permalink / raw)
  To: Dan Johansen; +Cc: knaerzche, Kever Yang, U-Boot-Denx

Hi Dan,
    Thanks for your patch.
    Most of the board would like to boot from SD->MMC->NVME, only if
there no firmware found in the onboard storage, them the U-Boot try
with USB or network.
    So I'm afraid this patch can not be applied.

Thanks,
- Kever

Dan Johansen <strit@manjaro.org> 于2022年1月28日周五 05:56写道:
>
> In Manjaro ARM we have used this patch for years now and it was
> requested that we upstream it.
>
> This will make all rk3399 based boards try USB boot before
> SD or eMMC. Can be quite handy on some devices, where the
> other devices are not easy to get to.
>
> Signed-off-by: Dan Johansen <strit@manjaro.org>
> ---
>  include/configs/rockchip-common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
> index ba7061a287..5dc92373b2 100644
> --- a/include/configs/rockchip-common.h
> +++ b/include/configs/rockchip-common.h
> @@ -55,9 +55,9 @@
>
>  #ifdef CONFIG_ROCKCHIP_RK3399
>  #define BOOT_TARGET_DEVICES(func) \
> +       BOOT_TARGET_USB(func) \
>         BOOT_TARGET_MMC(func) \
>         BOOT_TARGET_NVME(func) \
> -       BOOT_TARGET_USB(func) \
>         BOOT_TARGET_PXE(func) \
>         BOOT_TARGET_DHCP(func) \
>         BOOT_TARGET_SF(func)
> --
> 2.34.1
>

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

* Re: [PATCH] include: configs: move USB first in the boot order for rk3399
  2022-03-14  7:57 ` Kever Yang
@ 2022-03-14  7:58   ` Dan Johansen
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Johansen @ 2022-03-14  7:58 UTC (permalink / raw)
  To: Kever Yang; +Cc: knaerzche, U-Boot-Denx

Okay, no problem.

I was just asked to upstream it, so that was my attempt.

Have a good day.

Den 14.03.2022 kl. 08.57 skrev Kever Yang:
> Hi Dan,
>      Thanks for your patch.
>      Most of the board would like to boot from SD->MMC->NVME, only if
> there no firmware found in the onboard storage, them the U-Boot try
> with USB or network.
>      So I'm afraid this patch can not be applied.
>
> Thanks,
> - Kever
>
> Dan Johansen<strit@manjaro.org>  于2022年1月28日周五 05:56写道:
>> In Manjaro ARM we have used this patch for years now and it was
>> requested that we upstream it.
>>
>> This will make all rk3399 based boards try USB boot before
>> SD or eMMC. Can be quite handy on some devices, where the
>> other devices are not easy to get to.
>>
>> Signed-off-by: Dan Johansen<strit@manjaro.org>
>> ---
>>   include/configs/rockchip-common.h | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
>> index ba7061a287..5dc92373b2 100644
>> --- a/include/configs/rockchip-common.h
>> +++ b/include/configs/rockchip-common.h
>> @@ -55,9 +55,9 @@
>>
>>   #ifdef CONFIG_ROCKCHIP_RK3399
>>   #define BOOT_TARGET_DEVICES(func) \
>> +       BOOT_TARGET_USB(func) \
>>          BOOT_TARGET_MMC(func) \
>>          BOOT_TARGET_NVME(func) \
>> -       BOOT_TARGET_USB(func) \
>>          BOOT_TARGET_PXE(func) \
>>          BOOT_TARGET_DHCP(func) \
>>          BOOT_TARGET_SF(func)
>> --
>> 2.34.1
>>
-- 
Kind regards
*Dan Johansen*
Project lead of the *Manjaro ARM* project
Manjaro-ARM <https://manjaro.org>

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

end of thread, other threads:[~2022-03-14 11:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27  8:39 [PATCH] include: configs: move USB first in the boot order for rk3399 Dan Johansen
2022-03-14  7:57 ` Kever Yang
2022-03-14  7:58   ` Dan Johansen

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.