Forum Discussion
Altera_Forum
Honored Contributor
7 years ago --- Quote Start --- Yes it looks like bsp-create-settings is missing the spl type. what do you get when you execute
bsp-create-settings --type \? (with the question mark)? For me it saysAvailable BSP types are: --- Quote End --- for me it shows $ bsp-create-settings --type \?
Available BSP types are:
--- Quote Start --- It could be that your environment is not set up correctly. I don't think that setting the PATH is enough, Altera provides a script that sets up the environment for you. I don't remember where it comes from, but on my installation I've copied it to /usr/local/bin. Here are the contents: --- Quote End --- i have allready in Soc Command Shell by $embedded/embedded_command_shell.sh #!/bin/bash
# ###########################################################
# #
# Altera SoC Embedded Command Shell #
# #
# #
# Copyright (c) 2017 Altera Corporation #
# All Rights Reserved. #
# #
# ###########################################################
# ###########################################################
#
# Get the Root SOCEDS directory
#
if ; then
_IS_WINDOWS=1
if ; then
export ORIGINAL_PATH="${PATH}"
PATH="/bin:/usr/bin"
fi
fi
if && ; then
_IS_CYGWIN=1
fi
_SOCEDS_ROOT=$(cd "$(dirname "${0}")" && echo "$(pwd 2>/dev/null)")
if ; then
echo "${_SOCEDS_ROOT} not found. Invalid or corrupt SOCEDS Install" 1>&2
exit 1
fi
export SOCEDS_DEST_ROOT="${_SOCEDS_ROOT}"
if ; then
SOCEDS_DEST_ROOT="$(cygpath -m "${SOCEDS_DEST_ROOT}" 2>/dev/null)"
fi
source "${_SOCEDS_ROOT}/env.sh"
# ###########################################################
unset _SOCEDS_ROOT
unset _IS_WINDOWS
unset _IS_CYGWIN
if ; then
exec "$@"
else
echo "------------------------------------------------"
echo "Altera Embedded Command Shell"
echo
echo "Version 17.0 "
echo "------------------------------------------------"
# Use bash --norc to get a clean shell
# Use bash --rcfile <bashrc> to for a user rcfile
# Default to using ~/.bashrc
exec bash
fi --- Quote Start --- I have never created a preloader configuration from the command line myself though, I've always used the bsp editor (type bsp-editor from your command line) --- Quote End --- as per your suggestion i tried for bsp-editor, but as i create new HPS bsp, there is no drop down option for 'Cyclone V' and also the ok button is disable on selection of preloader setting directory.