您尚未登录。

楼主 # 2025-06-05 15:40:09

xing
会员
注册时间: 2024-05-27
已发帖子: 7
积分: 42

官方SDK编译不通过

https://gitee.com/artinchip/luban-lite.git
代码是从这里拉下来的,最后提交日期: 2025/5/16 15:27:54
win10平台,
1. 双击 win_env.bat 文件。
2. 执行 scons --apply-def=9
3. 执行 scons
4. 报错 信息如下
        Creating C:\Users\PC\Desktop\luban-lite\output/d13x_demo88-nand_rt-thread_helloworld/images/loader.aic ...
Traceback (most recent call last):
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2632, in <module>
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2196, in firmware_component_preproc
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2128, in firmware_component_preproc_aicimage
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 1004, in aic_boot_create_image_v2
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 782, in aic_boot_gen_header_bytes_v2
ValueError: invalid literal for int() with base 16: 'CONFIG_AIC_BOOTLOADER_LOAD_BASE'
[PYI-11360:ERROR] Failed to execute script 'mk_image' due to unhandled exception!
scons: *** [output\d13x_demo88-nand_rt-thread_helloworld\images\d13x.elf] Error 1
scons: building terminated because of errors.


请问 这是个什么情况,官方的SDK都不能编译过。 这个 CONFIG_AIC_BOOTLOADER_LOAD_BASE 又是在哪定义的, menuconfig里面也找不到。
我能看出这是在打包镜像阶段出的问题,但不知道要怎么处理,也没找到文档说明打包参数该如何配置。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn