Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. jxzhb
    J
    • Profile
    • Following 1
    • Followers 0
    • my integral 695
    • Topics 5
    • Posts 15
    • Best 0
    • Groups 0

    jxzhbLV 4

    @jxzhb

    695
    integral
    0
    Reputation
    1
    Profile views
    15
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    jxzhb Unfollow Follow

    Latest posts made by jxzhb

    • Reply: 关于D1的千兆网卡速率

      @whycanservice 好的,谢谢

      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: 关于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

      posted in D1系列-RISC-V
      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
      
      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: D1-H的FLASH的支持问题?

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

      posted in D1系列-RISC-V
      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: ========================================
      

      这个会是什么问题?

      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: Starting kernel ...之后没有log输出

      @whycan 是同一个串口

      posted in D1系列-RISC-V
      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 ...,求大神帮忙分析一下,是什么问题?

      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: 关于D1的SPI通讯问题

      @whycanservice kernel选项
      CONFIG_SPI_SPIDEV=y

      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: 关于D1的SPI通讯问题

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

      posted in D1系列-RISC-V
      J
      jxzhb
    • Reply: 关于D1的SPI通讯问题

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

      posted in D1系列-RISC-V
      J
      jxzhb