qn1530868394
易百纳技术社区
易百纳技术社区
0 访问量
0 原创专栏
0 资料
0 粉丝
个性签名:此E友还没有留下个性签名哦~
加入易百纳时间:2018-07-06

个人成就

易百纳技术社区 共获得 0 个点赞
易百纳技术社区 共获得 0 个收藏
易百纳技术社区 共获得 61 次评论/回复

个人勋章

暂无勋章
分类专栏

Ta擅长的领域

暂无
  • 自己设计了一块hi3556v200 spinand的开发板,目前配置启动参数后可以起来,但是virt-tty打不开,不知道是参数不对导致liteos没有起来还是怎么的,有了解的兄弟帮忙分析下,谢谢! 启动参数如下: setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock5 rootfstype=yaffs2 mtdparts=hinand:1M(u-boot.bin),1M(rawparam),1M(rawparambak),8M(media_app_zip.bin),5M(uImage),12M(rootfs.yaffs),30M(appfs.yaffs)' setenv bootcmd 'nand read 0x83b00000 0x300000 0x800000;go_cpu1 0x83b00000;nand read 0x82000000 0xb00000 0x500000;bootm 0x82000000';sa 下面一个也试过不行: setenv bootcmd 'go_cpu1 0x87400000 0x83b00000 0x300000 0x800000;nand read 0x82000000 0xb00000 0x500000;bootm 0x82000000';sa
    2021-07-01
    0 0 1977
  • 本帖最后由 qn1530868394 于 2019-8-11 12:59 编辑 大家好,现在自己设计一块hi3516a的板子,接imx385,然后385按fae给的驱动配置起来,示波器量sensor端信号看起来是正常的,mipi这块也采集到数据,然后vi看起来也正常,但是编码存储下来的图像全黑的,有没有朋友碰到过这种情况,有经验的能否帮忙指点下怎么定位问题在哪里? 示波器量的信号分别为hi3516给出的时钟,mipi时钟,帧信号,行信号; 截图的信号为:mipi,vi,venc。
    2019-08-11
    1 0 2120
  • 自己设计的板子,spi nor flash能烧写成功,uboot能正常起来,spi nand flash 烧写报错,spi nor和spi nand都是8pin的,有没有朋友碰到的?能帮忙分析下吗?试的几个flash都是表里支持的:TC58CVG0S3H RAIF  PN26G01AWSIUG  GD5F1GQ4UBYIG Boot downloading started. Boot 100 % Downloaded. Boot Downloading completed! U-Boot 2010.06 (Sep 04 2019 - 00:04:03) Check SPI Nand Fl ash Controller v100 ... Found S PI Nand ID Table Version 2.2 SP I Nand : Manufacturer ID[0x0] No NAND device found!!! undefined instruction pc : [<00001080>]    lr : [<80816a44>] sp : 8079f f10  ip : 808326f4  fp : 807a1130 r10: 0003ffff  r9 : 808356b0 r8 : 8079ffe0 r7 : 00000000  r 6 : 808356b0  r5 : 00080000  r4 : 00000000 r3 : 00000000  r2 : 00080000  r1 : 00000000  r0 : 00 000000 Flags: nZcv  IRQs off  F IQs off  Mode SVC_32 Resetting CPU ... resetting ...
    2019-09-04
    2 0 2937
  • 有没有接过的指导下,加载驱动./load3519av100 -i -sensor0 bt656 在调用s32Ret = HI_MPI_VI_CreatePipe(ViPipe, &stPipeAttr);时报如下错误: [SAMPLE_COMM_VI_StartViPipe]-2105: 222  HI_MPI_VI_CreatePipe failed with 0xa0108003! pipe的参数配置如下: VI_PIPE_ATTR_S PIPE_ATTR_BT656D1_1MUX = {             /* bBindDev bYuvSkip */     VI_PIPE_BYPASS_NONE, HI_FALSE,HI_TRUE,     720, 576,     PIXEL_FORMAT_YUV_SEMIPLANAR_422,     COMPRESS_MODE_NONE,     DATA_BITWIDTH_8,     HI_FALSE,     {         PIXEL_FORMAT_YUV_SEMIPLANAR_422,         DATA_BITWIDTH_8,         VI_NR_REF_FROM_RFR,         COMPRESS_MODE_NONE     },     HI_FALSE,     { -1, -1},     HI_FALSE }; 发现PIXEL_FORMAT_E  enPixFmt只能配置为rgb,HI_BOOL bIspBypass配置为HI_FALSE时才能成功配置下去,按手册理解PIXEL_FORMAT_E  enPixFm应该配置为yuv,HI_BOOL bIspBypass配置为HI_TRUE,就会报上面的错误。 还有VI_DEV_ATTR_S DEV_ATTR_BT656D1_1MUX = {     VI_MODE_BT656,     VI_WORK_MODE_1Multiplex,     {0xFFF00000,    0x0},     VI_SCAN_PROGRESSIVE,     {-1, -1, -1, -1},     VI_DATA_SEQ_YUYV,      .......} VI_SCAN_MODE_E      enScanMode;参数只能配置为逐行,配置为隔行也配置不下去。 不知道是我配置的有问题,还是hi3519av100的驱动支持有问题,有没有调试过这块的指导下,在hi3519v101上接入是成功的。
    2019-01-10
    23 0 6684
  • 目前有个i2c设备,需要分两次写10个字节过去,然后读18个字节数据,写没有问题,我在应用层用ioctl去读,和内核级用i2c_master_recv接口函数去读,都出现hisi-i2c-v110 12112000.i2c: Unsupported read-only!错误,看了tlv320aic31的驱动,他读是调用ret = i2c_transfer(client.adapter, msg, 2);只是2字节,hisi3519v101到底支持多字节多写不? 请问下大家有没有做出来能连续读多字节的?难道只能用gpio模拟?
    2018-08-24
    4 0 3683
  • 我在内核加了一个外设驱动,然后调用i2c去配置(内核级),出现如下报错: in __I2CWriteByte8: 60 ff 0 hisi-i2c-v110 12112000.i2c: hi_i2c_wait_idle: wait last fifo is empyt abort! hisi-i2c-v110 12112000.i2c: RI: 0x750 hisi-i2c-v110 12112000.i2c: TX_ABRT:0x1 in __I2CReadByte8: 60 f4 hisi-i2c-v110 12112000.i2c: Unsupported this length: 1! hisi-i2c-v110 12112000.i2c: Unsupported read-only! 有没有朋友碰到这个现象解决了的?
    2018-07-23
    0 0 4555
  • 按Hi3519V101/Hi3516AV200 SDK 安装以及升级使用说明.txt文档编译烧写到nand flash,板子起来后,报如下错误: VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -6 有没有碰到这种情况的? 详细串口打印如下: U-Boot 2010.06 (Jul 10 2018 - 15:19:43) Check Flash Memory Controller v100 ... Found Special NAND id table Version 1.38 Nand ID: 0xEC 0xDA 0x10 0x95 0x44 0xEC 0xDA 0x10 Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit/512 ECC provided by Flash Memory Controller Nand total size: 256MB MMC:    EMMC/MMC/SD controller initialization. Card did not respond to voltage select! No EMMC/MMC/SD device found ! In:    serial Out:   serial Err:   serial Hit any key to stop autoboot:  0 NAND read: device 0 offset 0x100000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 82000000 ...    Image Name:   Linux-3.18.20    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    3098182 Bytes = 3 MiB    Load Address: 80008000    Entry Point:  80008000    Loading Kernel Image ... OK OK Starting kernel ... Booting Linux on physical CPU 0x0 Initializing cgroup subsys cpu Linux version 3.18.20 (root@ldz-ty) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20160223) ) #1 SMP Tue Jul 10 11:38:48 CST 2018 CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine model: Hisilicon HI3519V101 DEMO Board cmz zone is not set! cma: Reserved 16 MiB at 0x9f000000 Memory policy: Data cache writealloc PERCPU: Embedded 9 pages/cpu @debcc000 s7424 r8192 d21248 u36864 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 rw mtdparts=hinand:1M(boot),3M(kernel),32M(rootfs),28M(test) 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: 496936K/524288K available (4327K kernel code, 200K rwdata, 1132K rodata, 224K init, 349K bss, 27352K reserved, 0K highmem) Virtual kernel memory layout:     vector  : 0xffff0000 - 0xffff1000   (   4 kB)     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)     modules : 0xbf000000 - 0xbfe00000   (  14 MB)       .text : 0xc0008000 - 0xc055d190   (5461 kB)       .init : 0xc055e000 - 0xc0596000   ( 224 kB)       .data : 0xc0596000 - 0xc05c83c0   ( 201 kB)        .bss : 0xc05c83c0 - 0xc061fa7c   ( 350 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation.         RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS:16 nr_irqs:16 16 Architected cp15 timer(s) running at 24.00MHz (phys). sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns Switching to timer-based delay loop, resolution 41ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x80421be8 - 0x80421c40 ARM CCI driver probed CPU1: Booted secondary processor CPU1: thread -1, cpu 0, socket 1, mpidr 80000100 Brought up 2 CPUs SMP: Total of 2 processors activated (96.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 regulator-dummy: no parameters NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor ladder cpuidle: using governor menu Serial: AMBA PL011 UART driver 12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 36, base_baud = 0) is a PL011 rev2 console [ttyAMA0] enabled SCSI subsystem initialized ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022 ssp-pl022 12120000.spi: mapped registers from 0x12120000 to fea20000 ssp-pl022 12121000.spi: ARM PL022 driver, device ID: 0x00800022 ssp-pl022 12121000.spi: mapped registers from 0x12121000 to fea21000 ssp-pl022 12122000.spi: ARM PL022 driver, device ID: 0x00800022 ssp-pl022 12122000.spi: mapped registers from 0x12122000 to fea22000 ssp-pl022 12123000.spi: ARM PL022 driver, device ID: 0x00800022 ssp-pl022 12123000.spi: mapped registers from 0x12123000 to fea23000 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switched to clocksource arch_sys_counter NET: Registered protocol family 2 TCP established hash table entries: 4096 (order: 2, 16384 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. futex hash table entries: 512 (order: 3, 32768 bytes) jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. msgmni has been set to 970 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 pl061_gpio 12140000.gpio_chip: PL061 GPIO chip @0x12140000 registered pl061_gpio 12141000.gpio_chip: PL061 GPIO chip @0x12141000 registered pl061_gpio 12142000.gpio_chip: PL061 GPIO chip @0x12142000 registered pl061_gpio 12143000.gpio_chip: PL061 GPIO chip @0x12143000 registered pl061_gpio 12144000.gpio_chip: PL061 GPIO chip @0x12144000 registered pl061_gpio 12145000.gpio_chip: PL061 GPIO chip @0x12145000 registered pl061_gpio 12146000.gpio_chip: PL061 GPIO chip @0x12146000 registered pl061_gpio 12147000.gpio_chip: PL061 GPIO chip @0x12147000 registered pl061_gpio 12148000.gpio_chip: PL061 GPIO chip @0x12148000 registered pl061_gpio 12149000.gpio_chip: PL061 GPIO chip @0x12149000 registered pl061_gpio 1214a000.gpio_chip: PL061 GPIO chip @0x1214a000 registered pl061_gpio 1214b000.gpio_chip: PL061 GPIO chip @0x1214b000 registered pl061_gpio 1214c000.gpio_chip: PL061 GPIO chip @0x1214c000 registered pl061_gpio 1214d000.gpio_chip: PL061 GPIO chip @0x1214d000 registered pl061_gpio 1214e000.gpio_chip: PL061 GPIO chip @0x1214e000 registered pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x12150000 registered brd: module loaded hisi-sfc hisi_spi_nor.0: unrecognized JEDEC id bytes: 00, 00, 00 hisi-sfc hisi_spi_nor.0: spi nor register fail! hisi-sfc: probe of hisi_spi_nor.0 failed with error -2 SPI Nand ID Table Version 2.4 Cannot found a valid SPI Nand Device libphy: hisi_gemac_mii_bus: probed hi_gmac_v200 10050000.ethernet (unnamed net_device) (uninitialized): using random MAC address aa:8b:ce:c9:2e:f0 attached PHY 1 to driver Generic PHY, PHY_ID=0x1cc916 higmac: ETH MAC supporte CCI. Higmac dma_sg_phy: 0x9e700000 ETH: rgmii, phy_addr=1 xhci-hcd 10180000.xhci: xHCI Host Controller xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 1 xhci-hcd 10180000.xhci: irq 54, io mem 0x10180000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected xhci-hcd 10180000.xhci: xHCI Host Controller xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-platform: EHCI generic platform driver ehci-platform 10120000.ehci: EHCI Host Controller ehci-platform 10120000.ehci: new USB bus registered, assigned bus number 3 ehci-platform 10120000.ehci: irq 51, io mem 0x10120000 ehci-platform 10120000.ehci: USB 2.0 started, EHCI 1.00 hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-platform: OHCI generic platform driver ohci-platform 10110000.ohci: Generic Platform OHCI controller ohci-platform 10110000.ohci: new USB bus registered, assigned bus number 4 ohci-platform 10110000.ohci: irq 52, io mem 0x10110000 hub 4-0:1.0: USB hub found hub 4-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice i2c /dev entries driver hisi-i2c-v110 12110000.i2c: HISILICON I2C V110 bus driver hisi-i2c-v110 12110000.i2c: mapped registers from 0x12110000 to 0xfea10000 hisi-i2c-v110 12111000.i2c: HISILICON I2C V110 bus driver hisi-i2c-v110 12111000.i2c: mapped registers from 0x12111000 to 0xfea11000 hisi-i2c-v110 12112000.i2c: HISILICON I2C V110 bus driver hisi-i2c-v110 12112000.i2c: mapped registers from 0x12112000 to 0xfea12000 hisi-i2c-v110 12113000.i2c: HISILICON I2C V110 bus driver hisi-i2c-v110 12113000.i2c: mapped registers from 0x12113000 to 0xfea13000 CPUidle for CPU1 registered himci: mmc host probe himci: mmc host probe usb 3-1: new high-speed USB device number 2 using ehci-platform hub 3-1:1.0: USB hub found hub 3-1:1.0: 4 ports detected himci: mmc host probe usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP: cubic registered NET: Registered protocol family 10 NET: Registered protocol family 17 Registering SWP/SWPB emulation handler 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: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.20 #1 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x88/0x98) [] (dump_stack) from [] (panic+0x9c/0x1fc) [] (panic) from [] (mount_block_root+0x218/0x298) [] (mount_block_root) from [] (prepare_namespace+0x190/0x1d4) [] (prepare_namespace) from [] (kernel_init_freeable+0x1c8/0x1d8) [] (kernel_init_freeable) from [] (kernel_init+0x8/0xe8) [] (kernel_init) from [] (ret_from_fork+0x14/0x34) CPU0: stopping CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.20 #1 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x88/0x98) [] (dump_stack) from [] (handle_IPI+0x1cc/0x1ec) [] (handle_IPI) from [] (gic_handle_irq+0x74/0x78) [] (gic_handle_irq) from [] (__irq_svc+0x40/0x54) Exception stack(0xc0597f48 to 0xc0597f90) 7f40:                   fffffff0 00000000 fffffff0 c00199a0 c0596018 c059e460 7f60: c059e4c4 00000000 00000000 00000000 c0596000 c04239b0 c059f21c c0597f90 7f80: c000f0e4 c000f0e8 60000113 ffffffff [] (__irq_svc) from [] (arch_cpu_idle+0x38/0x3c) [] (arch_cpu_idle) from [] (cpu_startup_entry+0x228/0x29c) [] (cpu_startup_entry) from [] (start_kernel+0x398/0x3a4) [] (start_kernel) from [<80008074>] (0x80008074) ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    2018-07-10
    2 0 2203
  • 自己做的板子,ddr跟sdk一样,用的nandflash,自己编译的uboot烧写报如下错误: 串口已经连接,请给单板上电,若已经上电,请断电后重新上电。 ############################## ---- 10% ############################ ---- 20% ############################ ---- 30% ############################ ---- 40% ############################ ---- 50% ############################ ---- 60% ############################ ---- 70% ############################ ---- 80% ############################ ---- 90% ########################## ---- 100% Boot download completed!           System startup U-Boot 2010.06 (Jul 06 2018 - 11:06:45) Check Flash Memory Controller v100 ... Found Special NAND id table Version 1.38 hifmc100_send_cmd_reset(348): Error: Wait cmd cpu finish timeout! hifmc100_send_cmd_readid(322): Error: Wait cmd cpu finish timeout! hifmc100_send_cmd_readid(322): Error: Wait cmd cpu finish timeout! Nand ID: 0x00 0xC0 0x08 0xB5 0x00 0xC0 0x08 0xB5 等待boot启动超时,单板上无fastboot或当前fastboot无法启动。 有没有碰到这情况的? nandflash是否需要配置Hi3519V101-DMEB-uboot-DDR3_1866M_32bit_1GB-A7_792M-A17_930M-BUS_200M.xlsm里面的东西? 目前我没有改这里面的配置项,直接按如下编译的uboot: make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- hi3519v101_nand_config make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- ./mkboot.sh reg_info_hi3519v101.bin u-boot-hi3519.bin
    2018-07-06
    20 0 11905
  • 初来乍到,多多关照。
    2018-07-06
    1 0 1567
  • 本帖最后由 qn1530868394 于 2018-8-14 09:16 编辑 在hisi3519v101上跑squash报错如下: Registering SWP/SWPB emulation handler List of all partitions: 1f00            1024 mtdblock0  (driver?) 1f01            3072 mtdblock1  (driver?) 1f02          258048 mtdblock2  (driver?) No filesystem could mount root, tried:  squashfs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2) CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.20 #39 1、flash类型为nand; 2、内核squashfs支持已配置:         squashFS 4.0 - squashed file system support 3、生成squash的命令: ./mksquashfs rootfs/ hi3519_rootfs.squashfs -b 128K -comp xz 4、启动参数: setenv bootargs 'mem=1024M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs r mtdparts=hinand:1M(boot),3M(kernel),640M(rootfs)';saveenv 有没有做过的帮忙看下哪里出问题了,谢谢~~
    2018-08-14
    8 0 2347
  • flash为spi nand ,系统起来后,如何通过linux命令擦除块,然后把升级文件烧写上去,我按如下方式操作没有成功: flash_erase /dev/mtd4 0 448 nandwrite -p -s 0 /dev/mtd4 /mnt/upgrade/hisi/hi3516dv300/target/pub/user_V15.0.1_YJ310_VVXnn5.yaffs2 mount -t yaffs2 /dev/mtdblock4 /mnt/user 想法是把mtd4擦除,然后把yaffs2写进去,再mount,结果里面就一个lost+found 啥也没有,有没有朋友弄过的,给指点下。
    2019-11-13
    0 0 1528
易百纳技术社区
共11条
易百纳技术社区