VVViy / VVViy.github.io

This is Max's blog, something interesting in it.
MIT License
13 stars 4 forks source link

nv_small FPGA Mapping Workflow - Max's Blog #3

Open VVViy opened 5 years ago

VVViy commented 5 years ago

https://vvviy.github.io/2018/09/17/nv_small-FPGA-Mapping-Workflow-II/

Keep self busy.

sunny-yellow commented 3 years ago

well, try to re-compile with another version of libjpeg, the lower version could be better

Thank you.

gxk17 commented 3 years ago

@dovanhuong well, try to re-compile with another version of libjpeg, the lower version could be better

Thanks, I used jpeg v6b and fixed this problem. But I got a new problem while running "pdp_L0_0_small_fbuf", here is a part of the error log:

[ 222.072241] Enter: dla_program_operation [ 222.076156] Program PDP operation index 0 ROI 0 Group[0] [ 222.081460] group id 0 rdma id 0 [ 222.084680] Invalid dst_data.mem_type: 2048 [ 222.088855] Exit: dla_program_operation status=-3 [ 222.093549] Exit: dla_submit_operation

it seems that "mem_type" should be 0 (defined as DLA_MEM_MC in dla_interface.h) Are you using borard with MPSoC? Thanks!

sunny-yellow commented 3 years ago

@dovanhuong well, try to re-compile with another version of libjpeg, the lower version could be better

Thanks, I used jpeg v6b and fixed this problem. But I got a new problem while running "pdp_L0_0_small_fbuf", here is a part of the error log:

[ 222.072241] Enter: dla_program_operation [ 222.076156] Program PDP operation index 0 ROI 0 Group[0] [ 222.081460] group id 0 rdma id 0 [ 222.084680] Invalid dst_data.mem_type: 2048 [ 222.088855] Exit: dla_program_operation status=-3 [ 222.093549] Exit: dla_submit_operation

it seems that "mem_type" should be 0 (defined as DLA_MEM_MC in dla_interface.h) Are you using borard with MPSoC? Thanks!

May I have your e-mail? I want to communicate with you something.

gxk17 commented 3 years ago

@dovanhuong well, try to re-compile with another version of libjpeg, the lower version could be better

Thanks, I used jpeg v6b and fixed this problem. But I got a new problem while running "pdp_L0_0_small_fbuf", here is a part of the error log: [ 222.072241] Enter: dla_program_operation [ 222.076156] Program PDP operation index 0 ROI 0 Group[0] [ 222.081460] group id 0 rdma id 0 [ 222.084680] Invalid dst_data.mem_type: 2048 [ 222.088855] Exit: dla_program_operation status=-3 [ 222.093549] Exit: dla_submit_operation it seems that "mem_type" should be 0 (defined as DLA_MEM_MC in dla_interface.h) Are you using borard with MPSoC? Thanks!

May I have your e-mail? I want to communicate with you something.

sure,1031896996@qq.com

dovanhuong commented 3 years ago

well, my email: vanhuong.do@asicland.com Next week, I'll take a look on your issue ^^

tongjiaxuan666 commented 2 years ago

题主您好,我在ZC706板子移植nvdla,芯片是ZYNQ7000,在移植KMD后 insmod后 出现了 vmap allocation for size 268439552 failed : use vmalloc= to increase size的错误,请问DMA预留的空间与vmalloc有必然的联系嘛。 在增加了vmalloc重新insmod后又出现了failed to register drm deviece的错误。请问应该从什么角度修改呢。

sunny-yellow commented 2 years ago

是DMA的问题的话,是你petalinux版本的问题吧2019和2018按照那个应该可以吧

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月16日(星期四) 下午3:04 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [VVViy/VVViy.github.io] nv_small FPGA Mapping Workflow - Max's Blog (#3)

题主您好,我在ZC706板子移植nvdla,芯片是ZYNQ7000,在移植KMD后 insmod后 出现了 vmap allocation for size 268439552 failed : use vmalloc= to increase size的错误,请问DMA预留的空间与vmalloc有必然的联系嘛。 在增加了vmalloc重新insmod后又出现了failed to register drm deviece的错误。请问应该从什么角度修改呢。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

tongjiaxuan666 commented 2 years ago

@sunny-yellow 我在用Tengine运行分类错的时候https://github.com/LeiWang1999/ZYNQ-NVDLA/issues/7#issue-1021665880 遇到和你同样的问题,请问你当时是怎么解决的呢?可以留一个联系方式方便沟通嘛?email或者QQ或者微信?

wei8171023 commented 1 year ago

感谢博主的分享,我想问您一个问题!就是如何在vivado BD中查看DDR的有效地址呢?谢谢!

VVViy commented 1 year ago

感谢博主的分享,我想问您一个问题!就是如何在vivado BD中查看DDR的有效地址呢?谢谢!

我记得在BD里双击“zynq” IP,在弹出界面中是能看到和设置DDR地址的。

wei8171023 commented 1 year ago

@VVViy

感谢博主的分享,我想问您一个问题!就是如何在vivado BD中查看DDR的有效地址呢?谢谢!

我记得在BD里双击“zynq” IP,在弹出界面中是能看到和设置DDR地址的。

嗯嗯,晓得了!还有个问题,您使用的ZCU102的内存是多大的呢?预留内存必须是0x40000000地址开始吗?我的是4GB内存,换成其他大点的起始地址的话在跑runtime就报SERROR的错误。请问您知道是为什么吗?谢谢!

VVViy commented 1 year ago

@VVViy

感谢博主的分享,我想问您一个问题!就是如何在vivado BD中查看DDR的有效地址呢?谢谢!

我记得在BD里双击“zynq” IP,在弹出界面中是能看到和设置DDR地址的。

嗯嗯,晓得了!还有个问题,您使用的ZCU102的内存是多大的呢?预留内存必须是0x40000000地址开始吗?我的是4GB内存,换成其他大点的起始地址的话在跑runtime就报SERROR的错误。请问您知道是为什么吗?谢谢!

zcu102好像也是4G,预留地址是指DMA的那个?要查一下那个DMA内存声明函数的定义,然后根据DDR有效地址计算一下,细节时间太久不记得了。