Skip to contentSkip to conversation

tiusdk-uenv: remove uEnv.txt for k3

PATCH Superseded Andrew Davis 2 participants 3 messages Jun 3, 2022 – Jun 9, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tiusdk-uenv: remove uEnv.txt for k3

This fixup should have been done in u-boot and not in a uEnv.txt file. It is not correct for all K3 anymore either. Remove it.

---
 .../tisdk-uenv/tisdk-uenv/k3/uEnv.txt         | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt
meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt deleted +0 -19
deleted file mode 100644
index 80ea34f5..00000000
@@ -1,19 +0,0 @@
-# This uEnv.txt file can contain additional environment settings that you
-# want to set in U-Boot at boot time.  This can be simple variables such
-# as the serverip or custom variables.  The format of this file is:
-#    variable=value
-# NOTE: This file will be evaluated after the bootcmd is run and the
-#       bootcmd must be set to load this file if it exists (this is the
-#       default on all newer U-Boot images.  This also means that some
-#       variables such as bootdelay cannot be changed by this file since
-#       it is not evaluated until the bootcmd is run.
-
-# The specific board is not able to be automatically detected. The below is a
-# workaround to set a sane default incase the user has not manually configured
-# a specific board.
-def_board_name="am65x"
-
-# Check if using default board_name when name_overlays is not set
-check_for_board=if test $name_overlays; then echo "Using board_name = $board_name"; else setenv board_name $def_board_name; fi
-
-uenvcmd=run check_for_board; run findfdt
Signature · 1 line
2.36.1
#1 lore raw

There's a typo in the subject - tiusdk-uenv

Quoted 36 lines · Andrew Davis via lists.yoctoproject.org

This fixup should have been done in u-boot and not in a uEnv.txt file. It is not correct for all K3 anymore either. Remove it.

---
 .../tisdk-uenv/tisdk-uenv/k3/uEnv.txt         | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt
meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt deleted +0 -19
deleted file mode 100644
index 80ea34f5..00000000
@@ -1,19 +0,0 @@
-# This uEnv.txt file can contain additional environment settings that you
-# want to set in U-Boot at boot time.  This can be simple variables such
-# as the serverip or custom variables.  The format of this file is:
-#    variable=value
-# NOTE: This file will be evaluated after the bootcmd is run and the
-#       bootcmd must be set to load this file if it exists (this is the
-#       default on all newer U-Boot images.  This also means that some
-#       variables such as bootdelay cannot be changed by this file since
-#       it is not evaluated until the bootcmd is run.
-
-# The specific board is not able to be automatically detected. The below is a
-# workaround to set a sane default incase the user has not manually configured
-# a specific board.
-def_board_name="am65x"
-
-# Check if using default board_name when name_overlays is not set
-check_for_board=if test $name_overlays; then echo "Using board_name = $board_name"; else setenv board_name $def_board_name; fi
-
-uenvcmd=run check_for_board; run findfdt
Signature · 1 line
2.36.1
#2 lore raw
Quoted 2 lines · Denys Dmytriyenko

There's a typo in the subject - tiusdk-uenv

Looks like the same typo was in the patch that introduced this uEnv.txt file, copy/paste, v2 sent.

Andrew

Quoted 38 lines · Andrew Davis via lists.yoctoproject.org
Quoted 36 lines

This fixup should have been done in u-boot and not in a uEnv.txt file. It is not correct for all K3 anymore either. Remove it.

---
  .../tisdk-uenv/tisdk-uenv/k3/uEnv.txt         | 19 -------------------
  1 file changed, 19 deletions(-)

delete mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt

meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt deleted +0 -19
deleted file mode 100644
index 80ea34f5..00000000
@@ -1,19 +0,0 @@
-# This uEnv.txt file can contain additional environment settings that you
-# want to set in U-Boot at boot time.  This can be simple variables such
-# as the serverip or custom variables.  The format of this file is:
-#    variable=value
-# NOTE: This file will be evaluated after the bootcmd is run and the
-#       bootcmd must be set to load this file if it exists (this is the
-#       default on all newer U-Boot images.  This also means that some
-#       variables such as bootdelay cannot be changed by this file since
-#       it is not evaluated until the bootcmd is run.
-
-# The specific board is not able to be automatically detected. The below is a
-# workaround to set a sane default incase the user has not manually configured
-# a specific board.
-def_board_name="am65x"
-
-# Check if using default board_name when name_overlays is not set
-check_for_board=if test $name_overlays; then echo "Using board_name = $board_name"; else setenv board_name $def_board_name; fi
-
-uenvcmd=run check_for_board; run findfdt
Signature · 1 line
2.36.1