nt9856x/readMe.txt

40 lines
1.7 KiB
Plaintext
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1.build rtos //进入rtos目录下执行
cd rtos
source build/envsetup.sh #设定编译的环境变量
lunch #选择需要的模块首次需要S530选择以下配置
#Project Config: rtos
#Model Config: cfg_565_HUNTING_EVB_LINUX_4G_S530
#toolchain: gcc-6.5-newlib-2.4-2019.11-arm-ca9-eabihf
get_stuff_for_environment #查看编译环境配置
make all #其它命令使用 make help查看
#将下面编译生成的两个bin文件拷贝到上一级目录
cp output/application.bin ../
cp output/rtos-main.bin ../
2.build linux //在根目录下进行
source build/envsetup.sh #设定编译的环境变量
lunch #选择需要的模块首次需要S530选择以下配置
#Project Config: Linux
#Model Config: cfg_565_HUNTING_EVB_LINUX_4G_S530
#toolchain: arm-ca9-linux-uclibcgnueabihf-8.4.01
get_stuff_for_environment #查看编译环境配置
make all #其它命令使用 make help查看
3.部分编译linux
执行:
编译Linuxmake app_clean
make app rootfs pack
4.生成的升级文件路径output/packed/FW98565A.bin
5.补充将FW98565A.ini文件中对应bin的选项由1改为0则不拼接该包之后通过执行make pack更新output/packed/FW98565A.bin
vim output/FW98565A.ini
make pack
6.loader文件编译
进入/S530/loader/MakeCommon执行make release生成路径\loader\Project\Model\Loader565_Data\Release\LD98565A.bin
7.烧录
将loader文件LD98565A.bin+ 固件FW98565A.bin放入根目录按下Test键然后插入usb相机会进行升级
//升级成功标识nvt_handle_fw_abin:163 Update successfully.
改了宏或者默认参数rtos下执行make cleanlinux下执行make app_clean再重新进行编译make all