summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2021-05-24 14:01:54 +0300
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-05-24 14:01:54 +0300
commit960066228e0c34325af4117d812f725e6217eb07 (patch)
tree5099ba4ba3dfcf9ca224217837422e44eebef0b8 /recipes-bsp
parentc797a01598b0298e84678f349bc6b1d6803ce67a (diff)
downloadmeta-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')
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch13
-rw-r--r--recipes-bsp/u-boot/u-boot_2016.09.01.bb1
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"