Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. zcxhappy
    Z
    • Profile
    • Following 1
    • Followers 0
    • my integral 906
    • Topics 4
    • Posts 15
    • Best 1
    • Groups 0

    zcxhappyLV 4

    @zcxhappy

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

    zcxhappy Unfollow Follow

    Best posts made by zcxhappy

    • Reply: D1s XR829 wifi起不来,哪位帮忙看一下

      @zcxhappy
      最终我通过以下步骤wifi终于跑起来了。。。
      1)insmod xr829.ko

      root@TinaLinux:/# insmod xr829.ko
      ======== XRADIO WIFI OPEN ========
      [XRADIO_ERR] debugfs isnot initialized
      [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31   
      [XRADIO] Allocated hw_priv @ (____ptrval____)
      sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
      sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [XRADIO] Detect SDIO card 1
      sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      mmc1: new high speed SDIO card at address 0001
      [SBUS] XRadio Device:sdio clk=50000000
      [XRADIO] XRADIO_HW_REV 1.0 detected.
      [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [XRADIO] Bootloader complete
      [XRADIO] Firmware completed.
      [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [XRADIO] Firmware Startup Done.
      [XRADIO_WRN] enable Multi-Rx!
      ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
      

      2)ifconfig wlan0 up
      3)/etc/init.d/wpa_supplicant start
      4)wifi_connect_ap_test xxx xxx

      5) ping baidu.com

      root@TinaLinux:~# ping baidu.com
      PING baidu.com (39.156.66.10): 56 data bytes
      64 bytes from 39.156.66.10: seq=0 ttl=52 time=46.361 ms
      64 bytes from 39.156.66.10: seq=1 ttl=52 time=96.778 ms
      64 bytes from 39.156.66.10: seq=2 ttl=52 time=52.996 ms
      64 bytes from 39.156.66.10: seq=3 ttl=52 time=53.184 ms
      64 bytes from 39.156.66.10: seq=4 ttl=52 time=55.643 ms
      

      中途以为硬件问题,重新打板了,做了些修改SDC2换成SDC1😖

      posted in D1系列-RISC-V
      Z
      zcxhappy

    Latest posts made by zcxhappy

    • Reply: d1s 修改了rootfs大小 sd卡烧写的时候提示失败求帮助

      @whycan 4.2.7

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: d1s 修改了rootfs大小 sd卡烧写的时候提示失败求帮助

      @whycan 已经解决了,谢谢!
      重启电脑,就可以正常烧写了。。

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: d1s 修改了rootfs大小 sd卡烧写的时候提示失败求帮助

      @whycan 要在哪里下载?

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • d1s 修改了rootfs大小 sd卡烧写的时候提示失败求帮助

      以下是错误消息截图
      5d2c9e62-ecf9-4969-878e-fed2f66b3651-image.png

      我的分区配置
      a2ca2770-9e52-4d72-b0c6-4d368e2fc19d-image.png

      请问要怎么配置才可以正确烧写🤒

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: D1s XR829 wifi起不来,哪位帮忙看一下

      @zcxhappy
      最终我通过以下步骤wifi终于跑起来了。。。
      1)insmod xr829.ko

      root@TinaLinux:/# insmod xr829.ko
      ======== XRADIO WIFI OPEN ========
      [XRADIO_ERR] debugfs isnot initialized
      [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31   
      [XRADIO] Allocated hw_priv @ (____ptrval____)
      sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
      sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [XRADIO] Detect SDIO card 1
      sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
      sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
      mmc1: new high speed SDIO card at address 0001
      [SBUS] XRadio Device:sdio clk=50000000
      [XRADIO] XRADIO_HW_REV 1.0 detected.
      [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [XRADIO] Bootloader complete
      [XRADIO] Firmware completed.
      [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [XRADIO] Firmware Startup Done.
      [XRADIO_WRN] enable Multi-Rx!
      ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
      

      2)ifconfig wlan0 up
      3)/etc/init.d/wpa_supplicant start
      4)wifi_connect_ap_test xxx xxx

      5) ping baidu.com

      root@TinaLinux:~# ping baidu.com
      PING baidu.com (39.156.66.10): 56 data bytes
      64 bytes from 39.156.66.10: seq=0 ttl=52 time=46.361 ms
      64 bytes from 39.156.66.10: seq=1 ttl=52 time=96.778 ms
      64 bytes from 39.156.66.10: seq=2 ttl=52 time=52.996 ms
      64 bytes from 39.156.66.10: seq=3 ttl=52 time=53.184 ms
      64 bytes from 39.156.66.10: seq=4 ttl=52 time=55.643 ms
      

      中途以为硬件问题,重新打板了,做了些修改SDC2换成SDC1😖

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: 禁用spi0就进不了系统了 这个要怎么设置? 求帮忙

      @lyscut 要在哪里设置呢?

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: 禁用spi0就进不了系统了 这个要怎么设置? 求帮忙

      @whycanservice
      spi0的status = "okay";就可以进入系统其他没改动,请问要修改哪个驱动?

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: D1s XR829 wifi起不来,哪位帮忙看一下

      @whycanservice 原理图.png
      这是我的原理图

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: 禁用spi0就进不了系统了 这个要怎么设置? 求帮忙

      @whycanservice 我修改了device/config/chips/d1s/configs/default/env.cfg中的mmc_root=/dev/mmcblk1p5 重新编译发现Kernel command line没有变化依旧是

      VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
      

      然后我在make kernel_menuconfig

      Boot options  --->
          Built-in command line usage (Always use the default kernel command string)
      

      填上env.cfg 的参数

      earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk1p5 init=/pseudo_init partitions=boot-resource@mmcblk1p1:env@mmcblk1p2:env-redund@mmcblk1p3:boot@mmcblk1p4:rootfs@mmcblk1p5:dsp0@mmcblk1p6:recovery@mmcblk1p7:rootfs_data@mmcblk1p8:UDISK@mmcblk1p9 cma= snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1
      

      重新编译
      还是进不了系统
      以下是打印日志:

      sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      sunxi-mmc 4020000.sdmmc: Got CD GPIO
      sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      ashmem: initialized
      exFAT: Version 1.3.0
      NET: Registered protocol family 10
      Segment Routing with IPv6
      NET: Registered protocol family 17
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      Bluetooth: RFCOMM TTY layer initialized
      Bluetooth: RFCOMM socket layer initialized
      Bluetooth: RFCOMM ver 1.11
      sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      sunxi-i2c sunxi-i2c2: probe success
      sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      get ehci0-controller wakeup-source is fail.
      sunxi ehci0-controller don't init wakeup source
      [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006f1fa8, 0x:ffffffd0040f1000, irq_no:2e
      [sunxi-ehci0]: Not init ehci0
      get ohci0-controller wakeup-source is fail.
      sunxi ohci0-controller don't init wakeup source
      [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006f2370
      [sunxi-ohci0]: Not init ohci0
      OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
      clk: Not disabling unused clocks
      platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      cfg80211: failed to load regulatory.db
      alloc_fd: slot 0 not NULL!
      VFS: Cannot open root device "mmcblk1p5" or unknown-block(0,0): error -6
      random: fast init done
      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: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #202
      Call Trace:
      [<ffffffe000026130>] walk_stackframe+0x0/0x98
      [<ffffffe0000262e8>] show_stack+0x2a/0x34
      [<ffffffe0004a081c>] dump_stack+0x20/0x28
      [<ffffffe00002a6f0>] panic+0xec/0x272
      [<ffffffe000000ef6>] mount_block_root+0x214/0x27a
      [<ffffffe000000fe2>] mount_root+0x86/0x90
      [<ffffffe000001134>] prepare_namespace+0x148/0x152
      [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198
      [<ffffffe0004b13ec>] kernel_init+0x12/0xee
      [<ffffffe000024e9c>] ret_from_exception+0x0/0xc
      ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      

      是不是哪里配置错了 或许还需要修改其他的配置?

      posted in D1系列-RISC-V
      Z
      zcxhappy
    • Reply: 禁用spi0就进不了系统了 这个要怎么设置? 求帮忙

      @chengwei_peng 用的是sdc0的sd卡启动,没有用到spi;因为wifi用的是sdc2跟spi0有冲突所以想把spi0给禁用,结果进不了系统。

      posted in D1系列-RISC-V
      Z
      zcxhappy