Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions build/configs/bk7239n/bk7239n_make_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,27 +94,6 @@ function concatenate_binary_with_signing()
bash $BUILDDIR/configs/bk7239n/bk7239n_signing.sh kernel
}

function make_ss_bin() {
# Copy default ss.bin from security_storage directory to output
ss_storage_dir=${TOOL_PATH}/security_storage
default_ss_bin=${ss_storage_dir}/ss.bin
ss_bin=${BUILDDIR}/output/bin/ss.bin
beken_utils_path=${TOOL_PATH}/beken_utils

# If CONFIG_BINARY_SIGNING=y and beken_utils_path exists, do not copy ss.bin; otherwise copy ss.bin
if [ "${CONFIG_BINARY_SIGNING}" = "y" ] && [ -d "${beken_utils_path}" ]; then
# Do not copy ss.bin
echo "CONFIG_BINARY_SIGNING=y and beken_utils found, skip copying ss.bin"
else
if [ -f "${default_ss_bin}" ]; then
echo "Copying ss.bin from ${default_ss_bin} to ${ss_bin}"
cp -f "${default_ss_bin}" "${ss_bin}"
else
echo "Warning: Default ss.bin not found at ${default_ss_bin}, skipping..."
fi
fi
}

function get_global_app_num_from_config_for_deployment() {
# Get CONFIG_NUM_APPS value from os/.config
[ ! -f "$CONFIG" ] && { echo "0"; return 1; }
Expand Down Expand Up @@ -213,7 +192,6 @@ function copy_signed_files()
function pack_secure_bin()
{
python3 ${THIS_PATH}/psram_layout_check.py ${CONFIG}
make_ss_bin
install_bin_for_deployment
if [ "$CONFIG_BINARY_SIGNING" = "y" ]; then
if [ ! -f "${BUILDDIR}/tools/armino/beken_utils/deployment_main.sh" ]; then
Expand Down
Binary file removed build/tools/armino/security_storage/ss.bin
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* == "version" + "beken_trustzone pr-xxx "compile date" + "compile time"" == */

== version beken_trustzone pr-209 2026/04/21-17:28:00==

1. solve the problem of ss decryption failure
The key read from otp does not perform big-endian conversion
2. update the flash config of XMC type
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified os/board/bk7239n/src/components/tfm/tfm_xip_build/_build/bl2.bin
Binary file not shown.
Binary file modified os/board/bk7239n/src/components/tfm/tfm_xip_build/_build/tfm_s.bin
Binary file not shown.
Binary file not shown.