Navigation

    全志在线开发者论坛

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

    CWEIBLV 4

    @CWEIB

    857
    integral
    5
    Reputation
    2
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    CWEIB Unfollow Follow

    Best posts made by CWEIB

    • Reply: H616 使用DragonHD DDR3识别失败

      解决了大伙,就是没焊好!!!

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • 关于H616 kernel网卡驱动编译问题

      想请教一下在kernel编译中,是不是只需要在menuconfig中打开下面的配置,编译就能使用吗?

      PHY Device support and infrastructure  --->
            <*>   Realtek PHYs
      

      在设备树中添加了相关信息:

      &emac0 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&ext_rgmii_pins>;
      	phy-mode = "rgmii";
      	phy-handle = <&ext_rgmii_phy>;
      	allwinner,rx-delay-ps = <1800>;
      	allwinner,tx-delay-ps = <700>;
      	status = "okay";
      };
      
      &mdio0 {
      	ext_rgmii_phy: ethernet-phy@1 {
      		compatible = "ethernet-phy-ieee802.3-c22";
      		reg = <1>;
      	};
      };
      

      我在添加了上面的两部分后使用ifconfig -a只有lo,其他都没有显示,使用 ifconfig eth0 up 后显示的是

      ifconfig: SIOCGIFFLAGS: No such device
      
      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 大佬,uboot编译完 通过USB启动uboot后会乱码这是为啥呀22.png

      
      U-Boot SPL 2023.07-rc3-dirty (May 31 2023 - 22:33:38 +0800)
      DRAM: 1024 MiB
      Trying to boot from FEL
      NOTICE:  BL31: v2.9(debug):v2.9.0-51-gc0d8ee386
      NOTICE:  BL31: Built : 12:13:51, May 30 2023
      NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
      NOTICE:  BL31: Found U-Boot DTB at 0x4a097120, model: OrangePi Zero2
      INFO:    ARM GICv2 driver initialized
      INFO:    Configuring SPC Controller
      INFO:    PMIC: Probing AXP305 on RSB
      ERROR:   RSB: set run-time address: 0x10003
      INFO:    Could not init RSB: -65539
      INFO:    BL31: Platform setup done
      INFO:    BL31: Initializing runtime services
      INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
      INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
      INFO:    PSCI: Suspend is unavailable
      INFO:    BL31: Preparing for EL3 exit to normal world
      INFO:    Entry point address = 0x4a000000
      INFO:    SPSR = 0x3c9
      INFO:    Changed devicetree.
      
      
      U-Boot 2023.07-rc3-dirty (May 31 2023 - 22:33:38 +0800) Allwinner Technology
      
      CPU:   Allwinner H616 (SUN50I)
      Model: OrangePi Zero2
      DRAM:  1 GiB
      Core:  48 devices, 18 uclasses, devicetree: separate
      WDT:   Not starting watchdog@30090a0
      MMC:   mmc@4020000: 0
      Loading Environment from FAT... Card did not respond to voltage select! : -110
      ** Bad device specification mmc 0 **
      In:    serial@5000000
      Out:   serial@5000000
      Err:   serial@5000000
      Net:   Could not get PHY for ethernet@5020000: addr 1
      No ethernet found.
      
      Hit any key to stop autoboot:  0
      => d device specification mmc 0 **
      Unknown command 'd' - try 'help'
      =>
      Unknown command 'd' - try 'help'                                                                                          0> ɥ▒▒▒▒▒
      > Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1
      >
      > No ethernet found.
      >
      >
      >
      > ▒▒Z▒偢▒▒▒ѽ▒
      > ▒ѽ▒▒▒▒C▒=> d device specification mmc 0 **▒▒▒
      >
      > Unknown command 'd' - try 'help'
      >
      > =>
      >
      > Unknown command 'd' - try 'help'
      >
      >>> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢                               >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >>>
      
      
      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 确实是串口问题😧

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 我试试,但是用其他的镜像运行都挺正常的,然后好像Loading Environment from FAT... Card did not respond to voltage select! : -110这行和你的输出日志有点对不上

      posted in H616系列-OTT
      CWEIB
      CWEIB

    Latest posts made by CWEIB

    • Reply: 关于H616 kernel网卡驱动编译问题

      在mdio_bus下能看到已经网卡的相关信息,但是在ifconfig -a中还是没有显示eth0
      222.png

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: 关于H616 kernel网卡驱动编译问题

      在Uboot中是正常的,能识别也能ping通

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • 关于H616 kernel网卡驱动编译问题

      想请教一下在kernel编译中,是不是只需要在menuconfig中打开下面的配置,编译就能使用吗?

      PHY Device support and infrastructure  --->
            <*>   Realtek PHYs
      

      在设备树中添加了相关信息:

      &emac0 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&ext_rgmii_pins>;
      	phy-mode = "rgmii";
      	phy-handle = <&ext_rgmii_phy>;
      	allwinner,rx-delay-ps = <1800>;
      	allwinner,tx-delay-ps = <700>;
      	status = "okay";
      };
      
      &mdio0 {
      	ext_rgmii_phy: ethernet-phy@1 {
      		compatible = "ethernet-phy-ieee802.3-c22";
      		reg = <1>;
      	};
      };
      

      我在添加了上面的两部分后使用ifconfig -a只有lo,其他都没有显示,使用 ifconfig eth0 up 后显示的是

      ifconfig: SIOCGIFFLAGS: No such device
      
      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 确实是串口问题😧

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 我试试,但是用其他的镜像运行都挺正常的,然后好像Loading Environment from FAT... Card did not respond to voltage select! : -110这行和你的输出日志有点对不上

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: MQ-Quad H616 主线内核编译调试记录(u-boot、kernel、buildroot)

      @evler 大佬,uboot编译完 通过USB启动uboot后会乱码这是为啥呀22.png

      
      U-Boot SPL 2023.07-rc3-dirty (May 31 2023 - 22:33:38 +0800)
      DRAM: 1024 MiB
      Trying to boot from FEL
      NOTICE:  BL31: v2.9(debug):v2.9.0-51-gc0d8ee386
      NOTICE:  BL31: Built : 12:13:51, May 30 2023
      NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
      NOTICE:  BL31: Found U-Boot DTB at 0x4a097120, model: OrangePi Zero2
      INFO:    ARM GICv2 driver initialized
      INFO:    Configuring SPC Controller
      INFO:    PMIC: Probing AXP305 on RSB
      ERROR:   RSB: set run-time address: 0x10003
      INFO:    Could not init RSB: -65539
      INFO:    BL31: Platform setup done
      INFO:    BL31: Initializing runtime services
      INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
      INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
      INFO:    PSCI: Suspend is unavailable
      INFO:    BL31: Preparing for EL3 exit to normal world
      INFO:    Entry point address = 0x4a000000
      INFO:    SPSR = 0x3c9
      INFO:    Changed devicetree.
      
      
      U-Boot 2023.07-rc3-dirty (May 31 2023 - 22:33:38 +0800) Allwinner Technology
      
      CPU:   Allwinner H616 (SUN50I)
      Model: OrangePi Zero2
      DRAM:  1 GiB
      Core:  48 devices, 18 uclasses, devicetree: separate
      WDT:   Not starting watchdog@30090a0
      MMC:   mmc@4020000: 0
      Loading Environment from FAT... Card did not respond to voltage select! : -110
      ** Bad device specification mmc 0 **
      In:    serial@5000000
      Out:   serial@5000000
      Err:   serial@5000000
      Net:   Could not get PHY for ethernet@5020000: addr 1
      No ethernet found.
      
      Hit any key to stop autoboot:  0
      => d device specification mmc 0 **
      Unknown command 'd' - try 'help'
      =>
      Unknown command 'd' - try 'help'                                                                                          0> ɥ▒▒▒▒▒
      > Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1
      >
      > No ethernet found.
      >
      >
      >
      > ▒▒Z▒偢▒▒▒ѽ▒
      > ▒ѽ▒▒▒▒C▒=> d device specification mmc 0 **▒▒▒
      >
      > Unknown command 'd' - try 'help'
      >
      > =>
      >
      > Unknown command 'd' - try 'help'
      >
      >>> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢                               >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >> Err::▒с▒▒*▒▒K▒Y▒hernet@5020000: addr 1>> No ethernet found>>>> ▒▒Z▒偢▒▒▒ѽ▒> ▒ѽ▒▒▒▒                                            >> Unknown command 'd' - try 'help>> =>>> Unknown command 'd' - try 'help>> => ▒▒ɥ▒        >>>
      
      
      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: H616 使用DragonHD DDR3识别失败

      解决了大伙,就是没焊好!!!

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: H616 使用DragonHD DDR3识别失败
      
      uart init finish!
      
      
      GPU  THS0 : 4095  -67
      VE   THS1 : 4095  -67
      CPU  THS2 : 4095  -67
      DRAM THS3 : 4095  -67
      PMU: AXP313
      set vdd_sys 960mV OK!
      set vcc_dram 1500mV OK!
      set vdd_cpu 1000mV OK!
      set vdd18_dram 1800mV OK!
      dram_init start.
      dram_tpr11 = f100f11
      dram_tpr12 = 10111012
      DRAM BOOT DRIVE INFO: V0.51 2D training
      Soft Training start
      Normal chip init neon!
      Soft Training Version: T2.0
      [SOFT TRAINING] Dram Soft Training Loop1
      retraining final error
      [AUTO DEBUG]32bit,1 ranks training success!
      [SOFT TRAINING] Stable test, dram_clk=360,dram_odt_en=0x00008888,memtest pass
      [SOFT TRAINING] change dram_clk to 216
      [SOFT TRAINING] start rdq 1st training
      [SOFT TRAINING]  Dbyte0 rdq 1st dqs_move:0,range: 0~0,width=1,center=0x00
      [ERROR SOFT TRAINING] Dbyte0 rdq 1st width <= 160 ps
      [SOFT TRAINING] Dram Soft Training Loop2
      [SOFT TRAINING] Stable test, dram_clk=360,dram_odt_en=0x00008888,memtest pass
      [SOFT TRAINING] change dram_clk to 216
      [SOFT TRAINING] start rdq 1st training
      [SOFT TRAINING]  Dbyte0 rdq 1st dqs_move:0,range: 0~0,width=1,center=0x00
      [ERROR SOFT TRAINING] Dbyte0 rdq 1st width <= 160 ps
      [SOFT TRAINING] Dram Soft Training Loop3
      [SOFT TRAINING] Stable test, dram_clk=360,dram_odt_en=0x00008888,memtest pass
      [SOFT TRAINING] change dram_clk to 216
      [SOFT TRAINING] start rdq 1st training
      [SOFT TRAINING]  Dbyte0 rdq 1st dqs_move:0,range: 0~0,width=1,center=0x00
      [ERROR SOFT TRAINING] Dbyte0 rdq 1st width <= 160 ps
      [SOFT TRAINING] Dram Soft Training Loop4
      [SOFT TRAINING] Stable test, dram_clk=360,dram_odt_en=0x00008888,memtest pass
      [SOFT TRAINING] change dram_clk to 216
      [SOFT TRAINING] start rdq 1st training
      [SOFT TRAINING]  Dbyte0 rdq 1st dqs_move:0,range: 0~0,width=1,center=0x00
      [ERROR SOFT TRAINING] Dbyte0 rdq 1st width <= 160 ps
      [ERROR SOFT TRAINING] Dram Soft Training fail
      eye_scan_en=0x0
      unknow error
      

      这是串口输出的日志

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: H616 使用DragonHD DDR3识别失败

      @woodcat 也试过了,也是卡在这里

      posted in H616系列-OTT
      CWEIB
      CWEIB
    • Reply: H616 使用DragonHD DDR3识别失败

      @woodcat 我后面看到orange zero2 也是用的一样的内存颗粒,应该是能跑起来才对,检测过焊接都是正常的

      posted in H616系列-OTT
      CWEIB
      CWEIB