嵌入式爱好者

查看: 4779|回复: 1

[Ubuntu] LS1028A全编译出错

[复制链接]

2

主题

3

帖子

51

积分

i.MX6Q通行证i.MX6UL通行证LS1028A通行证AM335x通行证

扫一扫,手机访问本帖
发表于 2022-7-19 12:08:26 | 显示全部楼层 |阅读模式
编译命令:flex-builder -a arm64 -m ls1028ardb,错误提示:


Build kernel tools/perf  [Done]
make[1]: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs/packages/linux'
make: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs'
INSTRUCTION: mkflashscr
CONFIGLIST: build_lsdk.cfg
Image Name:   
Created:      Mon Jul 18 20:55:01 2022
Image Type:   PowerPC Linux Script (uncompressed)
Data Size:    20999 Bytes = 20.51 kB = 0.02 MB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 20991 Bytes = 20.50 kB = 0.02 MB
/home/forlinx/work/linux/OK1028-linux-fs/build/images/flash_images.scr     [Done]
COMPONENT: bin_firmware
MACHINE: ls1028ardb
DESTARCH: arm64
CONFIGLIST: build_lsdk.cfg
make: Entering directory '/home/forlinx/work/linux/OK1028-linux-fs'
make[1]: Entering directory '/home/forlinx/work/linux/OK1028-linux-fs/packages/firmware'
fetch-git-tree fm_ucode
ls: cannot access '/home/forlinx/work/linux/OK1028-linux-fs/build/firmware/fm_ucode/*.bin': No such file or directory
Makefile:73: recipe for target 'fm_ucode' failed
make[1]: *** [fm_ucode] Error 2
make[1]: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs/packages/firmware'
Makefile:19: recipe for target 'bin_firmware' failed
make: *** [bin_firmware] Error 2
make: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs'
root@ubuntu:/home/forlinx/work/linux/OK1028-linux-fs#

回复

使用道具 举报

2

主题

3

帖子

51

积分

i.MX6Q通行证i.MX6UL通行证LS1028A通行证AM335x通行证

 楼主| 发表于 2022-7-19 13:30:17 | 显示全部楼层
已经解决了,OK1028-linux-fs 目录必要在 ~/work/ 下,其它路径不行。
点评回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-22 13:44

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表