
seymour


0 访问量
0 原创专栏
0 资料
0 粉丝
个性签名:此E友还没有留下个性签名哦~
加入易百纳时间:2015-11-04
-
请教下大虾们, 有没在海思方案上扩展usb以太网网卡, 我尝试用qf9700的芯片。 驱动加载后,不停的打印下面信息: hiusb-ohci hiusb-ohci.0: dma_pool_free ohci_td, ffdd7f00/8f006f00 (bad dma) hiusb-ohci hiusb-ohci.0: dma_pool_free ohci_td, ffdd7d40/8f006d40 (bad dma) hiusb-ohci hiusb-ohci.0: dma_pool_free ohci_td, ffdd7e40/8f006e40 (bad dma) 当我使用usb网口发流(4套解码,码率最多十几兆),会出现很多马赛克,而且过一会内核崩溃。 Unable to handle kernel NULL pointer dereference at virtual address 00000115 pgd = c0004000 [00000115] *pgd=00000000 Internal error: Oops: 17 [#1] ARM Modules linked in: hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) CPU: 0 Tainted: G O (3.4.35 #13) PC is at __lookup_processor_type+0x8/0x38 LR is at 0xc000800c pc : [] lr : [] psr: 200001d3 sp : c05a1e10 ip : c05a1e28 fp : c05a1e24 r10: 00000100 r9 : 410fc075 r8 : c05a0000 r7 : 00000005 r6 : cf9c23c0 r5 : cf9c2480 r4 : cf3a6000 r3 : 00000000 r2 : c000506c r1 : 7fff5f28 r0 : cf3a6000 Flags: nzCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 8f3f8059 DAC: 00000015 PC: 0xc0597630: 7630 e2600000 e7963003 e5830000 e59f2144 e51b3190 e08f20 qf9700 我们在其他方案上试过,没出现过这样的问题。不知道在海思平台上怎么会出现这样的问题。请大虾们指点一下! 谢谢!2018-03-022 0 2599
-
现在有个案子,需要3个网口,一个千兆,2个百兆。A20 是否可以2个Usb转网口。或者还有其他的方案可行?麻烦大家推荐一下2018-01-311 0 2767
-
今天遇到个很纳闷的问题,请教一下大家。 我现在用hi3519,之前用v100版本通过sample_audio程序获取音频数据是可以的。 现在换成了v101,用sample_audio获取音频数据保存文件。居然文件全是0 我看了文档v101和v100的差异说明,并没有讲到audio这一块。 有没有大咖清楚这是什么问题引起的。2018-01-088 0 2672
-
请教下各位, Hi3516进行编码时,老是出现kernel内存溢出,空指针。 Unable to handle kernel paging request at virtual address d0008008 pgd = ce5cc000 [d0008008] *pgd=00000000 Internal error: Oops: 805 [#1] ARM Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) [last unloaded: adv7611drv] CPU: 0 Tainted: G O (3.4.35 #9) PC is at VGS_GetJobFromFreeList+0x50/0xa8 [hi3516a_vgs] LR is at 0xd0008008 pc : [] lr : [] psr: a0000193 sp : ced179b8 ip : 00100100 fp : ced179d4 r10: 60000193 r9 : 00000000 r8 : 00000007 r7 : ced17a58 r6 : d08b8000 r5 : d08e9e58 r4 : d08e9ee4 r3 : d08e9e58 r2 : 00019818 r1 : 00200200 r0 : d08b8000 Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c53c7d Table: 8e5cc059 DAC: 00000015 Unable to handle kernel paging request at virtual address d0003e78 pgd = ceffc000 [d0003e78] *pgd=00000000 Internal error: Oops: 805 [#1] ARM Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) CPU: 0 Tainted: G O (3.4.35 #9) PC is at VGS_DrvPutTaskToJob+0x1c/0x30 [hi3516a_vgs] LR is at VGS_DrvCommPrepareHWInfo+0xac/0x140 [hi3516a_vgs] pc : [] lr : [] psr: 00000193 sp : c059d620 ip : c059d630 fp : c059d62c r10: bf1f9568 r9 : d08ec054 r8 : d08e86e0 r7 : d09005f4 r6 : 00000000 r5 : d0873e6c r4 : d08e86e0 r3 : d0003e78 r2 : d0873e78 r1 : d0873e6c r0 : d09005f4 Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 8effc059 DAC: 00000015 Unable to handle kernel paging request at virtual address 00200200 pgd = c0004000 [00200200] *pgd=00000000 Internal error: Oops: 817 [#2] ARM Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) [last unloaded: adv7611drv] CPU: 0 Tainted: G D O (3.4.35 #9) PC is at VB_GetBlkByPoolId+0x110/0x230 [hi3516a_base] LR is at 0x200200 这是kernel虚拟地址分配 Memory: 256MB = 256MB total Memory: 253788k/253788k available, 8356k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0578000 (5568 kB) .init : 0xc0578000 - 0xc059a7dc ( 138 kB) .data : 0xc059c000 - 0xc05cc800 ( 194 kB) .bss : 0xc05cc824 - 0xc05eb9e0 ( 125 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 HDMI芯片是adv7611, 7611的驱动会影响吗? 麻烦大家指点一下!2017-09-0110 0 5338
-
请教一下大家, 使用A20,使用NAND flash (512M 和 1G都试过),用LinuxBSP包编译一个linux系统。大小是53.5M 使用Phoenixsuit工具烧录系统。系统跑起来后,用df -h 查看了下 # df -h Filesystem Size Used Available Use% Mounted on none 411.2M 0 411.2M 0% /dev /dev/nandd 33.7M 30.8M 1.2M 96% / --》》这系统分区怎么只有33.7M tmpfs 413.4M 60.0K 413.3M 0% /tmp none 411.2M 0 411.2M 0% /dev /dev/nanda 127.7M 5.8M 121.9M 5% /boot 用fdisk -l 查看: # fdisk -l Disk /dev/nanda: 33 MB, 33554432 bytes 255 heads, 63 sectors/track, 4 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Disk /dev/nandb: 16 MB, 16777216 bytes 255 heads, 63 sectors/track, 2 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/nandb doesn't contain a valid partition table Disk /dev/nandc: 16 MB, 16777216 bytes 255 heads, 63 sectors/track, 2 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/nandc doesn't contain a valid partition table Disk /dev/nandd: 134 MB, 134217728 bytes 255 heads, 63 sectors/track, 16 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/nandd doesn't contain a valid partition table Disk /dev/nande: 238 MB, 238026752 bytes 255 heads, 63 sectors/track, 28 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes /dev/nandd 大小分明是134M。 /dev/nanda 大小是33M,反变成了127.7M。 没搞懂是怎么回事。是系统挂载问题吗?还是系统包问题。 下面是我的sys_partition.fex分区文件 [partition_start] ;------------------------------>mmcblk0p2/nanda [partition] name = bootloader size = 65536 downloadfile = "bootloader.fex" verify = 1 ;------------------------------>mmcblk0p5/nandb [partition] name = env size = 32768 downloadfile = "env.fex" verify = 1 ;------------------------------>mmcblk0p6/nandc [partition] name = boot size = 32768 downloadfile = "boot.fex" verify = 1 [partition] name = rootfs size = 262144 downloadfile = "rootfs.fex" verify = 1 主要问题是,当我的系统增大到62.3M时,系统无法启动。mount 文件系统时出错。 e2fsck /dev/nandd return 1 [ 5.681976] EXT4-fs (nandd): barriers disabled [ 5.688301] EXT4-fs (nandd): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered [ 5.701027] [uart]: uart0 LCR & BAUD changed, reset controller... mount /dev/nandd return 0 [ 5.890244] init used greatest stack depth: 5240 bytes left [ 5.896539] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 [ 5.896546] [ 5.906805] [] (unwind_backtrace+0x0/0xe0) from [] (panic+0x80/0x1d0) [ 5.915980] [] (panic+0x80/0x1d0) from [] (do_exit+0x330/0x744) [ 5.924564] [] (do_exit+0x330/0x744) from [] (do_group_exit+0x88/0xb4) [ 5.933823] [] (do_group_exit+0x88/0xb4) from [] (__wake_up_parent+0x0/0x18) [ 5.943655] CPU0: stopping [ 5.946687] [] (unwind_backtrace+0x0/0xe0) from [] (handle_IPI+0xf8/0x1d4) [ 5.956311] [] (handle_IPI+0xf8/0x1d4) from [] (gic_handle_irq+0x50/0x58) [ 5.965849] [] (gic_handle_irq+0x50/0x58) from [] (__irq_svc+0x40/0x70) [ 5.975170] Exception stack(0xc06bdcf0 to 0xc06bdd38) [ 5.980815] dce0: 00000400 c06bdeac 00000001 0000122f [ 5.989952] dd00: ef03e740 00000000 c06bde6c ef001180 00000001 00000000 00000 麻烦大家指点下,谢谢!(我还尝试过SDcard, 也是一样。emmc的话,用Phoenixsuit工具没法烧录)。2017-06-092 0 4698
-
请教一下, hi3519使用SKhynix H5TQ4Good3CFR DDR芯片。总共1G,单通道。 需要修改hi3519-DEMO-uboot-DDRC400M-1GB-32bit-A7792M-A17880M-BUS200M.xls 板子layout是用Flyby Topplogy,跟DEMO板是用的T_Topology。 这样的区别需要修改xls文件,重新生成reg_info.bin吗? 用SDK编译出来的Uboot,烧录出现下面这样的问题。 ############################### ---- 10% ############################# ---- 20% ############################# ---- 30% ############################# ---- 40% ############################# ---- 50% ############################# ---- 60% ############################# ---- 70% ############################# ---- 80% ############################# ---- 90% ############################Failed to send tail frame! Failed to download File2017-02-239 1 5710
-
各位大神, 今天我做了一个测试。我使用ffmpeg提取ts流(3840x2160 50fps hevc)。想把原始流提取出来。 命令如下: ffmpeg -i test.ts -vcodec copy -f hevc 1080P.h265 生成1080P.h265文件成功。但是使用sample_vdec测试,显示器提示有信号,但无法输出图像。 我用ffplay可以播放,vlc无法播放。 附上提取日志: # ffmpeg -i HEVCUHDTest.ts -vcodec copy -f hevc 1080P.h265 ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --disable-yasm libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] PPS id out of range: 0 Last message repeated 1 times [hevc @ 0xa975580] Error parsing NAL unit #1. [hevc @ 0xa975580] Could not find ref with POC -88 [hevc @ 0xa975580] Could not find ref with POC -92 [hevc @ 0xa975580] Could not find ref with POC -96 [mpegts @ 0xa971980] PES packet size mismatch Input #0, mpegts, from 'HEVCUHDTest.ts': Duration: 00:00:23.45, start: 23.424889, bitrate: 23951 kb/s Program 2 Stream #0:0[0x21]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x24]: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 70 kb/s File '1080P.h265' already exists. Overwrite ? [y/N] y Output #0, hevc, to '1080P.h265': Metadata: encoder : Lavf56.25.101 Stream #0:0: Video: hevc ([36][0][0][0] / 0x0024), yuv420p10le, 3840x2160, q=2-31, 50 fps, 50 tbr, 50 tbn, 50 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [NULL @ 0xa975580] PPS id out of range: 0 Last message repeated 7 times frame= 1113 fps=855 q=-1.0 Lsize= 57322kB time=00:00:22.22 bitrate=21133.2kbits/s video:57322kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% 麻烦各位指点一下。2016-10-252 2 6548
-
用下面的方式创建一个VDEC channel,例如0 channel: HI_MPI_VDEC_SetChnParam(0,…) HI_MPI_VDEC_StartRecvStream(0) 摧毁channel 0, 我是用下面这种方式: HI_MPI_VDEC_StartRecvStream(0) HI_MPI_VDEC_DestroyChn(0)。 现在问题是,我创建或摧毁channel 0 都能成功,但是我不能再次创建它。下一次我需要一个channel时,我必须创建channel 1. 这样如此循环,最多只能创建128个通道,如果我要继续创建通道必须要关闭MIPI系统(相当于重启应用程序)。重新又从channel 0 开始创建。(我是播放完一个视频后就会摧毁一个channel,再重新创建一个channel来播放接下来的视频。如果我需要同时解码16路视频的话,一次必须创建16个channel,循环不了几次) 还一个就是我不会与其他模块绑定vdec通道。 是我创建和摧毁channel的方式有问题,还是我的思路有问题。 希望大神们给一点意见和指点。2016-05-1110 0 7617
-
关于一个解码问题,想咨询高手们。 在平台h3536上,如果输入的视频帧率是60fps,而解码输出时帧率是30fps的时候,画面播放会变慢。如果输入的视频帧率是30fps,而解码输出时帧率是60fps的时候,画面播放会变快。 为了更好的匹配显示器,能不能随意的修改输出的帧率。比如输入的视频帧率是60fps,但我的显示器不支持60fps,可以把输出帧率修改成30fps,而不影响画面的速度。2016-05-0527 0 13953
-
在论坛中很少有讨论Hi3536这芯片的帖子。作为新人,我也是刚接触到这个芯片, 从网上了解到这芯片的强大,优势在于decoder。 不知论坛里各位大神对hi3536是一个什么看法。 我对这芯片有几点疑惑,比如,a17 a7工作有互相联系没有,是不是各自工作。如果是各自工作的话,对于双网口的话可以各自分配吗? 还有memory,也可以进行分配吗(如果板子有2G的内存, os_mem_size 和 mmz 可以)? 这芯片的强大还可以接两路pcie出来。在论坛里有人说HI35xx芯片的pcie很难弄,对硬件各种要求都很高。 大家有什么关于这芯片的问题,都可以提出来讨论下。2016-01-287 0 5557

共10条