billy14

billy14

0个粉丝

1

问答

0

专栏

0

资料

billy14  发布于  2019-02-27 09:42:12
采纳率 0%
1个问答
2989

hi3531d osdrv整个目录编译的问题

 
配置好环境之后,uboot和kernel已经可以单独编译成功了。现在想编译osdrv整个目录,但是遇到了问题,请各位大侠帮忙分析一下,谢谢。
make OSDRV_CROSS=arm-hisiv500-linux PCI_MODE=master FLASH_TYPE=spi all
使用的是上面的这条命令编译,以下为出错的调试信息:
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
rm /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/mkubiimg.sh
pushd /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc;./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_4bit.yaffs2 2 2;popd
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
FATAL: kernel too old
/bin/sh: line 1: 16477 Aborted                 (core dumped) ./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_4bit.yaffs2 2 2
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
pushd /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc;./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_24bit.yaffs2 2 4;popd
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
FATAL: kernel too old
/bin/sh: line 1: 16480 Aborted                 (core dumped) ./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_24bit.yaffs2 2 4
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
pushd /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc;./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_2k_4bit.yaffs2 1 2;popd
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
FATAL: kernel too old
/bin/sh: line 1: 16483 Aborted                 (core dumped) ./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_2k_4bit.yaffs2 1 2
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
pushd /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc;./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_2k_24bit.yaffs2 1 4;popd
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/bin/pc /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
FATAL: kernel too old
/bin/sh: line 1: 16486 Aborted                 (core dumped) ./mkyaffs2image100 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/rootfs_uclibc/ /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_2k_24bit.yaffs2 1 4
/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv
chmod 644 /opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_4bit.yaffs2
chmod: cannot access `/opt/cb/Hi3531D/Hi3531DV100_SDK/Hi3531DV100_SDK_V1.0.4.0/osdrv/pub/image_uclibc/rootfs_hi3531d_4k_4bit.yaffs2': No such file or directory
make: *** [hirootfs_notools_build] Error 1

提示说“FATAL: kernel too old”,不知道这个是哪里有问题,还请各位帮忙分析。
我来回答
回答2个
时间排序
认可量排序

billy14

0个粉丝

1

问答

0

专栏

0

资料

billy14 2019-02-27 09:46:29
认可0
另外还要说一下mkyaffs2image.tar.bz2这个文件,由于这个压缩包里面包含了*.o文件,导致编译的时候出错,我就在该目录下执行了make clean,就是删掉*.o文件,然后重新打包成mkyaffs2image.tar.bz2,然后重新编译这段才没有提示出错,上面的这段出错不知道跟这个有没有关系。

qn1551776174

0个粉丝

1

问答

0

专栏

0

资料

qn1551776174 2019-04-18 14:57:14
认可0
大神有没有用HI3531DV100实现RTSP视频流实时传输的源码呢,谢谢
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区