
qn1522720710


? 访问量
? 原创专栏
? 资料
? 粉丝
个性签名:?
加入易百纳时间:?
个人成就



个人勋章
分类专栏
Ta擅长的领域
-
本帖最后由 qn1522720710 于 2019-10-26 09:02 编辑 第一次使用REGSION,希望前辈给我解解疑惑: 上传一个图片,海思的REGSION的模块信息。 REGSION 模块我使用的是 模块号 区域号 支持区域与否 设备号 通道号 HI_ID_GROUP OVERLAY_RGN Y [0,VENC_MAX_GRP_NUM-1] 0 (我对这里有些疑惑:设置设备号,overlay始终是显示在VENC_chn0上,莫非HI_ID_GROUP只能显示第一路上?) 4路的VENC通道已经有视频,VI VPSS VENC绑定关系如下: for (j=0; j { ViChn = j * stViParam.s32ViChnInterval;// 0 4 8 12 stSrcChn.enModId = HI_ID_VIU; stSrcChn.s32DevId = 0; stSrcChn.s32ChnId = ViChn; stDestChn.enModId = HI_ID_VPSS; stDestChn.s32DevId = VpssGrp;// 0 1 2 3 stDestChn.s32ChnId = 0; HI_MPI_SYS_Bind(&stSrcChn, &stDestChn); VpssGrp ++; } for (i=0; i { VencGrp = i; VencChn = i; VpssGrp = i; SAMPLE_COMM_VENC_Start(VencGrp, VencChn, enPayLoad[0],w,h,enRcMode) SAMPLE_COMM_VENC_BindVpss(VencGrp, VpssGrp, VPSS_BSTR_CHN); }2019-03-307 0 2521
-
本帖最后由 qn1522720710 于 2020-3-3 16:24 编辑 请教下:海思hi35xx芯片,输入一个VI信号,裁剪成4路再推4条流出去,有什么好的实现方法?2019-09-2112 0 3974
-
本帖最后由 qn1522720710 于 2019-10-26 08:55 编辑 Hi3531A 的板子,使用的300的工具链编译的UImage。 烧录完启动,出现内核崩溃! 希望坛友帮忙分析下,请各位多多指教 启动日志如下: System startup U-Boot 2010.06 (Oct 15 2019 - 17:27:38) Check Flash Memory Controller v100 ... Found Check Nand Flash Controller v610 ... found Special NAND id table Version 1.38 Nand ID: 0x2C 0xDA 0x90 0x95 0x06 0x00 0x00 0x00 Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit/512 Nand total size: 256MB *** Warning - bad CRC or NAND, using default environment In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.10.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3413184 Bytes = 3.3 MiB Load Address: 40008000 Entry Point: 40008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.0 (cws@shiye-virtual-machine) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #23 SMP Wed Nov 28 11:14:20 CST 2018 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: bigfish Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 7 pages/cpu @c0a90000 s7488 r8192 d12992 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: mem=512M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 mtdparts=hi_sfc:1M(boot),4M(kernel),250M(rootfs),1M(null) PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 512MB = 512MB total Memory: 513000k/513000k available, 11288k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc05fab08 (6091 kB) .init : 0xc05fb000 - 0xc0627d40 ( 180 kB) .data : 0xc0628000 - 0xc0661ac0 ( 231 kB) .bss : 0xc0661ac0 - 0xc068b60c ( 167 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. NR_IRQS:160 sched_clock: 32 bits at 62MHz, resolution 16ns, wraps every 68719ms Console: colour dummy device 80x30 Calibrating delay loop... 2197.09 BogoMIPS (lpj=10985472) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0xc0479758 - 0xc04797b0 L310 cache controller enabled l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x72430001, Cache size: 262144 B CPU1: Booted secondary processor CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (4387.63 BogoMIPS). CPU: All CPU(s) started in SVC mode. NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x12080000 (irq = 38) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x12090000 (irq = 39) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x120a0000 (irq = 40) is a PL011 rev2 uart:3: ttyAMA3 at MMIO 0x12130000 (irq = 52) is a PL011 rev2 bio: create slab at 0 SCSI subsystem initialized hi-spi-master hi-spi-master.0: with 4 chip select slaves attached usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP: reno registered UDP hash table entries: 256 (order: 1, 8192 bytes) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) CPU PMU: probing PMU on CPU 1 hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. fuse init (API version 7.22) msgmni has been set to 1001 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded loop: module loaded hiahci: initializing ahci ahci.0: can't get clock ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0xf impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc sxs boh scsi0 : ahci_platform scsi1 : ahci_platform scsi2 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x11010000-0x1101ffff] port 0x180 irq 49 ata2: SATA max UDMA/133 mmio [mem 0x11010000-0x1101ffff] port 0x200 irq 49 ata3: SATA max UDMA/133 mmio [mem 0x11010000-0x1101ffff] port 0x280 irq 49 略... TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 ata3: SATA link down (SStatus 0 SControl 300) VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: f000 262144 romblock0 (driver?) 1f00 262144 mtdblock0 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU1: stopping CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.0 #23 [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14) [] (show_stack+0x10/0x14) from [] (handle_IPI+0x188/0x1b0) [] (handle_IPI+0x188/0x1b0) from [] (gic_handle_irq+0x88/0x8c) [] (gic_handle_irq+0x88/0x8c) from [] (__irq_svc+0x40/0x50) Exception stack(0xdf871f98 to 0xdf871fe0) 1f80: c0a98958 00000000 1fa0: 000013f4 00000000 c06619c7 c0637d78 c047be6c df870000 c06619c7 df870000 1fc0: df870000 c0637d14 00000000 df871fe0 c0014244 c0014248 60000113 ffffffff [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30) [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140) [] (cpu_startup_entry+0xfc/0x140) from [<4046f4e4>] (0x4046f4e4)2019-10-151 0 2052
-
你好,请教个问题! 海思VO直接可以直接输出BMP位图吗? 还是,只能bmp转成jpg,vdec-》vo才能ok?2019-10-211 0 2044
-
本帖最后由 qn1522720710 于 2020-3-3 16:22 编辑 海思3531a的板子 nand flash启动。 yaffs文件系统制作如下: ./mkyaffs2image610 rootfs_uclibc rootfs_uclibc_2k_4bit.yaffs2 1 2 启动日志大致如下: Check Flash Memory Controller v100 ... Found Check Nand Flash Controller v610 ... found Special NAND id table Version 1.38 Nand ID: 0x2C 0xDA 0x90 0x95 0x06 0x00 0x00 0x00 Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit/512 Nand total size: 256MB *** Warning - bad CRC or NAND, using default environment ... VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 yaffs: dev is 32505858 name is "mtdblock2" rw yaffs: passed flags "" VFS: Mounted root (yaffs2 filesystem) on device 31:2. Freeing unused kernel memory: 172K (c05bf000 - c05ea000) Welcome to HiLinux. ... 系统启动后,输入dmesg ~ # dmesg yaffs: checking block 1692 bad yaffs: checking block 1693 bad yaffs: checking block 1694 bad ... yaffs: checking block 1998 bad yaffs: checking block 1999 bad yaffs: yaffs_read_super: is_checkpointed 0 VFS: Mounted root (yaffs2 filesystem) on device 31:2. Freeing unused kernel memory: 172K (c05bf000 - c05ea000) udev[702]: starting version 164 Hisilicon Media Memory Zone Manager ... 有的时候启动只提示以下异常: VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 yaffs: dev is 32505858 name is "mtdblock2" rw yaffs: passed flags "" yaffs: yaffs: Attempting MTD mount of 31.2,"mtdblock2" yaffs: checking block 0 bad yaffs: checking block 822 bad yaffs: yaffs_read_super: is_checkpointed 1 VFS: Mounted root (yaffs2 filesystem) on device 31:2. Freeing unused kernel memory: 172K (c05bf000 - c05ea000) udev[702]: starting version 164 进入uboot,输入指令 nand bad nand bad Device 0 bad blocks 请问这种情况的坏块,可能是那些因素导致的? 希望了解过的指导下,万分感谢!2019-11-051 0 2526
-
本帖最后由 qn1522720710 于 2020-3-3 16:15 编辑 出现崩溃前的操作1:断电重启,挂着系统(已加载官方驱动,未跑用户程序),崩了 出现崩溃前的操作2:断电重启,已加载官方驱动,gdb调试用户程序(还没输入r),突然崩了 两次崩溃的信息大致相同,这种崩溃存在随机性。 内核崩溃信息如下: Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c0004000 [00000000] *pgd=00000000 Internal error: Oops: 80000007 [#1] SMP ARM Modules linked in: hi3531a_ive(PO) hi3531a_vda(PO) hi3531a_jpege(PO) hi3531a_h264e(PO) hi3531a_chnl(PO) hi3531a_venc(PO) hi3531a_rc(PO) hi3531a_hdmi(PO) hifb(PO) hi3531a_vou(PO) hi3531a_vpss(PO) hi3531a_viu(PO) hi3531a_vgs(PO) hi3531a_region(PO) hi3531a_tde(PO) hi3531a_jpegd(O) hi3531a_vfmw(PO) hi3531a_vdec(PO) hi3531a_sys(PO) hi3531a_base(PO) hi_media(O) hiuser(O) mmz(O) CPU: 0 PID: 0 Comm: swapper/0 Tainted: P O 3.10.0 #1 task: c05fe040 ti: c05ec000 task.ti: c05ec000 PC is at 0x0 LR is at hrtimer_get_next_event+0x88/0xa8 pc : [<00000000>] lr : [] psr: 60000193 sp : c05edf38 ip : 00000000 fp : 00000000 r10: c05ec000 r9 : c05ec730 r8 : 00000000 r7 : 00000300 r6 : 00000000 r5 : 00000733 r4 : c05ec000 r3 : 00000000 r2 : 00980400 r1 : 0000032a r0 : 08233f80 Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 5f2d004a DAC: 00000015 ... [] (hrtimer_get_next_event+0x88/0xa8) from [] (__irq_svc+0x40/0x50) [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30) [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140) [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x314/0x320) Code: bad PC value ---[ end trace 18fd96891298428f ]--- Kernel panic - not syncing: Attempted to kill the idle task! CPU1: stopping CPU: 1 PID: 0 Comm: swapper/1 Tainted: P D O 3.10.0 #1 [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14) [] (show_stack+0x10/0x14) from [] (handle_IPI+0x188/0x1b0) [] (handle_IPI+0x188/0x1b0) from [] (gic_handle_irq+0x88/0x8c) [] (gic_handle_irq+0x88/0x8c) from [] (__irq_svc+0x40/0x50) Exception stack(0xdf871f98 to 0xdf871fe0) 1f80: 1fa0: 00099136 00000000 c06242b9 c05fbd74 c0441e6c df870000 c06242b9 df870000 1fc0: df870000 c05fbd14 00000000 df871fe0 c0014244 c0014248 60000013 ffffffff [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30) [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140) [] (cpu_startup_entry+0xfc/0x140) from [<40435b64>] (0x40435b64) 恳请各位大佬帮忙分析分析~:$2020-02-272 0 2125
-
本帖最后由 qn1522720710 于 2020-3-19 09:43 编辑 嵌入行场信号:HVsync时钟信号嵌入到数据信号中; 独立行场信号:HVsync时钟信号与数据信号相互独立。 问题如题 谢谢! 对比hi3531与hi3531a文档,hi3531文档标了“支持内嵌同步、外置同步两种模式”,而hi3531a没有标注! hi3531支持两种模式,不知道代码上要不要特别修改的地方! hi3531a是不是只支持嵌入行场!2020-03-181 0 1720
-
HI3531AV100_PINOUT_CN.xlsx 有以下的说明: 3.WDG关键硬件复用关系 PIN_NAME POR_ENABLE=0 POR_ENABLE=1 WDG_RSTN WDG_RSTN SYS_RSTN_OUT 4.SPI_CS管脚硬件复用关系 PIN_NAME POWER_ON=0 POWER_ON=1 SPI_CSN0 SPI_CSN0 PCIE_STATA_MODE0 SPI_CSN1 SPI_CSN1 PCIE_STATA_MODE1 SPI_CSN2 SPI_CSN2 PCIE_STATA_MODE2 SPI_CSN3 SPI_CSN3 PCIE_STATA_MODE3 各位大佬,请教下: 查看硬件管脚POR_ENABLE是存在的,而POWER_ON是不存在的,那么要如何才能硬件复用为SPI_CSN0?2020-04-285 0 2262
-
本帖最后由 qn1522720710 于 2019-12-10 14:47 编辑 您好!请教下两个关于视频输出的问题? (1)Hi3531A有BT1120显示接口(来源DHD0或DHD1)+BT1120级联接口(只能来源DHD0,BT.1120 显示接口互斥),硬件上两个接口分别连接到两个FPGA芯片上,即 DHD0 -> BT1120级联接口 ->FPGA0 DHD1 -> BT1120显示接口 ->FGPA1 文档上说这两个bt1120接口互斥,请问这种方案能行吗? (2)上面的方案可行的话, bt1120显示接口可以用以下代码设计 enVoMode = VO_MODE_1MUX; u32WndNum = 1; VoDev = SAMPLE_VO_DEV_DHD1; VoLayer = SAMPLE_VO_LAYER_VHD1; stVoPubAttr.enIntfSync = VO_OUTPUT_1080P60; stVoPubAttr.enIntfType = VO_INTF_BT1120; stVoPubAttr.u32BgColor = 0x00000000; s32Ret = SAMPLE_COMM_VO_StartDev(VoDev, &stVoPubAttr); bt1120级联接口的代码该怎么设计? 期待指点迷津,感谢!2019-12-101 0 2188

共9条