Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. hy123456
    H
    • Profile
    • Following 0
    • Followers 0
    • my integral 311
    • Topics 2
    • Posts 8
    • Best 0
    • Groups 0

    hy123456LV 3

    @hy123456

    311
    integral
    0
    Reputation
    1
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    hy123456 Unfollow Follow

    Latest posts made by hy123456

    • Reply: TinaLinux请教如何查询网卡当前是百兆还是千兆?

      @yuzukitsuru 我又尝试了cat ,但是不能读。
      root@TinaLinux:~# cat /sys/class/net/eth0/speed
      cat: read error: Invalid argument

      posted in Linux
      H
      hy123456
    • Reply: TinaLinux请教如何查询网卡当前是百兆还是千兆?

      @yuzukitsuru
      root@TinaLinux:~# ifconfig
      eth0 Link encap:Ethernet HWaddr AA:A7:4D:97:F3:60
      inet6 addr: fe80::a8a7:4dff:fe97:f360/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:1 errors:0 dropped:0 overruns:0 frame:0
      TX packets:5784678 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:243 (243.0 B) TX bytes:1866511050 (1.7 GiB)
      Interrupt:40
      只有发送队列是1000

      posted in Linux
      H
      hy123456
    • Reply: TinaLinux请教如何查询网卡当前是百兆还是千兆?

      @yuzukitsuru 插拔网线是可以看到,但是运行过程中怎么查那?想看看运行过程中它有没有自动降速之类的?

      posted in Linux
      H
      hy123456
    • TinaLinux请教如何查询网卡当前是百兆还是千兆?

      TinaLinux请教如何查询网卡当前是百兆还是千兆?用ethtool eth0 显示
      Settings for eth0:
      Link detected: yes
      不显示speed等参数,请教一下,还有没有其他办法查询网卡当前是百兆还是千兆??

      posted in Linux
      H
      hy123456
    • Reply: 请教spi1 st7789V怎么移植配置开机logo?

      @allwinnertech 是的就是想在uboot 中配置好,但是没有成功。

      posted in Linux
      H
      hy123456
    • Reply: 请教spi1 st7789V怎么移植配置开机logo?

      @yuzukitsuru 现在就是logo 显示的有些慢,大约上电4s左右到kernel 启动后才能显示出来。

      posted in Linux
      H
      hy123456
    • Reply: 请教spi1 st7789V怎么移植配置开机logo?

      @yuzukitsuru 您好,我把vi lichee/brandy-2.0/u-boot-2018/configs/sun8iw20p1_defconfig 中的CONFIG_AW_PHY=y 注释掉了。试了一下,还是不行。我看
      执行了show_bmp_on_fb
      [00.838]bmp_name=bootlogo.bmp size 172856
      172856 bytes read in 9 ms (18.3 MiB/s)
      fileaddr =43f3b040 ,filesize =172856
      HHHHHHHHHshow_bmp_on_fb:164
      HHHHHHHHHshow_bmp_on_fb:261
      [00.977]Loading Environment from SUNXI_FLASH... OK

      posted in Linux
      H
      hy123456
    • 请教spi1 st7789V怎么移植配置开机logo?

      硬件平台r528 ,tina 系统,u-boot-2018。用spi1 驱动一个st7789v的240*240的小屏。
      kernel现在已经可以显示logo.但是uboot 阶段一直不显示?请教一下具体怎么配置?
      还有请教uboot阶段系统运行开机logo的步骤?现在不知道怎么跟踪,不清楚问题出在那里?
      修改了一下内容,还是没有显示:
      1、tina-r528/lichee/brandy-2.0/u-boot-2018/include/configs$ vi sun20iw1p1.h
      增加了头文件

        #define CONFIG_VIDEO_LOGO
       #define CONFIG_VIDEO_BMP_LOGO
      

      2、tina-r528/device/config/chips/r528/configs/evb1$ vi uboot-board.dts
      设备树修改

         &lcd0 {
          lcd_used            = <1>;
      
          lcd_driver_name     = "st7789v";
          lcd_backlight       = <50>;
          lcd_if              = <0>;
      
          lcd_x               = <240>;
          lcd_y               = <240>;
          lcd_width           = <23>;
          lcd_height          = <23>;
          lcd_dclk_freq       = <19>;
      
          lcd_pwm_used        = <1>;
          lcd_pwm_ch          = <7>;
          lcd_pwm_freq        = <50000>;
          lcd_pwm_pol         = <0>;
      
          lcd_hbp             = <120>;
          lcd_ht              = <850>;
          lcd_hspw            = <2>;
          lcd_vbp             = <13>;
          lcd_vt              = <293>;
          lcd_vspw            = <2>;
      /*
          lcd_lvds_if         = <0>;
          lcd_lvds_colordepth = <1>;
          lcd_lvds_mode       = <0>;
      */  
          lcd_frm             = <1>;
          lcd_hv_if           = <8>;
          lcd_hv_clk_phase    = <0>;
          lcd_hv_sync_polarity   = <0>;
          lcd_hv_srgb_seq     = <0>;
      
          lcd_io_phase        = <0x0000>;
          lcd_gamma_en        = <0>;
          lcd_bright_curve_en = <1>;
          lcd_cmap_en         = <0>;
      
          deu_mode            = <0>;
          lcdgamma4iep        = <22>;
          smart_color         = <90>;
          //reset
          lcd_gpio_0          = <&pio PD 9 1 0 3 1>;
          //cs
          lcd_gpio_1          = <&pio PD 10 1 0 3 0>;
          //sda
          lcd_gpio_2          = <&pio PD 12 1 0 3 0>; 
          //sck
          lcd_gpio_3          = <&pio PD 11 1 0 3 0>;
          //dc
          lcd_gpio_4          = <&pio PD 8 1 0 3 1>;
      //  pinctrl-0 = <&rgb24_pins_a>;
      //  pinctrl-1 = <&rgb24_pins_b>;
      };
      
      

      3、tina-r528/lichee/brandy-2.0/u-boot-2018/arch/arm/dts$ vi sun8iw20p1-soc-system.dts
      增加SPi1 节点

      4、tina-r528/lichee/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd$ vi st7789v.c
      修改驱动初始化

      5、menuconfig 选择st7789v。

      posted in Linux
      H
      hy123456