In secure build, runme.sh has this part:
if [ “x$SECURE” == “xtrue” ]; then
echo “SB_EN=1” #>> RCW/template.rcw
which seems redundant? it seems there’s a comment in that line which makes the echo “SB_EN=1” not actually add that line to the .rcw file?
That is a security measure so customers don’t inadvertently enable this without knowing what they are doing. That code is a template that can be enabled for customers that fully understand how to build and flash secure firmware to their LX2160a devices, including managing the secure regulator etc. Setting up secure boot on LX2160a is not trivial and it is very easy to brick your device.