Toybrick
标题:
编译3588源代码出现错误
[打印本页]
作者:
keqi
时间:
2023-4-19 09:19
标题:
编译3588源代码出现错误
CC drivers/usb/serial/usb_wwan.o
AR drivers/usb/serial/built-in.a
AR drivers/usb/gadget/function/built-in.a
AR drivers/usb/gadget/built-in.a
AR drivers/usb/built-in.a
make[1]: *** [Makefile:1917: drivers] Error 2
make: *** [arch/arm64/Makefile:214: rk3588-toybrick-x0-linux.img] Error 2
[EDGE ERROR] Build kernel failed, cmd: make CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- -j 8 ARCH=arm64 rk3588-toybrick-x0-linux.img
toybrick@debian:~/edge-main$
这个错误是什么原因呢, 在3588上编译的
作者:
keqi
时间:
2023-4-21 14:53
不能在板子上编译吧? 只能在PC上交叉编译,是吗?
作者:
keqi
时间:
2023-4-21 14:55
在ubuntu18.04虚拟机上编译,出现如下错误:
Android Firmware Package Tool v2.0
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xc5,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x1c8,userspace=0x1
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x721c0,userspace=0xe5
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x74000,size=0x400000,userspace=0x800
Add file: ./misc.img
misc,Add file: ./misc.img done,offset=0x474000,size=0xc000,userspace=0x18
Add file: ./boot_linux.img
boot_linux,Add file: ./boot_linux.img done,offset=0x480000,size=0x4000000,userspace=0x8000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x4480000,size=0x3f89000,userspace=0x7f12
Add file: ./resource.img
resource,Add file: ./resource.img done,offset=0x8409000,size=0x32e00,userspace=0x66
Add file: ./rootfs.img
Error:<AddFile> open file failed,err=2!
------ FAILED ------
[EDGE ERROR] afptool pack failed
什么原因呢
作者:
jefferyzhang
时间:
2023-4-22 17:07
log没截全看不出原因,kernel编译都报错了,你应该开发环境都没整清楚
作者:
gxl1028
时间:
2023-5-17 16:30
keqi 发表于 2023-4-21 14:55
在ubuntu18.04虚拟机上编译,出现如下错误:
这个问题你解决了吗
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3