diff options
author | Andrii Davydenko <andrii.davydenko@globallogic.com> | 2022-09-05 16:49:37 +0300 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-11-16 18:08:20 -0600 |
commit | fe3468c63611d66e50d0dc9d98496d71e500b385 (patch) | |
tree | a88561606d6c1d7ec2ac0215dc11365883b2fe30 | |
parent | 37ed870fa6925f3bff33ab893e9c6977babeb17c (diff) | |
download | meta-multitech-atmel-fe3468c63611d66e50d0dc9d98496d71e500b385.tar.gz meta-multitech-atmel-fe3468c63611d66e50d0dc9d98496d71e500b385.tar.bz2 meta-multitech-atmel-fe3468c63611d66e50d0dc9d98496d71e500b385.zip |
[GP-1689] Manufacturing: Atmel based devices - process improvement
Fix CONFIG_ENV_SIZE variable value for SD image
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch index 5604fcb..454ed06 100644 --- a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch +++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch @@ -1,6 +1,7 @@ -diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h ---- a/include/configs/at91sam9x5ek.h 2022-06-27 17:22:35.279005660 -0500 -+++ b/include/configs/at91sam9x5ek.h 2022-08-01 16:41:03.741015227 +0300 +diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h +index 637c4037dc..1f1b1ae1dc 100644 +--- a/include/configs/at91sam9x5ek.h ++++ b/include/configs/at91sam9x5ek.h @@ -9,9 +9,12 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ @@ -146,7 +147,12 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h #elif defined(CONFIG_SYS_USE_SPIFLASH) /* bootstrap + u-boot + env + linux in spi flash */ #define CONFIG_ENV_IS_IN_SPI_FLASH -@@ -192,11 +239,13 @@ +@@ -188,15 +235,17 @@ + #define FAT_ENV_INTERFACE "mmc" + #define FAT_ENV_FILE "uboot.env" + #define FAT_ENV_DEVICE_AND_PART "0" +-#define CONFIG_ENV_SIZE 0x4000 ++#define CONFIG_ENV_SIZE 0x20000 #endif #ifdef CONFIG_SYS_USE_MMC @@ -163,7 +169,7 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h #else #define CONFIG_BOOTARGS \ "console=ttyS0,115200 earlyprintk " \ -@@ -253,7 +304,8 @@ +@@ -253,7 +302,8 @@ #define CONFIG_SPL_FAT_SUPPORT #define CONFIG_SPL_LIBDISK_SUPPORT @@ -173,7 +179,7 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h #define CONFIG_SPL_NAND_SUPPORT #define CONFIG_SPL_NAND_DRIVERS #define CONFIG_SPL_NAND_BASE -@@ -274,4 +326,21 @@ +@@ -274,4 +324,21 @@ #endif @@ -195,9 +201,10 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h + "" + #endif -diff -raNu old/board/atmel/at91sam9x5ek/at91sam9x5ek.c new/board/atmel/at91sam9x5ek/at91sam9x5ek.c ---- old/board/atmel/at91sam9x5ek/at91sam9x5ek.c 2017-05-05 11:09:53.668926301 -0500 -+++ new/board/atmel/at91sam9x5ek/at91sam9x5ek.c 2017-05-05 17:35:53.342774065 -0500 +diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c +index b0d440d728..b76231f6a1 100644 +--- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c ++++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -44,6 +44,7 @@ static void at91sam9x5ek_nand_hw_init(void) csa = readl(&matrix->ebicsa); csa |= AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA; |