All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
@ 2021-04-14 14:49 Reto Schneider
  2021-04-15  5:23 ` Stefan Roese
  2021-04-15  6:59 ` [PATCH v2] " Reto Schneider
  0 siblings, 2 replies; 7+ messages in thread
From: Reto Schneider @ 2021-04-14 14:49 UTC (permalink / raw)
  To: u-boot

From: Reto Schneider <reto.schneider@husqvarnagroup.com>

This commit updates the default config with the values that are actually
used "in the wild" and which are close to what is used on the MediaTek
MT7688 based, 2nd generation of the GARDENA smart gateway:
 - Reduce startup time by setting bootdelay to 0 (still allows accessing
   the shell, one just has to send a key press quicker)
 - Adjusting U-Boot environment volume names and MTD partitions to
   the actual layout

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
---

 configs/gardena-smart-gateway-at91sam_defconfig | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
index e3d5bc47d6..76a1c42ce0 100644
--- a/configs/gardena-smart-gateway-at91sam_defconfig
+++ b/configs/gardena-smart-gateway-at91sam_defconfig
@@ -24,6 +24,7 @@ CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
+CONFIG_BOOTDELAY=0
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
@@ -46,8 +47,8 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nand0=nand0"
-CONFIG_MTDPARTS_DEFAULT="nand0:1536k(uboot),1024k(unused),512k(dtb_old),4608k(kernel_old),86528k(ubi),-(rootfs_old)"
+CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
+CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
@@ -55,8 +56,8 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt
 CONFIG_ENV_IS_IN_UBI=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_ENV_UBI_PART="ubi"
-CONFIG_ENV_UBI_VOLUME="env"
-CONFIG_ENV_UBI_VOLUME_REDUND="env_r"
+CONFIG_ENV_UBI_VOLUME="uboot_env0"
+CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-- 
2.29.2

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

* [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
  2021-04-14 14:49 [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values Reto Schneider
@ 2021-04-15  5:23 ` Stefan Roese
  2021-04-15  6:59 ` [PATCH v2] " Reto Schneider
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Roese @ 2021-04-15  5:23 UTC (permalink / raw)
  To: u-boot

Hi Reto,

On 14.04.21 16:49, Reto Schneider wrote:
> From: Reto Schneider <reto.schneider@husqvarnagroup.com>
> 
> This commit updates the default config with the values that are actually
> used "in the wild" and which are close to what is used on the MediaTek
> MT7688 based, 2nd generation of the GARDENA smart gateway:
>   - Reduce startup time by setting bootdelay to 0 (still allows accessing
>     the shell, one just has to send a key press quicker)
>   - Adjusting U-Boot environment volume names and MTD partitions to
>     the actual layout
> 
> Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
> ---
> 
>   configs/gardena-smart-gateway-at91sam_defconfig | 9 +++++----
>   1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
> index e3d5bc47d6..76a1c42ce0 100644
> --- a/configs/gardena-smart-gateway-at91sam_defconfig
> +++ b/configs/gardena-smart-gateway-at91sam_defconfig
> @@ -24,6 +24,7 @@ CONFIG_NAND_BOOT=y
>   CONFIG_BOOTDELAY=3

Please see below...

>   CONFIG_USE_BOOTARGS=y
>   CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
> +CONFIG_BOOTDELAY=0

I'm wondering if this defconfig was generated via make savedefconfig? As
there are multiple configurations for BOOTDELAY. Could you please
double-check again?

Other than that:

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

>   CONFIG_SYS_CONSOLE_IS_IN_ENV=y
>   CONFIG_SYS_CONSOLE_INFO_QUIET=y
>   CONFIG_SPL_SYS_MALLOC_SIMPLE=y
> @@ -46,8 +47,8 @@ CONFIG_CMD_CACHE=y
>   CONFIG_CMD_TIME=y
>   CONFIG_CMD_FAT=y
>   CONFIG_CMD_MTDPARTS=y
> -CONFIG_MTDIDS_DEFAULT="nand0=nand0"
> -CONFIG_MTDPARTS_DEFAULT="nand0:1536k(uboot),1024k(unused),512k(dtb_old),4608k(kernel_old),86528k(ubi),-(rootfs_old)"
> +CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
> +CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
>   CONFIG_CMD_UBI=y
>   CONFIG_OF_CONTROL=y
>   CONFIG_SPL_OF_CONTROL=y
> @@ -55,8 +56,8 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt
>   CONFIG_ENV_IS_IN_UBI=y
>   CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_ENV_UBI_PART="ubi"
> -CONFIG_ENV_UBI_VOLUME="env"
> -CONFIG_ENV_UBI_VOLUME_REDUND="env_r"
> +CONFIG_ENV_UBI_VOLUME="uboot_env0"
> +CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_RANDOM_ETHADDR=y
>   CONFIG_DM=y
> 


Viele Gr??e,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de

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

* [PATCH v2] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
  2021-04-14 14:49 [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values Reto Schneider
  2021-04-15  5:23 ` Stefan Roese
@ 2021-04-15  6:59 ` Reto Schneider
  2021-05-06  6:36   ` Eugen.Hristev at microchip.com
  1 sibling, 1 reply; 7+ messages in thread
From: Reto Schneider @ 2021-04-15  6:59 UTC (permalink / raw)
  To: u-boot

From: Reto Schneider <reto.schneider@husqvarnagroup.com>

This commit updates the default config with the values that are actually
used "in the wild" and which are close to what is used on the MediaTek
MT7688 based, 2nd generation of the GARDENA smart gateway:
 - Reduce startup time by setting bootdelay to 0 (still allows accessing
   the shell, one just has to send a key press quicker)
 - Adjusting U-Boot environment volume names and MTD partitions to
   the actual layout

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Reviewed-by: Stefan Roese <sr@denx.de>
---

Changes in v2:
- Generate with savedefconfig, remove double CONFIG_BOOTDELAY

 configs/gardena-smart-gateway-at91sam_defconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
index e3d5bc47d6..40fe0f150e 100644
--- a/configs/gardena-smart-gateway-at91sam_defconfig
+++ b/configs/gardena-smart-gateway-at91sam_defconfig
@@ -21,7 +21,7 @@ CONFIG_DEFAULT_DEVICE_TREE="at91sam9g25-gardena-smart-gateway"
 CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_NAND_BOOT=y
-CONFIG_BOOTDELAY=3
+CONFIG_BOOTDELAY=0
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
@@ -46,8 +46,8 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nand0=nand0"
-CONFIG_MTDPARTS_DEFAULT="nand0:1536k(uboot),1024k(unused),512k(dtb_old),4608k(kernel_old),86528k(ubi),-(rootfs_old)"
+CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
+CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
@@ -55,8 +55,8 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt
 CONFIG_ENV_IS_IN_UBI=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_ENV_UBI_PART="ubi"
-CONFIG_ENV_UBI_VOLUME="env"
-CONFIG_ENV_UBI_VOLUME_REDUND="env_r"
+CONFIG_ENV_UBI_VOLUME="uboot_env0"
+CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-- 
2.29.2

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

* [PATCH v2] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
  2021-04-15  6:59 ` [PATCH v2] " Reto Schneider
@ 2021-05-06  6:36   ` Eugen.Hristev at microchip.com
  0 siblings, 0 replies; 7+ messages in thread
From: Eugen.Hristev at microchip.com @ 2021-05-06  6:36 UTC (permalink / raw)
  To: u-boot

On 4/15/21 9:59 AM, Reto Schneider wrote:
> From: Reto Schneider <reto.schneider@husqvarnagroup.com>
> 
> This commit updates the default config with the values that are actually
> used "in the wild" and which are close to what is used on the MediaTek
> MT7688 based, 2nd generation of the GARDENA smart gateway:
>   - Reduce startup time by setting bootdelay to 0 (still allows accessing
>     the shell, one just has to send a key press quicker)
>   - Adjusting U-Boot environment volume names and MTD partitions to
>     the actual layout
> 
> Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
> Reviewed-by: Stefan Roese <sr@denx.de>
> ---
> 
> Changes in v2:
> - Generate with savedefconfig, remove double CONFIG_BOOTDELAY
> 
>   configs/gardena-smart-gateway-at91sam_defconfig | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 

Applied to u-boot-atmel/next, thanks !

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

* Re: [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
  2021-06-17 16:57 [PATCH] " Reto Schneider
  2021-06-18  5:51 ` Stefan Roese
@ 2021-08-18 10:42 ` Eugen.Hristev
  1 sibling, 0 replies; 7+ messages in thread
From: Eugen.Hristev @ 2021-08-18 10:42 UTC (permalink / raw)
  To: code, u-boot, sr; +Cc: reto.schneider, andreas, trini

On 6/17/21 7:57 PM, Reto Schneider wrote:
> From: Reto Schneider <reto.schneider@husqvarnagroup.com>
> 
> This commit updates the default config with the values that will be used
> soon on the Atmel / Microchip AT91SAM9G25 based GARDENA smart gateway.
> 
> Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
> ---
> This patch applies to current u-boot-atmel/next

Applied to u-boot-atmel/next

Sorry for taking so long, somehow I missed this patch as it had 
identical subject with a previous patch which I already applied, but 
this patch does something different.
Anyway, I applied it to next, but will be queued for the next merge window.

Eugen

> 
>   configs/gardena-smart-gateway-at91sam_defconfig | 15 ++++++++++++++-
>   1 file changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
> index 40fe0f150e..c626cd699a 100644
> --- a/configs/gardena-smart-gateway-at91sam_defconfig
> +++ b/configs/gardena-smart-gateway-at91sam_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
>   CONFIG_SPL_LIBGENERIC_SUPPORT=y
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=1
> +CONFIG_SYS_MEMTEST_START=0x0
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_DM_GPIO=y
>   CONFIG_SPL_TEXT_BASE=0x300000
> @@ -22,6 +23,8 @@ CONFIG_DEBUG_UART=y
>   CONFIG_FIT=y
>   CONFIG_NAND_BOOT=y
>   CONFIG_BOOTDELAY=0
> +CONFIG_AUTOBOOT_KEYED=y
> +CONFIG_AUTOBOOT_STOP_STR="x"
>   CONFIG_USE_BOOTARGS=y
>   CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
>   CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> @@ -32,20 +35,26 @@ CONFIG_SPL_NAND_SUPPORT=y
>   CONFIG_SPL_NAND_DRIVERS=y
>   CONFIG_SPL_NAND_BASE=y
>   CONFIG_HUSH_PARSER=y
> +CONFIG_CMD_LICENSE=y
>   CONFIG_CMD_BOOTZ=y
> +CONFIG_CMD_MEMINFO=y
> +CONFIG_CMD_MEMTEST=y
> +CONFIG_SYS_ALT_MEMTEST=y
>   CONFIG_CMD_DM=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MTD=y
>   CONFIG_CMD_NAND=y
>   CONFIG_CMD_WDT=y
> -# CONFIG_CMD_SETEXPR is not set
>   CONFIG_CMD_DHCP=y
>   CONFIG_CMD_PING=y
>   CONFIG_CMD_CACHE=y
>   CONFIG_CMD_TIME=y
> +CONFIG_CMD_GETTIME=y
> +CONFIG_CMD_UUID=y
>   CONFIG_CMD_FAT=y
>   CONFIG_CMD_MTDPARTS=y
> +CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
>   CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
>   CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
>   CONFIG_CMD_UBI=y
> @@ -58,6 +67,8 @@ CONFIG_ENV_UBI_PART="ubi"
>   CONFIG_ENV_UBI_VOLUME="uboot_env0"
>   CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> +CONFIG_VERSION_VARIABLE=y
>   CONFIG_NET_RANDOM_ETHADDR=y
>   CONFIG_DM=y
>   CONFIG_SPL_DM=y
> @@ -71,6 +82,7 @@ CONFIG_LED_GPIO=y
>   CONFIG_MTD=y
>   CONFIG_NAND_ATMEL=y
>   CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> +CONFIG_MTD_UBI_FASTMAP=y
>   CONFIG_DM_ETH=y
>   CONFIG_MACB=y
>   CONFIG_PINCTRL=y
> @@ -84,3 +96,4 @@ CONFIG_ATMEL_PIT_TIMER=y
>   CONFIG_WDT=y
>   CONFIG_WDT_AT91=y
>   # CONFIG_UBIFS_SILENCE_MSG is not set
> +CONFIG_LZMA=y
> --
> 2.30.2
> 


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

* Re: [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
  2021-06-17 16:57 [PATCH] " Reto Schneider
@ 2021-06-18  5:51 ` Stefan Roese
  2021-08-18 10:42 ` Eugen.Hristev
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Roese @ 2021-06-18  5:51 UTC (permalink / raw)
  To: Reto Schneider, u-boot; +Cc: Reto Schneider, Andreas Bießmann, Tom Rini

On 17.06.21 18:57, Reto Schneider wrote:
> From: Reto Schneider <reto.schneider@husqvarnagroup.com>
> 
> This commit updates the default config with the values that will be used
> soon on the Atmel / Microchip AT91SAM9G25 based GARDENA smart gateway.
> 
> Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> This patch applies to current u-boot-atmel/next
> 
>   configs/gardena-smart-gateway-at91sam_defconfig | 15 ++++++++++++++-
>   1 file changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
> index 40fe0f150e..c626cd699a 100644
> --- a/configs/gardena-smart-gateway-at91sam_defconfig
> +++ b/configs/gardena-smart-gateway-at91sam_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
>   CONFIG_SPL_LIBGENERIC_SUPPORT=y
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=1
> +CONFIG_SYS_MEMTEST_START=0x0
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_DM_GPIO=y
>   CONFIG_SPL_TEXT_BASE=0x300000
> @@ -22,6 +23,8 @@ CONFIG_DEBUG_UART=y
>   CONFIG_FIT=y
>   CONFIG_NAND_BOOT=y
>   CONFIG_BOOTDELAY=0
> +CONFIG_AUTOBOOT_KEYED=y
> +CONFIG_AUTOBOOT_STOP_STR="x"
>   CONFIG_USE_BOOTARGS=y
>   CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
>   CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> @@ -32,20 +35,26 @@ CONFIG_SPL_NAND_SUPPORT=y
>   CONFIG_SPL_NAND_DRIVERS=y
>   CONFIG_SPL_NAND_BASE=y
>   CONFIG_HUSH_PARSER=y
> +CONFIG_CMD_LICENSE=y
>   CONFIG_CMD_BOOTZ=y
> +CONFIG_CMD_MEMINFO=y
> +CONFIG_CMD_MEMTEST=y
> +CONFIG_SYS_ALT_MEMTEST=y
>   CONFIG_CMD_DM=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MTD=y
>   CONFIG_CMD_NAND=y
>   CONFIG_CMD_WDT=y
> -# CONFIG_CMD_SETEXPR is not set
>   CONFIG_CMD_DHCP=y
>   CONFIG_CMD_PING=y
>   CONFIG_CMD_CACHE=y
>   CONFIG_CMD_TIME=y
> +CONFIG_CMD_GETTIME=y
> +CONFIG_CMD_UUID=y
>   CONFIG_CMD_FAT=y
>   CONFIG_CMD_MTDPARTS=y
> +CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
>   CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
>   CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
>   CONFIG_CMD_UBI=y
> @@ -58,6 +67,8 @@ CONFIG_ENV_UBI_PART="ubi"
>   CONFIG_ENV_UBI_VOLUME="uboot_env0"
>   CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> +CONFIG_VERSION_VARIABLE=y
>   CONFIG_NET_RANDOM_ETHADDR=y
>   CONFIG_DM=y
>   CONFIG_SPL_DM=y
> @@ -71,6 +82,7 @@ CONFIG_LED_GPIO=y
>   CONFIG_MTD=y
>   CONFIG_NAND_ATMEL=y
>   CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> +CONFIG_MTD_UBI_FASTMAP=y
>   CONFIG_DM_ETH=y
>   CONFIG_MACB=y
>   CONFIG_PINCTRL=y
> @@ -84,3 +96,4 @@ CONFIG_ATMEL_PIT_TIMER=y
>   CONFIG_WDT=y
>   CONFIG_WDT_AT91=y
>   # CONFIG_UBIFS_SILENCE_MSG is not set
> +CONFIG_LZMA=y
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

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

* [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values
@ 2021-06-17 16:57 Reto Schneider
  2021-06-18  5:51 ` Stefan Roese
  2021-08-18 10:42 ` Eugen.Hristev
  0 siblings, 2 replies; 7+ messages in thread
From: Reto Schneider @ 2021-06-17 16:57 UTC (permalink / raw)
  To: u-boot, Stefan Roese; +Cc: Reto Schneider, Andreas Bießmann, Tom Rini

From: Reto Schneider <reto.schneider@husqvarnagroup.com>

This commit updates the default config with the values that will be used
soon on the Atmel / Microchip AT91SAM9G25 based GARDENA smart gateway.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
---
This patch applies to current u-boot-atmel/next

 configs/gardena-smart-gateway-at91sam_defconfig | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/configs/gardena-smart-gateway-at91sam_defconfig b/configs/gardena-smart-gateway-at91sam_defconfig
index 40fe0f150e..c626cd699a 100644
--- a/configs/gardena-smart-gateway-at91sam_defconfig
+++ b/configs/gardena-smart-gateway-at91sam_defconfig
@@ -8,6 +8,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_NR_DRAM_BANKS=1
+CONFIG_SYS_MEMTEST_START=0x0
 CONFIG_ENV_SIZE=0x10000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_TEXT_BASE=0x300000
@@ -22,6 +23,8 @@ CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=0
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_STOP_STR="x"
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs rw"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
@@ -32,20 +35,26 @@ CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_NAND_DRIVERS=y
 CONFIG_SPL_NAND_BASE=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_MEMTEST=y
+CONFIG_SYS_ALT_MEMTEST=y
 CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MTD=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_WDT=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_GETTIME=y
+CONFIG_CMD_UUID=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
 CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
 CONFIG_MTDPARTS_DEFAULT="atmel_nand:1536k(uboot),10752k(unused),-(ubi)"
 CONFIG_CMD_UBI=y
@@ -58,6 +67,8 @@ CONFIG_ENV_UBI_PART="ubi"
 CONFIG_ENV_UBI_VOLUME="uboot_env0"
 CONFIG_ENV_UBI_VOLUME_REDUND="uboot_env1"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
+CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
@@ -71,6 +82,7 @@ CONFIG_LED_GPIO=y
 CONFIG_MTD=y
 CONFIG_NAND_ATMEL=y
 CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
+CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
 CONFIG_PINCTRL=y
@@ -84,3 +96,4 @@ CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_WDT=y
 CONFIG_WDT_AT91=y
 # CONFIG_UBIFS_SILENCE_MSG is not set
+CONFIG_LZMA=y
-- 
2.30.2


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

end of thread, other threads:[~2021-08-18 10:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 14:49 [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values Reto Schneider
2021-04-15  5:23 ` Stefan Roese
2021-04-15  6:59 ` [PATCH v2] " Reto Schneider
2021-05-06  6:36   ` Eugen.Hristev at microchip.com
2021-06-17 16:57 [PATCH] " Reto Schneider
2021-06-18  5:51 ` Stefan Roese
2021-08-18 10:42 ` Eugen.Hristev

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.