To be sure - does it run on single uascent device, or on multiple pieces?
Is OTA working? I guess not, as you mentioned earlier/?
Helpful post? Buy me a coffee.
Is OTA working? I guess not, as you mentioned earlier/?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:To be sure - does it run on single uascent device, or on multiple pieces?
p.kaczmarek2 wrote:OTA working? I guess not, as you mentioned earlier
insmod wrote:Actually, does unencrypted 1.0.1 bootloader contains partitions?
OpenBK7231N\platforms\bk7231n\bk7231n_os\tools\generate\package_tool\windows>cmake_encrypt_crc.exe
/**< @author Bekencorp */
/**< @version v5.0.0.7 */
ERROR: Invalid number of arguments
Usage: encrypt_crc tool <command> <options-argument pairs>
cmd -options usage and description/values
------------------------------------------------------------------------
encrypt_crc
-enc
infile.bin iutput bin file
passcode0 input passcode0
passcode1 input passcode0
passcode2 input passcode0
passcode3 input passcode0
-crc
-start-add
start_address default value = 0
-un-skip To un-skip keywords in chips ,such as addr = 0x100,default value = 0
--version | -v | version To print the current version of this utility
--help | -h | help To print this help message
echo "Using usual Tuya path"
./${ENCRYPT} ${APP_BIN_NAME}_${APP_VERSION}.bin 510fb093 a3cbeadc 5993a17e c7adeb03 10000
python mpytools.py bk7231n_bootloader_enc.bin ${APP_BIN_NAME}_${APP_VERSION}_enc.bin
(...)
echo "generate ota file"
./${RT_OTA_PACK_TOOL} -f ${APP_BIN_NAME}_${APP_VERSION}.bin -v $CURRENT_TIME -o ${APP_BIN_NAME}_${APP_VERSION}.rbl -p app -c gzip -s aes -k 0123456789ABCDEF0123456789ABCDEF -i 0123456789ABCDEF
./${TY_PACKAGE} ${APP_BIN_NAME}_${APP_VERSION}.rbl ${APP_BIN_NAME}_UG_${APP_VERSION}.bin $APP_VERSION
p.kaczmarek2 wrote:Why does even OTA fail? Do they use the keys to check OTA file?
p.kaczmarek2 wrote:Maybe we need -un-skip?
p.kaczmarek2 wrote:Would that mean OTA is also encrypted with those keys? I remember reading that it's not encrypted, so now I'm confused.