Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【新人上手】D1哪吒开发板Tina Linux下查看DDR参数、内核版本、uboot版本和系统版本

    MR Series
    3
    3
    2107
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Randolph
      Randolph LV 6 last edited by xiaowenge

      继续上一个贴的内容。

      3、查看DDR大小和频率

      支持DDR3,1GB,最高频率792MHz
      启动时会有日志打印
      如:

      [230]DRAM CLK = 792 MHz
      [232]DRAM Type = 3 (2:DDR2,3:DDR3)
      [235]DRAMC ZQ value: 0x7b7bfb
      [238]DRAM ODT value: 0x42.
      [241]ddr_efuse_type: 0x0
      [244]DRAM SIZE =1024 M
      

      4、查看当前内核版本

      根目录执行:

      ubus call system board
      

      结果如下:

      root@TinaLinux:/# ubus call system board
      {
              "kernel": "5.4.61",
              "hostname": "TinaLinux",
              "model": "sun20iw1p1",
              "release": {
                      "distribution": "tina.kunyao.20211213.091259",
                      "version": "Neptune",
                      "revision": "5C1C9C53",
                      "target": "d1-nezha\/generic v3.5",
                      "description": "tina.kunyao.20211213.091259 4.0.0"
              }
      }
      

      5、查看当前uboot版本

      上电可以看到log打印:

      U-Boot 2018.05-00088-g778d823e36 
      

      或执行命令:

      cat /proc/cmdline 
      

      如下

      root@TinaLinux:/# cat /proc/cmdline
      ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:dsp0@ubi0_6:recovery@ubi0_7:UDISK@ubi0_8: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-00026-g53b07c0278(12/10/20
      
      

      6、查看当前Tina系统版本

      ubus call system board
      

      结果如下:

      root@TinaLinux:/# ubus call system board
      {
              "kernel": "5.4.61",
              "hostname": "TinaLinux",
              "model": "sun20iw1p1",
              "release": {
                      "distribution": "tina.kunyao.20211213.091259",
                      "version": "Neptune",
                      "revision": "5C1C9C53",
                      "target": "d1-nezha\/generic v3.5",
                      "description": "tina.kunyao.20211213.091259 4.0.0"
         
      
      J 1 Reply Last reply Reply Quote Share 0
      • J
        Juggernaut LV 5 @Randolph last edited by

        @randolph 在 【新人上手】D1哪吒开发板Tina Linux下查看DDR参数、内核版本、uboot版本和系统版本 中说:

        5.4.61

        怎么查看tina针对5.4.61的改动?想生成patch

        tigger 1 Reply Last reply Reply Quote Share 0
        • tigger
          tigger LV 7 @Juggernaut last edited by

          @juggernaut

          去github.com克隆 Linux5.4.61,然后你会发现改得亲妈都不认识。

          1 Reply Last reply Reply Quote Share 0
          • Referenced by  q1215200171 q1215200171 
          • Referenced by  q1215200171 q1215200171 
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策