diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2021-05-24 14:01:54 +0300 |
---|---|---|
committer | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2021-05-24 14:01:54 +0300 |
commit | 960066228e0c34325af4117d812f725e6217eb07 (patch) | |
tree | 5099ba4ba3dfcf9ca224217837422e44eebef0b8 /recipes-bsp/u-boot | |
parent | c797a01598b0298e84678f349bc6b1d6803ce67a (diff) | |
download | meta-multitech-atmel-960066228e0c34325af4117d812f725e6217eb07.tar.gz meta-multitech-atmel-960066228e0c34325af4117d812f725e6217eb07.tar.bz2 meta-multitech-atmel-960066228e0c34325af4117d812f725e6217eb07.zip |
MTX-4048 SEL-2021: U-boot shall not be accessible by default GP-1237
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch | 13 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot_2016.09.01.bb | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch new file mode 100644 index 0000000..8b7ba2e --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch @@ -0,0 +1,13 @@ +# This change disables shell access for u-boot by default. +diff -Naru orig/configs/at91sam9x5ek_nandflash_defconfig new/configs/at91sam9x5ek_nandflash_defconfig +--- orig/configs/at91sam9x5ek_nandflash_defconfig 2021-05-22 23:33:29.000000000 +0300 ++++ new/configs/at91sam9x5ek_nandflash_defconfig 2021-05-22 23:36:25.946840766 +0300 +@@ -3,7 +3,7 @@ + CONFIG_TARGET_AT91SAM9X5EK=y + CONFIG_SPL=n + CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9X5,SYS_USE_NANDFLASH" +-CONFIG_BOOTDELAY=0 ++CONFIG_BOOTDELAY=-2 + CONFIG_HUSH_PARSER=y + CONFIG_SYS_PROMPT="U-Boot> " + CONFIG_CMD_BOOTZ=y diff --git a/recipes-bsp/u-boot/u-boot_2016.09.01.bb b/recipes-bsp/u-boot/u-boot_2016.09.01.bb index 3f4d2d5..475dd5e 100644 --- a/recipes-bsp/u-boot/u-boot_2016.09.01.bb +++ b/recipes-bsp/u-boot/u-boot_2016.09.01.bb @@ -29,6 +29,7 @@ SRC_URI_append_mtrv1 = "\ " SRC_URI_append_mtre = "\ file://mtre.patch \ + file://mtre_disable_access.patch \ " SRC_URI[md5sum] = "61c628f8034477c946e173ed174efeb4" |