零基础搭建小安派Windows 开发环境

  [复制链接]
半城青栀 | 2023-11-10 21:34:29 | 显示全部楼层
jamesbandjava 发表于 2023-11-10 21:02
http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=42233&extra=&_dsign=d3b47486
已经解决了 ...

感谢
回复 支持 反对

使用道具 举报

An弦 | 2023-11-10 21:59:41 | 显示全部楼层
请问执行git submodule update时一直Cloning into 'D:/Ai-M61-32S-Kit/AiPi-Open-Kits/aithinker_Ai-M6X_SDK'...是什么原因

回复 支持 反对

使用道具 举报

jamesbandjava | 2023-11-10 22:14:05 | 显示全部楼层
An弦 发表于 2023-11-10 21:59
请问执行git submodule update时一直Cloning into 'D:/Ai-M61-32S-Kit/AiPi-Open-Kits/aithinker_Ai-M6X_SD ...

这个不是错误,这个的意思是将一些工具链clone到'D:/Ai-M61-32S-Kit/AiPi-Open-Kits/aithinker_Ai-M6X_SDK'这个文件夹下面,如果你会看网速的话,你会看到,当你执行这条命令的时候,git在后台疯狂下载(就是aithinker_Ai-M6X_SDK文件夹里面的内容,其中包括tools和toolchain文件夹的内容)
回复 支持 反对

使用道具 举报

An弦 | 2023-11-10 22:17:52 | 显示全部楼层
jamesbandjava 发表于 2023-11-10 22:14
这个不是错误,这个的意思是将一些工具链clone到'D:/Ai-M61-32S-Kit/AiPi-Open-Kits/aithinker_Ai-M6X_SD ...

好的,谢谢
回复 支持 反对

使用道具 举报

Jye0101 | 2023-11-10 22:38:07 | 显示全部楼层
学习完成,安装成功。
回复 支持 反对

使用道具 举报

xiaoabin | 2023-11-10 22:43:50 | 显示全部楼层
PS C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather> make
./../aithinker_Ai-M6X_SDK/tools/cmake/bin/cmake.exe -S . -B build -G "MinGW Makefiles" -DCROSS_COMPILE=riscv64-unknown-elf- -DCHIP=bl616 -DCPU_ID= -DBOARD=bl616dk -DBOARD_DIR= -DCONFIG_DEBUG=y -DCONFIG_ROMAPI=y -DCONFIG_USB_HS=y -DCONFIG_COMX=/dev/ttyUSB0 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF -DCONFIG_TLSF=y
-- [register library : mbedtls], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/crypto/mbedtls
-- [register library : lvgl], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/graphics/lvgl
-- [register library : libc], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/libc
-- [register library : mm], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/mm
-- [register library : lwip], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip
-- [register library : dhcpd], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip_apps/dhcpd
-- [register library : ping], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip_apps/ping
-- [register library : freertos], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/os/freertos
-- [register library : utils], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/utils
-- [register extern library : libwifi6], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/wireless/wifi6
-- [register library : bl6_os_adapter], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/wireless/wifi6/bl6_os_adapter
-- [register library : easyflash4], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/easyflash4
-- [register library : lhal], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register extern library : libcsi_xt900p32f_dsp], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register extern library : libpka], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register library : std], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/soc/bl616/std
-- [register extern library : librf], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/soc/bl616/rf
-- [register library : rfparam], path:C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/rfparam
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/86152/Desktop/AiPi/AiPi-Open-Kits/AiPi-Eyes_weather/build
make -C build -j8
[  1%] Built target mm
[  1%] Built target dhcpd
[ 10%] Built target libc
[ 24%] Built target mbedtls
[ 30%] Built target lwip
[ 34%] Built target freertos
[ 36%] Built target utils
[ 36%] Built target ping
[ 37%] Built target bl6_os_adapter
[ 58%] Built target app
[ 89%] Built target lvgl
[ 90%] Built target easyflash4
[ 91%] Built target rfparam
[ 97%] Built target lhal
[100%] Built target std
[100%] Built target Eyes_bl616.elf
make -C build combine
[22:39:12.950] - bflb firmware post process : V1.2.0
[22:39:12.950] - Chipname: bl616
[22:39:12.950] - Board config dir: ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config
[22:39:12.951] - Create partition using partition_cfg_4M.toml
[22:39:12.953] - Create dts for C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin
[22:39:12.953] - Create dts using bl_factory_params_IoTKitA_auto.dts
[22:39:12.959] - 4K header found,append dts file
[22:39:12.960] - Copy boot2_bl616_release_v8.0.8.bin
[22:39:12.963] - Copy mfg_bl616_gu_af8b0946f_v2.26.bin
[22:39:12.967] - Create dts for C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\mfg_bl616_gu_af8b0946f_v2.26.bin
[22:39:12.968] - Create dts using bl_factory_params_IoTKitA_auto.dts
[22:39:12.972] - 4K header found,append dts file
[22:39:12.973] -
Process C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin
[22:39:12.974] - ========= sp image create =========
[22:39:12.976] - Flash config crc: b'b5fec518'
[22:39:12.977] - Clock config crc: b'4a05f490'
[22:39:12.977] - Image Offset:0x1000
[22:39:12.984] - Image hash is b'd58fb5e7db3bd0fae06a377b9d7018bab035ad669846fc4a0b2bd7c280d8744c'
[22:39:12.985] - Encrypt efuse data
[22:39:12.990] - Image Offset:0x1000
[22:39:12.990] - Image hash ignore,not calculate
[22:39:12.990] - Bootheader config crc: b'626e9cc3'
[22:39:12.992] -
Process C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\boot2_bl616_release_v8.0.8.bin
[22:39:12.993] - ========= sp image create =========
[22:39:12.994] - Flash config crc: b'b5fec518'
[22:39:12.994] - Clock config crc: b'4a05f490'
[22:39:12.994] - Image Offset:0x2000
[22:39:12.994] - Image hash is b'4f4eecaddc6e597708f626253879f5560534d2e3baff848f4d96fabbce4b020f'
[22:39:12.995] - Encrypt efuse data
[22:39:12.997] - Image Offset:0x2000
[22:39:12.997] - Image hash ignore,not calculate
[22:39:12.997] - Bootheader config crc: b'ccbfa125'
[22:39:12.998] -
Process C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\mfg_bl616_gu_af8b0946f_v2.26.bin
[22:39:12.999] - ========= sp image create =========
[22:39:12.999] - Flash config crc: b'4fb1fe70'
[22:39:13.000] - Clock config crc: b'0b34ef89'
[22:39:13.000] - Image Offset:0x1000
[22:39:13.002] - Image hash is b'69de5b7af45fea2e456fb6864612126bbdad58e69294d1466a2f892e010d1f3d'
[22:39:13.004] - Encrypt efuse data
[22:39:13.006] - Image Offset:0x1000
[22:39:13.006] - Bootheader config crc: b'f9cf01e0'
[22:39:13.008] - create OTA file:C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin.ota
[22:39:13.129] - create XZ file:C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz
[22:39:13.659] - create XZ OTA file:C:\Users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz.ota
Built target combine
cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out
process_begin: CreateProcess(NULL, cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out, ...) failed.
make (e=2): 系统找不到指定的文件。
make: *** [../aithinker_Ai-M6X_SDK/project.build:75: build] Error 2
不知道 为啥,他说我缺少一个文件:./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin"
但是这个文件去哪里整?
回复 支持 反对

使用道具 举报

风无念 | 2023-11-10 23:00:45 | 显示全部楼层

为什么我前面的都正常成功了,就是运行会错误

-- Build files have been written to: D:/桌面/AiPi-Open-Kits/AiPi-Eyes_weather/build
make -C build -j8
process_begin: CreateProcess(NULL, D:\妗岄潰\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\tools\cmake\bin\cmake.exe -SD:\妗岄潰\AiPi-Open-Kits\AiPi-Eyes_weather -BD:\妗岄潰\AiPi-Open-Kits\AiPi-Eyes_weather\build --check-build-system CMakeFiles\Makefile.cmake 0, ...) failed.
make (e=2): 系统找不到指定的文件。
make[1]: *** [Makefile:3885: cmake_check_build_system] Error 2
make: *** [../aithinker_Ai-M6X_SDK/project.build:73: build] Error 2
回复 支持 反对

使用道具 举报

xiaoabin | 2023-11-10 23:09:38 | 显示全部楼层
xiaoabin 发表于 2023-11-10 22:43
PS C:%users\86152\Desktop\AiPi\AiPi-Open-Kits\AiPi-Eyes_weather> make
./../aithinker_Ai-M6X_SDK/tool ...

但是我查过了,这个文件是存在的
回复 支持 反对

使用道具 举报

xiaoabin | 2023-11-10 23:12:16 | 显示全部楼层
爱笑 发表于 2023-11-10 17:29
这个直接忽略就好了,你这个算成功了,最新的SDK正在更新中了。

这个是ok的意思?嗷嗷,那我整好了,啊啊哈哈哈,开心
回复 支持 反对

使用道具 举报

ghost0190 | 2023-11-11 11:17:28 | 显示全部楼层
前面都正常
屏幕截图 2023-11-11 111538.png
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则