zllfdd 发表于 2022-7-19 12:08:26

LS1028A全编译出错

编译命令:flex-builder -a arm64 -m ls1028ardb,错误提示:


Build kernel tools/perf
make: 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   
COMPONENT: bin_firmware
MACHINE: ls1028ardb
DESTARCH: arm64
CONFIGLIST: build_lsdk.cfg
make: Entering directory '/home/forlinx/work/linux/OK1028-linux-fs'
make: 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: *** Error 2
make: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs/packages/firmware'
Makefile:19: recipe for target 'bin_firmware' failed
make: *** Error 2
make: Leaving directory '/home/forlinx/work/linux/OK1028-linux-fs'
root@ubuntu:/home/forlinx/work/linux/OK1028-linux-fs#

zllfdd 发表于 2022-7-19 13:30:17

已经解决了,OK1028-linux-fs 目录必要在 ~/work/ 下,其它路径不行。
页: [1]
查看完整版本: LS1028A全编译出错