【新人上手】D1哪吒开发板Tina Linux下查看DDR参数、内核版本、uboot版本和系统版本
-
继续上一个贴的内容。
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"
-
@randolph 在 【新人上手】D1哪吒开发板Tina Linux下查看DDR参数、内核版本、uboot版本和系统版本 中说:
5.4.61
怎么查看tina针对5.4.61的改动?想生成patch
-
去github.com克隆 Linux5.4.61,然后你会发现改得亲妈都不认识。
-
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号