* Add a uEnv.txt for k3 to work around the issue auto-detecting the specific board.
Signed-off-by: Jacob Stiffler <[email protected]> --- .../recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt new file mode 100644 index 0000000..80ea34f --- /dev/null +++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/k3/uEnv.txt @@ -0,0 +1,19 @@ +# 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 -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
