本文來源電子發(fā)燒友社區(qū),作者:李先生, 帖子地址:https://bbs.elecfans.com/jishu_2300787_1_1.html
開箱
開箱過程就略了,直接看板子。板子比較大,酷黑風(fēng)格,一看做工就不錯(cuò),該有的接口防護(hù)設(shè)計(jì)都有,完全按照工業(yè)級(jí)產(chǎn)品標(biāo)準(zhǔn)設(shè)計(jì),大大的散熱器很突出,5個(gè)網(wǎng)口也很有特色。
板載資源
核心板
· 基于NXP LS1028A處理器,雙核 Cortex?-A72,主頻1.5GHz;
· 支持6個(gè)千兆網(wǎng)口,且都支持TSN(開發(fā)板支持5個(gè)千兆工業(yè)網(wǎng)口);
· 具備PCIe3.0、SATA3.0、USB3.0、CAN-FD等高速總線接口;
· 支持DP顯示,可支持DP1.3和eDP1.4,顯示分辨率高達(dá)4K@60FPS;
· 工業(yè)級(jí)-40℃ - +85℃,金手指314PIN;
名稱 | 主要參數(shù) | 配置 |
---|---|---|
處理器型號(hào) | NXP LS1028A | 標(biāo)配 |
處理器架構(gòu) | 雙核ARM Cortex-A72 | |
處理器主頻 | 1.5GHz | |
內(nèi)存 | 標(biāo)配2GB DDR4 ,容量可選3GB、4GB | 可選 |
存儲(chǔ)器 | 標(biāo)配8GB eMMC ,容量可選16GB、32GB | 可選 |
XSPI NOR Flash | 默認(rèn)空貼 | 可選 |
QSPI NAND Flash | 默認(rèn)空貼 | 可選 |
工作電壓 | 5V | |
機(jī)械尺寸 | 82mmx45mmx1.2mm | |
接口類型 | 金手指,314PIN | |
PCB工藝 | 12層板設(shè)計(jì),沉金工藝 | |
工作溫度 | 工業(yè)級(jí):-40℃~85℃ | |
操作系統(tǒng) | Linux 5.10Ubuntu 18.04 | |
相關(guān)認(rèn)證 | CE,ROHS |
項(xiàng)目 | 參數(shù) |
---|---|
Ethernet | 1* SGMII信號(hào)1* QSGMII信號(hào) |
PCIe 3.0 | 2* PCIe 3.0 |
SATA 3.0 | 1* SATA 3.0 |
CAN-FD | 2* CAN-FD |
USB3.0 | 2* USB3.0 |
I2C | 8* I2C |
SPI | 3* SPI |
SDIO | 2* SDIO |
UART | 6LPUART2UART |
Display Output | 1* DP1.3/eDP1.4,支持4K@60fps |
JTAG | 支持JTAG |
SAI | 6* SAI |
底板
功能 | 參數(shù) |
---|---|
系統(tǒng) | POWER |
KEY | 1路復(fù)位按鍵 |
1路用戶按鍵 | |
SWITCH | 1路電源開關(guān) |
BOOT SET | 1路撥碼開關(guān) |
SD | 1路Micro SD卡槽 |
通訊接口 | WIFI/BT |
5G | 1路USB3.0協(xié)議M.2 B型插座的5G模塊接口2路SIM卡座 |
SSD | 1路SATA3.0協(xié)議M.2 B型插座的SSD模塊接口 |
Ethernet | 5路10/100/1000M以太網(wǎng)接口,RJ45接口,均支持TSN |
USB | 1路 USB 3.0 HOST 接口,采用Type-A接口 |
UART | 1路調(diào)試串口,通過串口轉(zhuǎn)USB,采用Type-C接口2路普通串口,通過擴(kuò)展接口引出 |
多媒體接口 | DISPLAY |
AUDIO | 1路3.5mm音頻輸出接口 |
擴(kuò)展接口 | Expansion IO |
串口登錄
USB線接J22: DEBUG UART。
接好電源J1,S1電源開關(guān)打到ON,開發(fā)板上電。
這里串口終端使用SecureCRT。
查看設(shè)備管理器串口號(hào),使用SecureCRT連接串口,115200-8-N-1。
輸入用戶名root
密碼root登錄
NXP LSDK 2012 main
localhost login: root
Password:
Last login: Fri Jan 1 00:00:05 UTC 2066 on tty7
Welcome to NXP LSDK 2012 main (GNU/Linux 5.4.47-g20182b961 aarch64)
* Support: https://www.nxp.com/lsdk
* Documentation: https://lsdk.github.io/document
* Licensing: https://lsdk.github.io/eula
The programs included with the NXP LSDK are free software, the exact distribution
terms of some programs are described in the individual files in /usr/share/doc.
NXP LSDK comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
By using this LSDK, you indicate that you accept the terms of the Agreement in
the link above and you acknowledge that you have the authority, for yourself
or on behalf of your company, to bind your company to these terms.
root@localhost:~#
體驗(yàn)
CPU信息
輸入cat /proc/cpuinfo回車查看CPU信息,可以看到雙核信息。
root@localhost:~# cat /proc/cpuinfo
processor : 0
BogoMIPS : 50.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 50.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
CPU使用率
輸入top回車查看CPU使用率
top - 00:39:02 up 39 min, 1 user, load average: 0.11, 0.13, 0.09
Tasks: 104 total, 1 running, 55 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 0.5 sy, 0.0 ni, 99.0 id, 0.2 wa, 0.3 hi, 0.0 si, 0.0 st
KiB Mem : 1955912 total, 1608636 free, 176168 used, 171108 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1710876 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
141 root 0 -20 0 0 0 I 0.3 0.0 0:00.16 kworker/1:+
172 root 19 -1 26044 7140 6556 S 0.3 0.4 0:00.26 systemd-jo+
492 root 20 0 779972 34964 17112 S 0.3 1.8 0:05.34 containerd
763 root 20 0 0 0 0 I 0.3 0.0 0:00.05 kworker/1:+
766 root 20 0 6032 2984 2404 R 0.3 0.2 0:00.05 top
1 root 20 0 13384 7848 5724 S 0.0 0.4 0:04.89 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
7 root 20 0 0 0 0 I 0.0 0.0 0:00.47 kworker/u4+
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_+
9 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0
10 root 20 0 0 0 0 I 0.0 0.0 0:00.05 rcu_preempt
11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
14 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
CPU溫度
輸入cat /sys/class/thermal/thermal_zone0/temp
回車查看CPU溫度
這里看到只有42°,溫度不高。
root@localhost:~# cat /sys/class/thermal/thermal_zone0/temp
42000
CPU壓力測(cè)試
輸入echo "scale=5000; 4*a(1)" | bc -l -q &
回車,后臺(tái)計(jì)算圓周率到小數(shù)點(diǎn)后5000位。
運(yùn)算過程中輸入top回車查看cpu使用率達(dá)到了100%
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
782 root 20 0 2572 1588 1336 R 100.0 0.1 0:07.74 bc
大概45秒運(yùn)算完,這也可以用于定性體現(xiàn)CPU性能。
root@localhost:~# 3.141592653589793238462643383279502884197169399375105820974944592307
81640628620899862803482534211706798214808651328230664709384460955058
22317253594081284811174502841027019385211055596446229489549303819644
28810975665933446128475648233786783165271201909145648566923460348610
45432664821339360726024914127372458700660631558817488152092096282925
40917153643678925903600113305305488204665213841469519415116094330572
70365759591953092186117381932611793105118548074462379962749567351885
75272489122793818301194912983367336244065664308602139494639522473719
07021798609437027705392171762931767523846748184676694051320005681271
45263560827785771342757789609173637178721468440901224953430146549585
37105079227968925892354201995611212902196086403441815981362977477130
99605187072113499999983729780499510597317328160963185950244594553469
08302642522308253344685035261931188171010003137838752886587533208381
42061717766914730359825349042875546873115956286388235378759375195778
18577805321712268066130019278766111959092164201989380952572010654858
63278865936153381827968230301952035301852968995773622599413891249721
......
可以將5000改為50000持續(xù)測(cè)試,查看溫度變化
穩(wěn)定在了46°左右
root@localhost:~# cat /sys/class/thermal/thermal_zone0/temp
46000
溫度測(cè)量感覺有點(diǎn)不太準(zhǔn)備,用手觸摸散熱器,感覺明顯升溫有點(diǎn)燙了,應(yīng)該不止46°了。
內(nèi)存信息
輸入cat /proc/meminfo
回車查看內(nèi)存信息
root@localhost:~# cat /proc/meminfo
MemTotal: 1955912 kB
MemFree: 1604108 kB
MemAvailable: 1710244 kB
Buffers: 10164 kB
Cached: 151856 kB
SwapCached: 0 kB
Active: 110576 kB
Inactive: 133768 kB
Active(anon): 82708 kB
Inactive(anon): 164 kB
Active(file): 27868 kB
Inactive(file): 133604 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 79628 kB
Mapped: 75472 kB
Shmem: 556 kB
KReclaimable: 13232 kB
Slab: 38300 kB
SReclaimable: 13232 kB
SUnreclaim: 25068 kB
KernelStack: 2336 kB
PageTables: 1396 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 977956 kB
Committed_AS: 445708 kB
VmallocTotal: 135290159040 kB
VmallocUsed: 8004 kB
VmallocChunk: 0 kB
Percpu: 1688 kB
HardwareCorrupted: 0 kB
AnonHugePages: 8192 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
CmaTotal: 262144 kB
CmaFree: 211616 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
內(nèi)存使用率
輸入#free -m回車查看內(nèi)存使用率
root@localhost:~# free -m
total used free shared buff/cache available
Mem: 1910 172 1566 0 171 1669
Swap: 0 0 0
內(nèi)存壓力測(cè)試
輸入 memtester 1024M 1
回車
root@localhost:~# # memtester 1024M 1
root@localhost:~# memtester 1024M 1
memtester version 4.3.0 (64-bit)
Copyright (C) 2001-2012 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).
pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 1024MB (1073741824 bytes)
got 1024MB (1073741824 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : ok
Compare XOR : ok
Compare SUB : ok
Compare MUL : ok
Compare DIV : ok
Compare OR : ok
Compare AND : ok
Sequential Increment: ok
Solid Bits : ok
Block Sequential : ok
Checkerboard : ok
Bit Spread : ok
Bit Flip : ok
Walking Ones : ok
Walking Zeroes : ok
8-bit Writes : ok
16-bit Writes : ok
Done.
EMMC
輸入fdisk -l回車查看emmc信息
root@localhost:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
......
Disk /dev/mmcblk1: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf0c623ad
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 139264 401407 262144 128M 83 Linux
/dev/mmcblk1p2 403456 4597759 4194304 2G 83 Linux
/dev/mmcblk1p3 4599808 4730879 131072 64M 83 Linux
/dev/mmcblk1p4 4732928 15269887 10536960 5G 83 Linux
輸入df -h
回車查看掛載信息
root@localhost:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 4.9G 2.3G 2.4G 50% /
devtmpfs 825M 0 825M 0% /dev
tmpfs 956M 0 956M 0% /dev/shm
tmpfs 956M 556K 955M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 956M 0 956M 0% /sys/fs/cgroup
/dev/mmcblk1p2 2.0G 658M 1.2G 36% /boot
tmpfs 192M 0 192M 0% /run/user/0
輸入time dd if=/dev/zero of=tempfile bs=1M count=100 conv=fdatasync
測(cè)試寫文件速度,大概27.9MB/S
coot@localhost:~# time dd if=/dev/zero of=tempfile bs=1M count=100 conv=fdatasync
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 3.75256 s, 27.9 MB/s
real 0m3.755s
user 0m0.001s
sys 0m0.300s
輸入
time dd if=tempfile of=/dev/null bs=1M count=100 iflag=direct,nonblock
回車測(cè)試讀速度193MB/S
nonblockalhost:~# time dd if=tempfile of=/dev/null bs=1M count=100 iflag=direct,n
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.542257 s, 193 MB/s
real 0m0.544s
user 0m0.000s
sys 0m0.014s
RTC
輸入ls -l /dev/rtc* 回車查看設(shè)備
輸入cat /sys/class/rtc/rtc0/name回車查看名字
root@localhost:~# ls -l /dev/rtc*
lrwxrwxrwx 1 root root 4 Jan 1 00:00 /dev/rtc -> rtc0
crw------- 1 root root 251, 0 Jan 1 00:00 /dev/rtc0
crw------- 1 root root 251, 1 Jan 1 00:00 /dev/rtc1
root@localhost:~# cat /sys/class/rtc/rtc0/name
rtc-rx8025t 1-0032
輸入date查看當(dāng)前時(shí)間
輸入date -s "2022-8-19 22:53:30"設(shè)置時(shí)間
輸入date查看設(shè)置后的時(shí)間
輸入hwclock -w將時(shí)間寫入rtc
輸入hwclock -r加載rtc的時(shí)間
不斷電按住RST按鍵一段時(shí)間,再放開重啟,看保持復(fù)位這段時(shí)間時(shí)間是否在繼續(xù)走。
看到時(shí)間是保持走動(dòng)的。
root@localhost:~# date
Fri Aug 19 23:00:53 UTC 2022
root@localhost:~# date -s "2022-9-19 22:53:30"
Mon Sep 19 22:53:30 UTC 2022
root@localhost:~# date
Mon Sep 19 22:53:31 UTC 2022
root@localhost:~# hwclock -w
root@localhost:~# hwclock -r
2022-09-19 22:53:39.978946+0000
......
保持復(fù)位一段時(shí)間,
重啟
......
root@localhost:~# date
Mon Sep 19 22:55:01 UTC 2022
hwclock -s
可以讓RTC和系統(tǒng)時(shí)間保持同步。
看門狗
輸入cat /sys/class/watchdog/watchdog0/device/uevent查看看門狗信息
root@localhost:~# cat /sys/class/watchdog/watchdog0/device/uevent
DRIVER=sp805-wdt
OF_NAME=watchdog
OF_FULLNAME=/soc/watchdog@c000000
OF_COMPATIBLE_0=arm,sp805
OF_COMPATIBLE_1=arm,primecell
OF_COMPATIBLE_N=2
AMBA_ID=00141805
MODALIAS=amba:d00141805
echo V > /dev/watchdog關(guān)閉看門狗
總結(jié)
板子的性能非常強(qiáng)悍,資源接口也非常豐富,做工也一如既往的優(yōu)秀,不僅僅是一個(gè)開發(fā)板,而且就是一個(gè)工業(yè)及標(biāo)準(zhǔn)的產(chǎn)品,該有的防護(hù)設(shè)計(jì)都有,可以直接用于二次開發(fā)。資料比較詳細(xì),簡單體驗(yàn)了下相關(guān)的測(cè)試都非常nice,后面再針對(duì)性的對(duì)各模塊進(jìn)行測(cè)試。
資源非常豐富,且開源,一如既往的好評(píng),先把所有資料下載,下一次開始搭建開發(fā)環(huán)境測(cè)試。
資料下載
http://down.myir-tech.com/MYD-J1028X/
-
米爾科技
+關(guān)注
關(guān)注
5文章
227瀏覽量
20882 -
MYD-J1028X
+關(guān)注
關(guān)注
1文章
16瀏覽量
274
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
評(píng)論