5296
- 收藏
- 点赞
- 分享
- 举报
HIsi3559av100sdk编译osdrv出错 那个大神指点一下万分感谢
root@gzjc-virtual-machine:/home/Hi3559AV100_SDK_V2.0.2.0/osdrv# make
Makefile:118: (Huaweiliteos_v100_20170512)
-------------------------------------------------------------------------------------------------------------------
BOOT_MEDIA=spi
AMP_TYPE=linux
-------------------------------------------------------------------------------------------------------------------
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/image_glibc_multi-core_arm64 -p
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/bin/board_glibc_multi-core_arm64 -p
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/bin/pc -p
chmod +x /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/osdrv_mem_cfg.sh
tar -xf /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/components/pcie_mcc/pcie_mcc.tgz -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/components/pcie_mcc
---------task [0] hiregbin_prepare
tar xzf /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1.tgz -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools
chmod 777 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/hiregbin
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/Hi3559AV100-DMEB_8L_T-DDR4_2664M_4GB_16bitx4-A73_1608M.xlsm /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1
cd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 && ./hiregbin Hi3559AV100-DMEB_8L_T-DDR4_2664M_4GB_16bitx4-A73_1608M.xlsm reg_info.bin;cd -
Generate regbin file successfully.
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
mv /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/reg_info.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools
rm /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 -rf
---------task [1.1] build boot64
./osdrv_mem_cfg.sh uboot hi3559av100 linux
CHIP:hi3559av100, memory config
config uboot...
UBOOT_LINUX_ENTRY_NEW=CONFIG_KERNEL_LOAD_ADDR=0x44080000
LITEOS_DDR_MEM_BASE_NEW=0x40000000
LITEOS_DDR_MEM_SIZE_NEW=0x100000000
LITEOS_SYS_MEM_BASE_NEW=#define SYS_MEM_BASE (0x130000000)
LITEOS_SYS_MEM_SIZE_NEW=#define SYS_MEM_SIZE_DEFAULT (0x0B000000UL)
LITEOS_MMZ_MEM_BASE_NEW=#define MMZ_MEM_BASE (0x13C000000UL)
LITEOS_MMZ_MEM_LEN_NEW=#define MMZ_MEM_LEN (0x04000000UL)
LITEOS_TEXT_OFFSET_NEW =#define TEXT_OFFSET (0x01000000)
ATF_ATF_ENTRY_NEW =#define BL31_BASE (0x47000000)
LINUX_ATF_ENTRY_NEW =\/memreserve\/ 0x47000000 0x00200000;
LINUX_SYS_MEM_BASE_NEW =reg = <0x0 0x44000000 0x2 0x0>; \/\* system memory base \*\/
find /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 | xargs touch
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- distclean >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/reg_info.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/.reg
make -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 CROSS_COMPILE=aarch64-himix100-linux- hi3559av100_config
make[1]: Entering directory '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11'
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- -j 20 >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
arch/arm/cpu/armv8/transition.S: Assembler messages:
arch/arm/cpu/armv8/transition.S:16: Error: operand 2 should be an integer register -- `msr elr_el3,lr'
arch/arm/cpu/armv8/transition.S:22: Error: operand 2 should be an integer register -- `msr elr_el2,lr'
arch/arm/cpu/armv8/cache.S: Assembler messages:
make[2]: *** [arch/arm/cpu/armv8/transition.o] Error 1
make[2]: *** Waiting for unfinished jobs....
arch/arm/cpu/armv8/cache.S:100: Error: operand 1 should be an integer register -- `mov lr,x15'
arch/arm/cpu/armv8/cache.S:76: Error: undefined symbol lr used as an immediate value
make[2]: *** [arch/arm/cpu/armv8/cache.o] Error 1
arch/arm/cpu/armv8/start.S: Assembler messages:
arch/arm/cpu/armv8/start.S:165: Error: operand 1 should be an integer register -- `mov lr,x29'
arch/arm/cpu/armv8/start.S:262: Error: operand 1 should be an integer register -- `mov lr,x29'
arch/arm/cpu/armv8/start.S:159: Error: undefined symbol lr used as an immediate value
arch/arm/cpu/armv8/start.S:219: Error: undefined symbol lr used as an immediate value
make[2]: *** [arch/arm/cpu/armv8/start.o] Error 1
arch/arm/lib/crt0_64.S: Assembler messages:
arch/arm/lib/crt0_64.S:99: Error: operand 1 should be an integer register -- `adr lr,relocation_return'
arch/arm/lib/crt0_64.S:103: Error: operand 1 should be an integer or stack pointer register -- `add lr,lr,x9'
make[2]: *** [arch/arm/lib/crt0_64.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/lib] Error 2
make[1]: *** Waiting for unfinished jobs....
ddr_training_impl.c: In function ‘ddr_hw_training’:
ddr_training_impl.c:2017:24: warning: unused variable ‘reg’ [-Wunused-variable]
struct tr_relate_reg *reg = &relate_reg;
^~~
make[1]: *** [arch/arm/cpu/armv8] Error 2
drivers/ddr/hisilicon/hi3559av100/../default/ddr_training_impl.c: In function ‘ddr_hw_training’:
drivers/ddr/hisilicon/hi3559av100/../default/ddr_training_impl.c:2017:24: warning: unused variable ‘reg’ [-Wunused-variable]
struct tr_relate_reg *reg = &relate_reg;
^~~
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- u-boot-z.bin -j 20 >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
make[1]: *** No rule to make target '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot.bin', needed by 'u-boot-z.bin'. Stop.
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot-hi3559av100.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/image_glibc_multi-core_arm64
cp: cannot stat '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot-hi3559av100.bin': No such file or directory
Makefile:174: recipe for target 'hiboot' failed
make: *** [hiboot] Error 1
Makefile:118: (Huaweiliteos_v100_20170512)
-------------------------------------------------------------------------------------------------------------------
BOOT_MEDIA=spi
AMP_TYPE=linux
-------------------------------------------------------------------------------------------------------------------
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/image_glibc_multi-core_arm64 -p
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/bin/board_glibc_multi-core_arm64 -p
mkdir /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/bin/pc -p
chmod +x /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/osdrv_mem_cfg.sh
tar -xf /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/components/pcie_mcc/pcie_mcc.tgz -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/components/pcie_mcc
---------task [0] hiregbin_prepare
tar xzf /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1.tgz -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools
chmod 777 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/hiregbin
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/Hi3559AV100-DMEB_8L_T-DDR4_2664M_4GB_16bitx4-A73_1608M.xlsm /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1
cd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 && ./hiregbin Hi3559AV100-DMEB_8L_T-DDR4_2664M_4GB_16bitx4-A73_1608M.xlsm reg_info.bin;cd -
Generate regbin file successfully.
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
mv /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/reg_info.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools
rm /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 -rf
---------task [1.1] build boot64
./osdrv_mem_cfg.sh uboot hi3559av100 linux
CHIP:hi3559av100, memory config
config uboot...
UBOOT_LINUX_ENTRY_NEW=CONFIG_KERNEL_LOAD_ADDR=0x44080000
LITEOS_DDR_MEM_BASE_NEW=0x40000000
LITEOS_DDR_MEM_SIZE_NEW=0x100000000
LITEOS_SYS_MEM_BASE_NEW=#define SYS_MEM_BASE (0x130000000)
LITEOS_SYS_MEM_SIZE_NEW=#define SYS_MEM_SIZE_DEFAULT (0x0B000000UL)
LITEOS_MMZ_MEM_BASE_NEW=#define MMZ_MEM_BASE (0x13C000000UL)
LITEOS_MMZ_MEM_LEN_NEW=#define MMZ_MEM_LEN (0x04000000UL)
LITEOS_TEXT_OFFSET_NEW =#define TEXT_OFFSET (0x01000000)
ATF_ATF_ENTRY_NEW =#define BL31_BASE (0x47000000)
LINUX_ATF_ENTRY_NEW =\/memreserve\/ 0x47000000 0x00200000;
LINUX_SYS_MEM_BASE_NEW =reg = <0x0 0x44000000 0x2 0x0>; \/\* system memory base \*\/
find /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 | xargs touch
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- distclean >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/tools/pc/uboot_tools/reg_info.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/.reg
make -C /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 CROSS_COMPILE=aarch64-himix100-linux- hi3559av100_config
make[1]: Entering directory '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11'
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- -j 20 >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
arch/arm/cpu/armv8/transition.S: Assembler messages:
arch/arm/cpu/armv8/transition.S:16: Error: operand 2 should be an integer register -- `msr elr_el3,lr'
arch/arm/cpu/armv8/transition.S:22: Error: operand 2 should be an integer register -- `msr elr_el2,lr'
arch/arm/cpu/armv8/cache.S: Assembler messages:
make[2]: *** [arch/arm/cpu/armv8/transition.o] Error 1
make[2]: *** Waiting for unfinished jobs....
arch/arm/cpu/armv8/cache.S:100: Error: operand 1 should be an integer register -- `mov lr,x15'
arch/arm/cpu/armv8/cache.S:76: Error: undefined symbol lr used as an immediate value
make[2]: *** [arch/arm/cpu/armv8/cache.o] Error 1
arch/arm/cpu/armv8/start.S: Assembler messages:
arch/arm/cpu/armv8/start.S:165: Error: operand 1 should be an integer register -- `mov lr,x29'
arch/arm/cpu/armv8/start.S:262: Error: operand 1 should be an integer register -- `mov lr,x29'
arch/arm/cpu/armv8/start.S:159: Error: undefined symbol lr used as an immediate value
arch/arm/cpu/armv8/start.S:219: Error: undefined symbol lr used as an immediate value
make[2]: *** [arch/arm/cpu/armv8/start.o] Error 1
arch/arm/lib/crt0_64.S: Assembler messages:
arch/arm/lib/crt0_64.S:99: Error: operand 1 should be an integer register -- `adr lr,relocation_return'
arch/arm/lib/crt0_64.S:103: Error: operand 1 should be an integer or stack pointer register -- `add lr,lr,x9'
make[2]: *** [arch/arm/lib/crt0_64.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/lib] Error 2
make[1]: *** Waiting for unfinished jobs....
ddr_training_impl.c: In function ‘ddr_hw_training’:
ddr_training_impl.c:2017:24: warning: unused variable ‘reg’ [-Wunused-variable]
struct tr_relate_reg *reg = &relate_reg;
^~~
make[1]: *** [arch/arm/cpu/armv8] Error 2
drivers/ddr/hisilicon/hi3559av100/../default/ddr_training_impl.c: In function ‘ddr_hw_training’:
drivers/ddr/hisilicon/hi3559av100/../default/ddr_training_impl.c:2017:24: warning: unused variable ‘reg’ [-Wunused-variable]
struct tr_relate_reg *reg = &relate_reg;
^~~
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
pushd /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11;make CROSS_COMPILE=aarch64-himix100-linux- u-boot-z.bin -j 20 >/dev/null;popd
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11 /home/Hi3559AV100_SDK_V2.0.2.0/osdrv
make[1]: *** No rule to make target '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot.bin', needed by 'u-boot-z.bin'. Stop.
/home/Hi3559AV100_SDK_V2.0.2.0/osdrv
cp /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot-hi3559av100.bin /home/Hi3559AV100_SDK_V2.0.2.0/osdrv/pub/image_glibc_multi-core_arm64
cp: cannot stat '/home/Hi3559AV100_SDK_V2.0.2.0/osdrv/opensource/uboot/u-boot-2016.11/u-boot-hi3559av100.bin': No such file or directory
Makefile:174: recipe for target 'hiboot' failed
make: *** [hiboot] Error 1
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2021-01-04 10:30:39
-
2016-10-22 15:53:50
-
2014-12-09 17:32:02
-
2017-04-21 11:12:29
-
2015-10-13 11:15:48
-
2018-11-27 15:35:09
-
2017-08-24 09:25:51
-
2017-11-21 18:46:31
-
2017-06-28 14:24:35
-
2020-05-29 14:02:18
-
2021-04-10 23:14:48
-
2019-03-14 18:51:53
-
2019-12-25 17:49:22
-
2019-01-29 13:52:35
-
2016-09-08 09:57:16
-
2019-06-24 19:27:30
-
2017-05-12 09:55:39
-
2019-01-02 10:42:50
-
2020-05-27 16:23:11
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认