导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. jxzhb
    3. 帖子
    J
    • 资料
    • 关注 1
    • 粉丝 0
    • 我的积分 1085
    • 主题 7
    • 帖子 20
    • 最佳 0
    • 群组 0

    jxzhb 发布的帖子

    • 回复: D1-H千兆网络丢包问题

      @axw_fae
      262c26d1-b244-490a-9d57-5c4e269a5285-image.png
      按这修改已经解决了

      发布在 MR Series
      J
      jxzhb
    • 回复: D1-H千兆网络丢包问题

      @axw_fae 板子是自己画的,只有一个测试固件没有丢包。我们自己的固件DTS是和测试固件一致的

      发布在 MR Series
      J
      jxzhb
    • 回复: D1-H千兆网络丢包问题

      @aozima 有线网络。官方测试固件没有丢包

      发布在 MR Series
      J
      jxzhb
    • D1-H千兆网络丢包问题

      发现一个问题,我们自己开发的固件,在千兆网络上丢包率比较高,
      f3206f58-d86d-4053-8d2c-3d390fd21e79-24ec1d2231f0dca476594b0e7207721.png
      用官方的测试固件(D1-H哪吒HDMI测试固件),丢包率很低或是没有丢包
      001dd78e-7df8-4927-840f-ca4108996cdb-24ec1d2231f0dca476594b0e7207721.png

      发布在 MR Series
      J
      jxzhb
    • 上FS35QA002后Uboot没有识别

      https://bbs.aw-ol.com/topic/257/d1-h-d1s-spi-nand-ddr支持列表/7
      根据论坛提供的FLASH列表,换上FS35QA002后Uboot没有识别

      U-Boot 2018.07-ge987def5 (Nov 07 2022 - 03:11:27 +0000) Allwinner Technology
      
      [03.467]DRAM:  512 MiB
      [03.471]Relocation Offset is: 1deea000
      [03.492]secure enable bit: 0
      can't support chip type 20480
      [03.499]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      sunxi flash map init
      SPI ALL:   ready
      [03.529]flash init start
      [03.531]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.539][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [03.547][mmc]: get sdc_type fail and use default host:tm4.
      [03.572][mmc]: Is not Boot mode!
      [03.575][mmc]: SUNXI SDMMC Controller Version:0x50310
      [03.586][mmc]: ************Try SD card 2************
      [03.591][mmc]: mmc 2 cmd timeout 100 status 100
      [03.595][mmc]: smc 2 err, cmd 8,  RTO
      [03.599][mmc]: mmc 2 close bus gating and reset
      [03.604][mmc]: mmc 2 cmd timeout 100 status 100
      [03.608][mmc]: smc 2 err, cmd 55,  RTO
      [03.611][mmc]: mmc 2 close bus gating and reset
      [03.616][mmc]: ************Try MMC card 2************
      [03.624][mmc]: mmc 2 cmd timeout 100 status 100
      [03.629][mmc]: smc 2 err, cmd 1,  RTO
      [03.632][mmc]: mmc 2 close bus gating and reset
      [03.636][mmc]: Card did not respond to voltage select!
      [03.641][mmc]: ************SD/MMC 2 init error!************
      [03.646][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [03.660]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
      [03.666]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
      [03.714]sunxi-spinand-phy: request spi0 gpio ok
      [03.718]sunxi-spinand-phy: request general tx dma channel ok!
      [03.724]sunxi-spinand-phy: request general rx dma channel ok!
      [03.729]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [03.733]sunxi-spinand-phy: init spic0 clk ok
      [03.737]sunxi-spinand-phy: detect munufacture from id table: Foresee
      [03.751]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [03.756]sunxi-spinand-phy: get phy info from fdt fail
      [03.761]sunxi-spinand-phy: not detect munufacture from fdt
      [03.766]sunxi-spinand-phy: not detect any munufacture from id table
      [03.780]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [03.785]sunxi-spinand-phy: get phy info from fdt fail
      [03.789]sunxi-spinand-phy: not detect munufacture from fdt
      [03.795]sunxi-spinand-phy: not match spinand: 7272cd00 cd7272cd
      try nand fail
      [03.851]unrecognized JEDEC id bytes: ff, cd, 72
      try spinor fail
      initcall sequence 000000005ff91068 failed at call 000000004200df02 (err=-1)
      ### ERROR ### Please RESET the board ###
      

      求帮助

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的千兆网卡速率

      @whycanservice 好的,谢谢

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的千兆网卡速率

      @jxzhb Load average: 1.51 1.23 0.88 2/61 584
      PID PPID USER STAT VSZ %VSZ %CPU COMMAND
      581 133 root S 148m 30% 97% iperf -c 192.168.0.101 -i i -t 20
      9 2 root RW 0 0% 2% [ksoftirqd/0]
      493 1 root S 1496 0% 1% /sbin/swupdate-progress -w
      568 133 root S 219m 45% 0% iperf -s
      10 2 root IW 0 0% 0% [rcu_preempt]
      67 2 root SW 0 0% 0% [cec thread]
      226 1 root S 217m 45% 0% /bin/adbd -D
      501 1 root S 85196 17% 0% tt
      430 1 root S 9820 2% 0% /usr/sbin/MtpDaemon -D
      489 1 root S< 2708 1% 0% /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd
      133 1 root S 2684 1% 0% /bin/ash --login
      584 133 root R 2684 1% 0% top
      238 1 root S 2096 0% 0% /usr/sbin/dbus-daemon --system
      1 0 root S 2088 0% 0% /sbin/procd
      416 1 root S 1760 0% 0% /sbin/netifd
      123 1 root S 1660 0% 0% /sbin/ubusd
      134 1 root S 1624 0% 0% /sbin/askfirst /bin/ash --login
      49 2 root SW 0 0% 0% [spi0]
      75 2 root IW 0 0% 0% [kworker/0:3-rcu]
      q 66 2 root SW 0 0% 0% [hdmi proc]
      ^C

      发布在 MR Series
      J
      jxzhb
    • 关于D1的千兆网卡速率

      想问一下,D1的千兆网卡最大通信速率可以达到多少?我的测试只到300M左右

      root@TinaLinux:/# iperf -c 192.168.1.20
      ------------------------------------------------------------
      Client connecting to 192.168.1.20, TCP port 5001
      TCP window size: 85.0 KByte (default)
      ------------------------------------------------------------
      [  3] local 192.168.1.100 port 43416 connected with 192.168.1.20 port 5001
      [ ID] Interval       Transfer     Bandwidth
      [  3]  0.0-10.0 sec   312 MBytes   261 Mbits/sec
      root@TinaLinux:/# iperf -s
      ------------------------------------------------------------
      Server listening on TCP port 5001
      TCP window size:  128 KByte (default)
      ------------------------------------------------------------
      [  4] local 192.168.1.100 port 5001 connected with 192.168.1.20 port 58971
      [ ID] Interval       Transfer     Bandwidth
      [  4]  0.0-10.0 sec   632 MBytes   529 Mbits/sec
      
      发布在 MR Series
      J
      jxzhb
    • 回复: D1-H的FLASH的支持问题?

      @whycan 已经查过了支持列表,Winbond的2G FALASH不支持。

      发布在 MR Series
      J
      jxzhb
    • D1-H的FLASH的支持问题?

      我在测试winbond的flash时出现了,我上的是W25N02KVZEIR这2G的,结构系统识别出来的是W25N01GVZEIG

      1.203081] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
      [    1.210316] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.218176] sunxi-spinand-phy: not detect any munufacture from id table
      [    1.225661] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [    1.232294] sunxi-spinand-phy: get phy info from fdt fail
      [    1.238331] sunxi-spinand-phy: not detect munufacture from fdt
      [    1.245027] sunxi-spinand-phy: detect munufacture from id table: Winbond
      [    1.252534] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [    1.259540] sunxi-spinand-phy: ========== arch info ==========
      [    1.266065] sunxi-spinand-phy: Model:               W25N01GVZEIG
      [    1.272821] sunxi-spinand-phy: Munufacture:         Winbond
      [    1.279031] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.284680] sunxi-spinand-phy: BlkCntPerDie:        1024
      [    1.290656] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.296381] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.302031] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.307770] sunxi-spinand-phy: BadBlockFlag:        0x0
      [    1.313615] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.319436] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.325508] sunxi-spinand-phy: EccFlag:             0x0
      [    1.331352] sunxi-spinand-phy: EccType:             2
      [    1.336978] sunxi-spinand-phy: EccProtectedType:    3
      [    1.342659] sunxi-spinand-phy: ========================================
      [    1.350056] sunxi-spinand-phy:
      [    1.353552] sunxi-spinand-phy: ========== physical info ==========
      [    1.360495] sunxi-spinand-phy: TotalSize:    128 M
      [    1.365833] sunxi-spinand-phy: SectorSize:   512 B
      [    1.371226] sunxi-spinand-phy: PageSize:     2 K
      [    1.376370] sunxi-spinand-phy: BlockSize:    128 K
      [    1.381730] sunxi-spinand-phy: OOBSize:      64 B
      [    1.386971] sunxi-spinand-phy: ========================================
      [    1.394395] sunxi-spinand-phy:
      [    1.397893] sunxi-spinand-phy: ========== logical info ==========
      [    1.404741] sunxi-spinand-phy: TotalSize:    128 M
      [    1.410103] sunxi-spinand-phy: SectorSize:   512 B
      [    1.415439] sunxi-spinand-phy: PageSize:     4 K
      [    1.420603] sunxi-spinand-phy: BlockSize:    256 K
      [    1.425955] sunxi-spinand-phy: OOBSize:      128 B
      [    1.431316] sunxi-spinand-phy: ========================================
      

      这个会是什么问题?

      发布在 MR Series
      J
      jxzhb
    • 回复: Starting kernel ...之后没有log输出

      @whycan 是同一个串口

      发布在 MR Series
      J
      jxzhb
    • Starting kernel ...之后没有log输出

      自己用D1做了一个核心板,其中用一个板子,之前刷程序,启动都没问题,用着用着,启动不了,可以正常刷程序,启动信息如下:

      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x0fb00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.729]ubi0: attaching mtd4
      [01.125]ubi0: scanning is finished
      [01.135]ubi0: attached mtd4 (name "sys", size 251 MiB)
      [01.140]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [01.146]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [01.152]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [01.158]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
      [01.164]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [01.170]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [01.178]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
      [01.187]sunxi flash init ok
      [01.189]line:714 init_clocks
      __clk_init: clk pll_periph0x2 already initialized
      register fix_factor clk error
      [01.200]drv_disp_init
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [01.437]do_fat_fsload for lcd config failed
      request pwm success, pwm2:pwm2:0x2000c00.
      [01.451]drv_disp_init finish
      [01.454]boot_gui_init:start
      [01.457]set disp.dev2_output_type fail. using defval=0
      [01.648]boot_gui_init:finish
      [02.061]LCD open finish
      partno erro : can't find partition bootloader
      54 bytes read in 0 ms
      [02.221]bmp_name=bootlogo.bmp size 38454
      38454 bytes read in 5 ms (7.3 MiB/s)
      [02.437]Loading Environment from SUNXI_FLASH... OK
      [02.472]Item0 (Map) magic is bad
      [02.475]usb burn from boot
      delay time 0
      weak:otg_phy_config
      [02.486]usb prepare ok
      [02.655]usb sof ok
      [02.656]usb probe ok
      [02.658]usb setup ok
      set address 0x2c
      set address 0x2c ok
      [05.663]do_burn_from_boot usb : have no handshake
      [05.688]update bootcmd
      [05.710]change working_fdt 0x5f4afda8 to 0x5f48fda8
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [05.759]do_fat_fsload for lcd config failed
      partno erro : can't find partition bootloader
      [05.787]please enable FAT_WRITE for lcd compatible first
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [05.821]do_fat_fsload for lcd config failed
      [05.826]libfdt fdt_path_offset() for lcd
      [05.829]update dts
      Hit any key to stop autoboot:  0
      dsp0:gpio init config fail
      DSP0 start ok, img length 252960, booting from 0x400660
      Android's image name: d1-nezha
      No reserved memory region found in source FDT
      [06.783]
      Starting kernel ...
      

      一直卡在Starting kernel ...,求大神帮忙分析一下,是什么问题?

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的SPI通讯问题

      @whycanservice kernel选项
      CONFIG_SPI_SPIDEV=y

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的SPI通讯问题

      @whycanservice 我们现在用就是:杨杰:
      lichee/linux-5.4/tools/spi$
      spidev_test.c
      驱动

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的SPI通讯问题

      @yuzukitsuru cdd4432c-cfee-4b5d-bfc2-643e13a0d1f3-5c8a5dcfd74486eaf18c71d38890d5e.png
      这个是我们现在的配置,我们做的是回环测试,用逻辑分析仪抓取数据,时有时无

      发布在 MR Series
      J
      jxzhb
    • 回复: 调试spi1设备

      我也遇到类似的问题,官方FAE也没有给出解决方案

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的SPI通讯问题

      @whycan
      161515ee-caa4-443c-b47f-1af17c829fd8-081233f73223eb243d302328402d957.png

      发布在 MR Series
      J
      jxzhb
    • 回复: 关于D1的SPI通讯问题

      @whycan 现在是1,变成0之后CLK,MOSI都没有数据了

      发布在 MR Series
      J
      jxzhb
    • 关于D1的SPI通讯问题

      D1的SPI,空闲的时候是低电平,而且每个字节CLK 有9个脉冲,如图所示:69ab0e53-0a81-4e5a-a933-baa35996319c-b13f59eea207603814d7c6f7735be58.png

      以下是我们的配置
      dae63afb-5f04-4996-b19f-fd202fc04632-c0bfef175b8bd85d82ae30f8648acf0.png

      想知道如果将空闲时变成高电平,以及每个字节的CLK为8个

      发布在 MR Series
      J
      jxzhb
    • D1-H是否支持PCIE

      想请教一个问题,D1-H是否可以接PCIE接口

      发布在 MR Series
      J
      jxzhb
    • 1 / 1