[编译]1.添加readme编译指导文件
This commit is contained in:
		
							parent
							
								
									ef01c351e7
								
							
						
					
					
						commit
						432a6b5b64
					
				
							
								
								
									
										39
									
								
								readMe.txt
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										39
									
								
								readMe.txt
									
									
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| 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 | ||||
| 执行: | ||||
| 编译Linux:make 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 clean,linux下执行make app_clean,再重新进行编译make all | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 alisa
						alisa