查看: 887|回复: 0

[评测分享] 【飞凌RZG2L开发板测评】_forlinx_ok-g2lx_硬件测试

[复制链接]
  • TA的每日心情
    无聊
    2022-10-18 10:03
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    发表于 2022-10-17 15:14:10 | 显示全部楼层 |阅读模式
    分享到:
    forlinx_ok-g2lx
    硬件测试
    1. 测试准备工作
    使用串口调试工具连接开发板的DEBUG调试接口,GND,RXD,TXD
    波特率:115200
    图一
    l 调试串口显示开机信息
    ==============================================
    U-Boot 2020.10 (May 23 2022 - 01:01:36 +0000)
    CPU: Renesas Electronics E rev 10.2
    Model: OKG2L-C
    DRAM:  1.9 GiB
    MMC:   sh-sdhi: 0, sh-sdhi: 1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    In:    serial@1004b800
    Out:   serial@1004b800
    Err:   serial@1004b800
    Net:   
    Error: ethernet@11c20000 address not set.
    No ethernet found.
    Autoboot in 1 seconds
    Card did not respond to voltage select!
    15555072 bytes read in 691 ms (21.5 MiB/s)
    30186 bytes read in 16 ms (1.8 MiB/s)
    ## Flattened Device Tree blob at 48000000
       Booting using the fdt blob at 0x48000000
       Loading Device Tree to 00000000bbf30000, end 00000000bbf3a5e9 ... OK
    Starting kernel ...
    [    0.141135] mtd: partition "test-area" is out of reach -- disabled
    [    0.443117] ov5645 0-003c: ov5645_write_reg: write reg error -6: reg=3103, val=11
    [    0.450594] ov5645 0-003c: could not set init registers
    [    0.455810] ov5645 0-003c: could not power up OV5645
    [    0.467778] rzg2l_wdt 12800800.watchdog: IRQ index 0 not found
    [    0.562616] thermal emergency: not set value
    Welcome to Poky (Yocto Project Reference Distro) 3.1.5 (dunfell)!
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target RPC Port Mapper.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on udev Kernel Socket.
             Mounting Huge Pages File System...
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
             Mounting Temporary Directory (/tmp)...
             Starting Create list of st…odes for the current kernel...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting RPC Bind...
             Starting Journal Service...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
             Starting udev Coldplug all Devices...
    [  OK  ] Started RPC Bind.
    [    1.899261] mali 11840000.mali: Continuing without devfreq
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting Kernel Configuration File System...
             Mounting /var/volatile...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting sshd.socket.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started autorun.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Lighttpd Daemon...
             Starting rng-tools.service...
             Starting Login Service...
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started Lighttpd Daemon.
    [  OK  ] Started rng-tools.service.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
    [  OK  ] Reached target Network (Pre).
             Starting Load/Save Screen …ness of backlight:backlight...
             Starting Network Service...
             Starting weston.service...
    [  OK  ] Started Load/Save Screen B…htness of backlight:backlight.
    [  OK  ] Started weston.service.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started matrix-browser.
    [    4.079616] edt_ft5x06 1-0038: touchscreen probe failed
    [  OK  ] Started Network Service.
             Starting Networ[    4.248566] Goodix-TS 1-0014: i2c test failed attempt 1: -6
    k Name Resolution...
    [  OK  ] Started Login Service.
    [    4.329323] Goodix-TS 1-0014: i2c test failed attempt 2: -6
    [    4.439528] Goodix-TS 1-0014: I2C communication failure: -6
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started laohua.
             Starting Permit User Sessions...
    [  OK  ] Started Vsftpd ftp daemon.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Created slice system-weston.slice.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Getty on tty2.
    [  OK  ] Started Serial Getty on ttySC0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Weston Wayland Compositor.
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    Poky (Yocto Project Reference Distro) 3.1.5 okg2l ttySC0
    BSP: RZG2L/RZG2L-SMARC-EVK/1.3
    LSI: RZG2L
    Version: 1.3
    okg2l login:
    =========================================
    开机速度很快
    登录用户名:forlinx
    密码:forlinx
    由于普通用户权限有限,切换到root
    用户名:root/密码:空
    2. 操作系统版本
    root@okg2l:~# cat /proc/version
    Linux version 4.19.165-cip41-arm64-renesas (root@e84858de0f27) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Mon Jun 13 02:34:03 UTC 2022
    root@okg2l:~# uname -a
    Linux okg2l 4.19.165-cip41-arm64-renesas #1 SMP PREEMPT Mon Jun 13 02:34:03 UTC 2022 aarch64 GNU/Linux
    3. **配置状态
    root@okg2l:/etc/systemd/network# ifconfig
    can0: flags=128<NOARP>  mtu 72  metric 1
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    can1: flags=128<NOARP>  mtu 72  metric 1
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
            inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
            ether 7a:b8:66:57:39:2b  txqueuelen 1000  (Ethernet)
            RX packets 12  bytes 1568 (1.5 KiB)
            RX errors 0  dropped 3  overruns 0  frame 0
            TX packets 74  bytes 5302 (5.1 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 118    dma 0xff
    eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
            ether 7a:b8:66:57:39:2c  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 121    dma 0xff
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
            inet 127.0.0.1  netmask 255.0.0.0
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 239  bytes 347234 (339.0 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 239  bytes 347234 (339.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    usb0: flags=4226<BROADCAST,NOARP,MULTICAST>  mtu 1500  metric 1
            ether 62:b6:c9:0f:46:da  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 30:7b:c9:47:f8:da  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    wlan1: flags=4098<BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 32:7b:c9:47:f8:da  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    4. 路由表
    root@okg2l:/etc/systemd/network# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.110.1   0.0.0.0         UG    10     0        0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
    192.168.1.11    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
    192.168.1.22    0.0.0.0         255.255.255.255 UH    0      0        0 eth1
    192.168.110.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.168.110.1   0.0.0.0         255.255.255.255 UH    10     0        0 eth0
    5. 文件系统
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/root              14G  665M   13G   5% /
    devtmpfs              743M     0  743M   0% /dev
    tmpfs                 935M     0  935M   0% /dev/shm
    tmpfs                 935M  9.8M  926M   2% /run
    tmpfs                 935M     0  935M   0% /sys/fs/cgroup
    tmpfs                 935M  3.4M  932M   1% /tmp
    tmpfs                 935M  108K  935M   1% /var/volatile
    tmpfs                 187M     0  187M   0% /run/user/0
    tmpfs                 187M     0  187M   0% /run/user/1000
    6. 内存状态
    root@okg2l:~# free -m
                  total        used        free      shared  buff/cache   available
    Mem:        1914528     1505708      277248       16624      131572      335864
    Swap:             0           0           0
    7. 4G模块状态
    4G-EC20执行拨号上网脚本
    root@okg2l:/# quectel-CM &   
    root@okg2l:/# [09-07_15:51:59:757] Quectel_QConnectManager_Linux_V1.6.0.24
    [09-07_15:51:59:776] Find /sys/bus/usb/devices/2-1.4 idVendor=0x2c7c idProduct=0x125, bus=0x002, dev=0x004
    [09-07_15:51:59:781] Auto find qmichannel = /dev/qcqmi2
    [09-07_15:51:59:782] Auto find usbnet_adapter = usb0
    [09-07_15:51:59:783] netcard driver = GobiNet, driver version = 22-Aug-2005
    [09-07_15:51:59:786] Modem works in QMI mode
    [09-07_15:51:59:869] Get clientWDS = 7
    [09-07_15:51:59:901] Get clientDMS = 8
    [09-07_15:51:59:933] Get clientNAS = 9
    [09-07_15:51:59:965] Get clientUIM = 10
    [09-07_15:51:59:997] Get clientWDA = 11
    [09-07_15:52:00:029] requestBaseBandVersion EC20CNHDLGR09A03M1G
    [09-07_15:52:00:157] requestGetSIMStatus SIMStatus: SIM_READY
    [09-07_15:52:00:189] requestGetProfile[1] ///0
    [09-07_15:52:00:221] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
    [09-07_15:52:00:253] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
    [09-07_15:52:00:254] ifconfig usb0 0.0.0.0
    [09-07_15:52:00:296] ifconfig usb0 down
    [09-07_15:52:04:092] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
    [09-07_15:52:15:356] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
    [09-07_15:52:15:772] requestSetupDataCall WdsConnectionIPv4Handle: 0x85d0b400
    [09-07_15:52:15:900] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
    [09-07_15:52:15:965] ifconfig usb0 up
    [09-07_15:52:16:018] busybox udhcpc -f -n -q -t 5 -i usb0
    udhcpc: started, v1.31.1
    udhcpc: sending discover
    udhcpc: sending select for 10.143.195.34
    udhcpc: lease of 10.143.195.34 obtained, lease time 7200
    [09-07_15:52:16:486] /etc/udhcpc.d/50default: Adding DNS 183.230.126.224
    [09-07_15:52:16:487] /etc/udhcpc.d/50default: Adding DNS 183.230.126.225
    生成usb0虚拟网卡
    usb0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500  metric 1
            inet 10.177.186.112  netmask 255.255.255.224  broadcast 10.177.186.127
            ether 62:b6:c9:0f:46:da  txqueuelen 1000  (Ethernet)
            RX packets 4  bytes 1224 (1.1 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 25  bytes 2998 (2.9 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    8. Wifi模块状态
    执行wifi连接脚本,输入wifi名称和密码(密码不能为空)
    root@okg2l:/etc/init.d# fltest_wifi.sh  -i wlan0 -s ruijie_MCFI-187F55 -p 12345678
    wifi wlan0
    ssid ruijie_MCFI-187F55
    pasw 12345678
    wpa connect status:SCANNING
    wpa connect status:ASSOCIATING
    connect ok
    udhcpc: started, v1.31.1
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: sending select for 192.168.110.135
    udhcpc: lease of 192.168.110.135 obtained, lease time 28800
    /etc/udhcpc.d/50default: Adding DNS 192.168.110.1
    ======================================================
    root@okg2l:/#
    root@okg2l:/# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
            ether 7a:b8:66:57:39:2b  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 118    dma 0xff
    eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
            ether 7a:b8:66:57:39:2c  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 121    dma 0xff
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
            inet 127.0.0.1  netmask 255.0.0.0
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 214  bytes 345310 (337.2 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 214  bytes 345310 (337.2 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    usb0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500  metric 1
            inet 10.143.195.34  netmask 255.255.255.252  broadcast 10.143.195.35
            ether 62:b6:c9:0f:46:da  txqueuelen 1000  (Ethernet)
            RX packets 2  bytes 612 (612.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 13  bytes 1583 (1.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    图一.jpg
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    手机版|小黑屋|与非网

    GMT+8, 2025-1-12 06:51 , Processed in 0.134335 second(s), 17 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.