arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs
PATCH v3 1/1 arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESET
Signature · 1 line
2.40.1
Hi Tom / Kever
Quoted 28 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +1
-1@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESET --
Quoted 2 lines
2.40.1
Can this please be merged in ?
Kind regards,
Shantur
Quoted 18 lines · Shantur Rathore
Hi Tom / Kever
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to BOOTSTD_FULL if BOOTSTD_DEFAULTS for everyone.
Signature · 1 line
Tom
Quoted 36 lines · Tom Rini
Quoted 18 lines · Shantur Rathore
Hi Tom / Kever
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
Quoted 3 lines
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.
Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Regards,
Shantur
Quoted 37 lines · Shantur Rathore
Quoted 36 lines · Tom Rini
Quoted 32 lines · Shantur Rathore
Hi Tom / Kever
Quoted 20 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +0
-0arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 7 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
Quoted 6 lines
Quoted 3 lines
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
Signature · 1 line
Tom
Hi Shantur, Tom,
Quoted 37 lines · Tom Rini
Quoted 36 lines · Shantur Rathore
Quoted 35 lines · Tom Rini
Quoted 17 lines · Shantur Rathore
Hi Tom / Kever
Quoted 14 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.
Quoted 6 lines
Quoted 2 lines
Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
Thanks,
- Kever
Quoted 1 line
Hi Kever,
Quoted 48 lines · Kever Yang
Hi Shantur, Tom,
Quoted 37 lines · Tom Rini
Quoted 36 lines · Shantur Rathore
Quoted 35 lines · Tom Rini
Quoted 17 lines · Shantur Rathore
Hi Tom / Kever
Quoted 14 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Quoted 6 lines
Quoted 2 lines
Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
Quoted 8 lines
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.
Would it be acceptable if BOOTSTD_FULL is enabled for SoCs rather than boards?
Kind regards,
Shantur
Hi Kever,
Quoted 58 lines · Shantur Rathore
Hi Kever,
Quoted 54 lines · Kever Yang
Hi Shantur, Tom,
Quoted 37 lines · Tom Rini
Quoted 36 lines · Shantur Rathore
Quoted 35 lines · Tom Rini
Quoted 17 lines · Shantur Rathore
Hi Tom / Kever
Quoted 14 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Quoted 6 lines
Quoted 2 lines
Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
Quoted 9 lines
Quoted 2 lines
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.Would it be acceptable if
BOOTSTD_FULLis enabled for SoCs rather than boards?
Can you please suggest the way forward?
Initially the patch was for RockPro64 and then after discussion it was suggested that as BOOTSTD_DEFAULT is very very limited
we should enable BOOTSTD_FULL for SoCs that can support multiple boot modes.
Kind regards,
Shantur
Hi Shantur,
Quoted 64 lines · Shantur Rathore
Hi Kever,
Quoted 61 lines · Shantur Rathore
Hi Kever,
Quoted 46 lines · Kever Yang
Hi Shantur, Tom,
Quoted 37 lines · Tom Rini
Quoted 36 lines · Shantur Rathore
Quoted 35 lines · Tom Rini
Quoted 17 lines · Shantur Rathore
Hi Tom / Kever
Quoted 14 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass<[email protected]>Signed-off-by Shantur Rathore<[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1992
Quoted 12 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Quoted 6 lines
Quoted 2 lines
Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
Quoted 8 lines
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.
Quoted 6 lines
Quoted 2 lines
Would it be acceptable if
BOOTSTD_FULLis enabled for SoCs rather than boards?Can you please suggest the way forward?
Initially the patch was for RockPro64 and then after discussion it was suggested that asBOOTSTD_DEFAULTis very very limited
we should enableBOOTSTD_FULLfor SoCs that can support multiple boot modes.
Let's enable it for RK3588 first and then maybe other SoCs which not code size sensitive.
Thanks,
- Kever
Quoted 3 lines
Kind regards,
Shantur
Hi Kever,
Quoted 79 lines · Kever Yang
Hi Shantur,
On 2024/1/17 14:26, Shantur Rathore wrote:
Hi Kever,
On Wed, Jan 10, 2024 at 11:58 AM Shantur Rathore <[email protected]> wrote:
Hi Kever,
On Tue, Jan 9, 2024 at 10:55 AM Kever Yang <[email protected]> wrote:
Hi Shantur, Tom,
On 2023/12/10 04:45, Tom Rini wrote:
On Sat, Dec 09, 2023 at 07:49:04PM +0000, Shantur Rathore wrote:
On Sat, Dec 9, 2023 at 7:18 PM Tom Rini <[email protected]> wrote:
On Fri, Dec 08, 2023 at 10:52:02AM +0000, Shantur Rathore wrote:
Hi Tom / Kever
On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore <[email protected]> wrote:
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.
Quoted 9 lines
Would it be acceptable if
BOOTSTD_FULLis enabled for SoCs rather than boards?Can you please suggest the way forward?
Initially the patch was for RockPro64 and then after discussion it was suggested that asBOOTSTD_DEFAULTis very very limited
we should enableBOOTSTD_FULLfor SoCs that can support multiple boot modes.Let's enable it for RK3588 first and then maybe other SoCs which not code size sensitive.
My requirement is for RK3399, so I will enable BOOTSTD_FULL for it. While at it do you want me to enable it for RK3588 as well ?
Kind regards,
Shantur
Hi Shantur,
Quoted 88 lines · Shantur Rathore
Hi Kever,
Quoted 85 lines · Kever Yang
Hi Shantur,
On 2024/1/17 14:26, Shantur Rathore wrote:
Hi Kever,
On Wed, Jan 10, 2024 at 11:58 AM Shantur Rathore <[email protected]> wrote:
Hi Kever,
On Tue, Jan 9, 2024 at 10:55 AM Kever Yang <[email protected]> wrote:
Hi Shantur, Tom,
On 2023/12/10 04:45, Tom Rini wrote:
On Sat, Dec 09, 2023 at 07:49:04PM +0000, Shantur Rathore wrote:
On Sat, Dec 9, 2023 at 7:18 PM Tom Rini <[email protected]> wrote:
On Fri, Dec 08, 2023 at 10:52:02AM +0000, Shantur Rathore wrote:
Hi Tom / Kever
On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore <[email protected]> wrote:
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.Would it be acceptable if
BOOTSTD_FULLis enabled for SoCs rather than boards?Can you please suggest the way forward?
Initially the patch was for RockPro64 and then after discussion it was suggested that asBOOTSTD_DEFAULTis very very limited
we should enableBOOTSTD_FULLfor SoCs that can support multiple boot modes.
Quoted 4 lines
Quoted 2 lines
Let's enable it for RK3588 first and then maybe other SoCs which not code size sensitive.
My requirement is for RK3399, so I will enable
BOOTSTD_FULLfor it. While at it do you want me to enable it for RK3588 as well ?
You can add for RK3399 or both RK3399 and RK3588.
Thanks,
- Kever
Quoted 3 lines
Kind regards,
Shantur
Hi Kever,
Quoted 92 lines · Kever Yang
Hi Shantur,
Quoted 88 lines · Shantur Rathore
Hi Kever,
Quoted 85 lines · Kever Yang
Hi Shantur,
On 2024/1/17 14:26, Shantur Rathore wrote:
Hi Kever,
On Wed, Jan 10, 2024 at 11:58 AM Shantur Rathore <[email protected]> wrote:
Hi Kever,
On Tue, Jan 9, 2024 at 10:55 AM Kever Yang <[email protected]> wrote:
Hi Shantur, Tom,
On 2023/12/10 04:45, Tom Rini wrote:
On Sat, Dec 09, 2023 at 07:49:04PM +0000, Shantur Rathore wrote:
On Sat, Dec 9, 2023 at 7:18 PM Tom Rini <[email protected]> wrote:
On Fri, Dec 08, 2023 at 10:52:02AM +0000, Shantur Rathore wrote:
Hi Tom / Kever
On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore <[email protected]> wrote:
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS imply FAT_WRITE imply SARADC_ROCKCHIP imply SPL_SYSRESETCan this please be merged in ?
I wonder if we shouldn't really globally default to
BOOTSTD_FULLifBOOTSTD_DEFAULTSfor everyone.Its matter of ~21KB in size, unless any platform is really to its limits it should be alright.
Maybe I need to re-check things too, since I wonder how much of that growth is re-enabling things that were removed when dropping the DISTRO stuff, and so for platforms just migrating over now it would be smaller in size if much.
A board maintainer is free to enable this option, but I don't agree to enable this for everyone.
Not like rk3399 and rk3588, some of other SoCs always want a clean and simple but usable U-Boot,
eg. rk3036 and rk3308 are still in the list.
The discussion is what we consider "usable U-Boot"
By default bootstd doesn't have any options and not even to show what it's going to boot.Would it be acceptable if
BOOTSTD_FULLis enabled for SoCs rather than boards?Can you please suggest the way forward?
Initially the patch was for RockPro64 and then after discussion it was suggested that asBOOTSTD_DEFAULTis very very limited
we should enableBOOTSTD_FULLfor SoCs that can support multiple boot modes.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Let's enable it for RK3588 first and then maybe other SoCs which not code size sensitive.
My requirement is for RK3399, so I will enable
BOOTSTD_FULLfor it. While at it do you want me to enable it for RK3588 as well ?You can add for RK3399 or both RK3399 and RK3588.
Patch v5 [0] has been submitted with RK3399 and RK3588
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Kind regards,
Shantur
Quoted 20 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +0
-0
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 4 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTS
Yes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Jagan.
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Kind regards,
Shantur
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.
Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULL enables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.
Image size - u-boot.itd without BOOTSTD_FULL - 1193984 bytes Image size - u-boot.itb with BOOTSTD_FULL - 1214976 bytes Difference - 20992 bytes
According to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68
Kind regards,
Shantur
Quoted 63 lines · Shantur Rathore
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULLenables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.Image size - u-boot.itd without
BOOTSTD_FULL- 1193984 bytes Image size - u-boot.itb withBOOTSTD_FULL- 1214976 bytes Difference - 20992 bytes
Quoted 7 lines
According to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68
If I'm recalling everything right, this also brings "bootflow" as a command more in line with what could be done with distro_bootcmd in terms of "cover every possible case and let the user override things"
Signature · 1 line
Tom
Quoted 68 lines · Tom Rini
Quoted 66 lines · Shantur Rathore
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULLenables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.Image size - u-boot.itd without
BOOTSTD_FULL- 1193984 bytes Image size - u-boot.itb withBOOTSTD_FULL- 1214976 bytes Difference - 20992 bytesAccording to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
Quoted 9 lines
Quoted 4 lines
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68If I'm recalling everything right, this also brings "bootflow" as a command more in line with what could be done with
distro_bootcmdin terms of "cover every possible case and let the user override things"
Yes,
That's correct.
U_BOOT_LONGHELP(bootflow,
#ifdef CONFIG_CMD_BOOTFLOW_FULL
"scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)\n"
"bootflow list [-e] - list scanned bootflows (-e errors)\n"
"bootflow select [<num>|<name>] - select a bootflow\n"
"bootflow info [-ds] - show info on current bootflow (-d
dump bootflow)\n"
"bootflow read - read all current-bootflow files\n" "bootflow boot - boot current bootflow\n" "bootflow menu [-t] - show a menu of available bootflows\n" "bootflow cmdline [set|get|clear|delete|auto] <param> [<value>] -
update cmdline"
#else
"scan - boot first available bootflow\n"
#endif
);
Hi,
Quoted 94 lines · Shantur Rathore
Quoted 68 lines · Tom Rini
Quoted 66 lines · Shantur Rathore
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULLenables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.Image size - u-boot.itd without
BOOTSTD_FULL- 1193984 bytes Image size - u-boot.itb withBOOTSTD_FULL- 1214976 bytes Difference - 20992 bytesAccording to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
Quoted 9 lines
Quoted 4 lines
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68If I'm recalling everything right, this also brings "bootflow" as a command more in line with what could be done with
distro_bootcmdin terms of "cover every possible case and let the user override things"Yes,
That's correct.U_BOOT_LONGHELP(bootflow,
#ifdefCONFIG_CMD_BOOTFLOW_FULL
"scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)\n"
"bootflow list [-e] - list scanned bootflows (-e errors)\n"
"bootflow select [<num>|<name>] - select a bootflow\n"
"bootflow info [-ds] - show info on current bootflow (-d
dump bootflow)\n""bootflow read - read all current-bootflow files\n" "bootflow boot - boot current bootflow\n" "bootflow menu [-t] - show a menu of available bootflows\n" "bootflow cmdline [set|get|clear|delete|auto] <param> [<value>] -
Quoted 5 lines
update cmdline"
#else
"scan - boot first available bootflow\n"
#endif
);
I suggest we keep it off for now, as we did put in quite a bit of effort to reduce code size. It would be a shame to throw it all away.
That said, I can imagine this becoming a pain for people over time, as the 'bootflow' command becomes the common way to interact with U-Boot. I just wonder if it is too early to make the switch?
Regards,
Simon
Quoted 103 lines · Simon Glass
Hi,
Quoted 94 lines · Shantur Rathore
Quoted 68 lines · Tom Rini
Quoted 66 lines · Shantur Rathore
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULLenables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.Image size - u-boot.itd without
BOOTSTD_FULL- 1193984 bytes Image size - u-boot.itb withBOOTSTD_FULL- 1214976 bytes Difference - 20992 bytesAccording to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
Quoted 9 lines
Quoted 4 lines
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68If I'm recalling everything right, this also brings "bootflow" as a command more in line with what could be done with
distro_bootcmdin terms of "cover every possible case and let the user override things"Yes,
That's correct.U_BOOT_LONGHELP(bootflow,
#ifdefCONFIG_CMD_BOOTFLOW_FULL
"scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)\n"
"bootflow list [-e] - list scanned bootflows (-e errors)\n"
"bootflow select [<num>|<name>] - select a bootflow\n"
"bootflow info [-ds] - show info on current bootflow (-d
dump bootflow)\n""bootflow read - read all current-bootflow files\n" "bootflow boot - boot current bootflow\n" "bootflow menu [-t] - show a menu of available bootflows\n" "bootflow cmdline [set|get|clear|delete|auto] <param> [<value>] -Quoted 5 lines
update cmdline"
#else
"scan - boot first available bootflow\n"
#endif
);
Quoted 6 lines
I suggest we keep it off for now, as we did put in quite a bit of effort to reduce code size. It would be a shame to throw it all away.
That said, I can imagine this becoming a pain for people over time, as the 'bootflow' command becomes the common way to interact with U-Boot. I just wonder if it is too early to make the switch?
I think in hind-sight too much stuff is omitted without BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.
Signature · 1 line
Tom
Hi Tom,
Quoted 108 lines · Tom Rini
Quoted 106 lines · Simon Glass
Hi,
Quoted 94 lines · Shantur Rathore
Quoted 68 lines · Tom Rini
Quoted 66 lines · Shantur Rathore
Hi Peter,
Quoted 42 lines · Peter Robinson
Quoted 35 lines · Shantur Rathore
Hi Jagan,
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default.
Reviewed-by Simon Glass <[email protected]>Signed-off-by Shantur Rathore <[email protected]>---
(no changes since v1)
arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
arch/arm/Kconfig config ARCH_ROCKCHIP · line 1989
Quoted 9 lines
arch/arm/Kconfig +1
-0@@ -1986,6 +1986,7 @@ config ARCH_ROCKCHIP imply CMD_DM imply DEBUG_UART_BOARD_INIT imply BOOTSTD_DEFAULTS + imply BOOTSTD_FULL if BOOTSTD_DEFAULTSYes, but better to give this option to specific board vendors as defaults are enough to boot 1st bootflow and what ever media's it has.
Quoted 4 lines
Yes, that's correct it is enough to boot but by default there is no option to choose what to boot from.
This was discussed in an earlier version of this patch [0] where I was explicitly enabling only for RP64.Quoted 4 lines
What actual extra functionality does this provide, what is the impact on the size of images? You've not provided reasonable justification outside of very vague statements, it would be useful to know what the added options actually solves.
BOOTSTD_FULLenables all the options in bootflow commands. This is needed if
- you want to choose between multiple available bootflows rather than just boot one default.
- if you need to list the available bootflows that bootstd has found
- if you need to select and boot any bootflow other than default. By default all other commands in U-boot come with options to show details For example, nvme info, nvme detail, usb info, usb tree but with bootstd no way to know anything.Image size - u-boot.itd without
BOOTSTD_FULL- 1193984 bytes Image size - u-boot.itb withBOOTSTD_FULL- 1214976 bytes Difference - 20992 bytesAccording to binman for RK3399 u-boot can take upto 4M [1] so we have ample space.
Quoted 9 lines
Quoted 4 lines
This was discussed in the previous patch in the link below [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[1] - https://github.com/shantur/u-boot/blob/master/arch/arm/dts/rk3399-u-boot.dtsi#L68If I'm recalling everything right, this also brings "bootflow" as a command more in line with what could be done with
distro_bootcmdin terms of "cover every possible case and let the user override things"Yes,
That's correct.U_BOOT_LONGHELP(bootflow,
#ifdefCONFIG_CMD_BOOTFLOW_FULL
"scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)\n"
"bootflow list [-e] - list scanned bootflows (-e errors)\n"
"bootflow select [<num>|<name>] - select a bootflow\n"
"bootflow info [-ds] - show info on current bootflow (-d
dump bootflow)\n""bootflow read - read all current-bootflow files\n" "bootflow boot - boot current bootflow\n" "bootflow menu [-t] - show a menu of available bootflows\n" "bootflow cmdline [set|get|clear|delete|auto] <param> [<value>] -Quoted 5 lines
update cmdline"
#else
"scan - boot first available bootflow\n"
#endif
);I suggest we keep it off for now, as we did put in quite a bit of effort to reduce code size. It would be a shame to throw it all away.
Quoted 8 lines
Quoted 3 lines
That said, I can imagine this becoming a pain for people over time, as the 'bootflow' command becomes the common way to interact with U-Boot. I just wonder if it is too early to make the switch?
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.
At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with BOOTSTD_FULL but still have it as an option?
Regards,
Simon
Quoted 1 line · Simon Glass
Hi Tom,
[snip]
Quoted 8 lines
Quoted 4 lines
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with
BOOTSTD_FULLbut still have it as an option?
Right. But now that we've tried this, some of the feedback has been that it's just too minimal right now. Like looking at the help message for bootflow, list and info should probably always be available. And maybe the flags for "scan" should be re-thought? Too late to change things now but "bootflow scan -b" should maybe how it's always been for "scan and boot".
Signature · 1 line
Tom
Hi all,
Quoted 13 lines · Tom Rini
Quoted 1 line · Simon Glass
Hi Tom,
[snip]
Quoted 8 lines
Quoted 4 lines
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with
BOOTSTD_FULLbut still have it as an option?
Quoted 6 lines
Right. But now that we've tried this, some of the feedback has been that it's just too minimal right now. Like looking at the help message for bootflow, list and info should probably always be available. And maybe the flags for "scan" should be re-thought? Too late to change things now but "bootflow scan -b" should maybe how it's always been for "scan and boot".
What would be the preferred approach for this patch?
Is it to update the default capabilities of bootflow or we can have this patch?
Thanks
Shantur
Quoted 3 lines
--
Tom
Quoted 23 lines · Shantur Rathore
Hi all,
Quoted 13 lines · Tom Rini
Quoted 1 line · Simon Glass
Hi Tom,
[snip]
Quoted 8 lines
Quoted 4 lines
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with
BOOTSTD_FULLbut still have it as an option?Quoted 6 lines
Right. But now that we've tried this, some of the feedback has been that it's just too minimal right now. Like looking at the help message for bootflow, list and info should probably always be available. And maybe the flags for "scan" should be re-thought? Too late to change things now but "bootflow scan -b" should maybe how it's always been for "scan and boot".
Quoted 2 lines
What would be the preferred approach for this patch?
Is it to update the default capabilities of bootflow or we can have this patch?
Well, I don't see a problem with just adding this to the platforms which enable BOOTSTD_FULL until we can rework what's included/excluded by that flag, and there's an issue filed for it now.
Signature · 1 line
Tom
Quoted 28 lines · Tom Rini
Quoted 23 lines · Shantur Rathore
Hi all,
Quoted 13 lines · Tom Rini
Quoted 1 line · Simon Glass
Hi Tom,
[snip]
Quoted 8 lines
Quoted 4 lines
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with
BOOTSTD_FULLbut still have it as an option?Quoted 6 lines
Right. But now that we've tried this, some of the feedback has been that it's just too minimal right now. Like looking at the help message for bootflow, list and info should probably always be available. And maybe the flags for "scan" should be re-thought? Too late to change things now but "bootflow scan -b" should maybe how it's always been for "scan and boot".
Quoted 2 lines
What would be the preferred approach for this patch?
Is it to update the default capabilities of bootflow or we can have this patch?
Quoted 6 lines
Well, I don't see a problem with just adding this to the platforms which enable
BOOTSTD_FULLuntil we can rework what's included/excluded by that flag, and there's an issue filed for it now.--
Tom
Great, can we have this merged in please then [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Regards,
Shantur
Hi,
Quoted 34 lines · Shantur Rathore
Quoted 32 lines · Tom Rini
Quoted 23 lines · Shantur Rathore
Hi all,
Quoted 13 lines · Tom Rini
Quoted 1 line · Simon Glass
Hi Tom,
[snip]
Quoted 8 lines
Quoted 4 lines
I think in hind-sight too much stuff is omitted without
BOOTSTD_FULL. The option itself then enables other stuff too by default, but some parts of the bootflow command itself should be visible even without FULL to make things easier on the user.At the time the goal was to avoid growth compared to the distro scripts. We could perhaps add some more things in with
BOOTSTD_FULLbut still have it as an option?Quoted 6 lines
Right. But now that we've tried this, some of the feedback has been that it's just too minimal right now. Like looking at the help message for bootflow, list and info should probably always be available. And maybe the flags for "scan" should be re-thought? Too late to change things now but "bootflow scan -b" should maybe how it's always been for "scan and boot".
Quoted 2 lines
What would be the preferred approach for this patch?
Is it to update the default capabilities of bootflow or we can have this patch?Well, I don't see a problem with just adding this to the platforms which enable
BOOTSTD_FULLuntil we can rework what's included/excluded by that flag, and there's an issue filed for it now.
Quoted 7 lines
Quoted 2 lines
--
TomGreat, can we have this merged in please then [0]
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
I tried this patch over the next branch and it failed to build.
Sent v4 here :
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Regards,
Shantur