Toybrick

新买的TB-RK3399ProX 如何设置固定IP

liuxiaoyang

注册会员

积分
65
发表于 2022-3-11 15:53:20    查看: 3150|回复: 6 | [复制链接]    打印 | 显示全部楼层
1、请问如何设置固定IP
2、目前新板子通过串口连接,但串口一直报以下错误,是否正常

toybrick@debian10:~$
toybrick@debian10:~$ [  293.123281] wl_run_escan: LEGACY_SCAN sync ID: 7, bssidx: 0
[  312.202229] stmmac_hw_setup: DMA engine initialization failed
[  312.202764] stmmac_open: Hw setup failed
[  312.211158] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  312.323953] stmmac_hw_setup: DMA engine initialization failed
[  312.324476] stmmac_open: Hw setup failed
[  312.336212] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  312.455052] stmmac_hw_setup: DMA engine initialization failed
[  312.455575] stmmac_open: Hw setup failed
[  312.467049] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  312.582605] stmmac_hw_setup: DMA engine initialization failed
[  312.583127] stmmac_open: Hw setup failed
[  312.587537] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  356.084548] dhd_stop: Enter ffffffc0f3371000
[  356.085087] dhd_set_mcast_list_handler: interface info not available/down
[  356.100544] WLC_E_IF: NO_IF set, event Ignored
[  356.100581] CFG80211-ERROR) wl_cfgp2p_down : Clean up the p2p discovery IF
[  356.100594] wl_cfgp2p_del_p2p_disc_if: wdev: ffffffc0ddc44c00, wdev->net:           (null)
[  356.100640] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[  356.100644] Exit. P2P interface stopped
[  356.108802] P2P interface unregistered
[  356.109185] CFGP2P-ERROR) wl_cfgp2p_deinit_priv : In
[  356.111104] dhd_tcpack_suppress_set: TCP ACK Suppress mode 1 -> mode 0
[  356.111711] wl_android_wifi_off in 1
[  356.112386] wl_android_wifi_off in 2: g_wifi_on=1, on_failure=1
[  356.113944] dhd_dbg_detach_pkt_monitor, 2204
[  356.114350] dhd_bus_devreset: == Power OFF ==
[  356.115284] bcmsdh_oob_intr_unregister: Enter
[  356.115725] dhd_txglom_enable: enable 0
[  356.116197] dhd_conf_set_txglom_params: txglom_mode=copy
[  356.116680] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[  356.117346] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[  356.117980] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[  356.118600] dhd_bus_devreset:  WLAN OFF DONE
[  356.119440] wifi_platform_set_power = 0
[  356.119970] ======== PULL WL_REG_ON(-1) LOW! ========
[  356.120429] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  356.121123] [WLAN_RFKILL]: wifi shut off power.
[  356.121549] wl_android_wifi_off out
[  356.121985] wl_ext_iapsta_dettach_netdev: ifidx=0
[  356.122678] dhd_stop: Exit
[  356.160671] dhd_set_mac_addr_handler: interface info not available/down
[  356.262674] dhd_open: Enter ffffffc0f3371000
[  356.263128] dhd_open : no mutex held. set lock
[  356.263556]
[  356.263556] Dongle Host Driver, version 1.579.77.41.10 (r)
[  356.264295] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[  356.264827] wl_android_wifi_on in 1
[  356.265456] wl_android_wifi_on in 2: g_wifi_on=0
[  356.265987] wifi_platform_set_power = 1
[  356.266342] ======== PULL WL_REG_ON(-1) HIGH! ========
[  356.266850] [WLAN_RFKILL]: rockchip_wifi_power: 1
[  356.267295] [WLAN_RFKILL]: wifi turn on power. -1
[  356.568943] sdio_reset_comm():
[  356.584869] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  356.603005] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[  356.655372] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[  356.659313] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  356.663177] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  356.669679] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[  356.677411] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[  356.784597] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[  356.920495] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 228
[  356.921227] sdioh_start: set sd_f2_blocksize 256
[  356.922485]
[  356.922485]
[  356.922485] dhd_bus_devreset: == WLAN ON ==
[  356.923349] F1 signature read @0x18000000=0x15264345
[  356.929018] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
[  356.930746] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[  356.931495] dhd_bus_set_default_min_res_mask: Unhandled chip id
[  356.932668] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[  356.933500] Final fw_path=/system/etc/firmware/fw_bcm43455c0_ag.bin
[  356.934143] Final nv_path=/system/etc/firmware/nvram_ap6255.txt
[  356.934680] Final clm_path=/system/etc/firmware/clm.blob
[  356.935285] Final conf_path=/system/etc/firmware/config.txt
[  356.936881] dhd_os_open_image: /system/etc/firmware/fw_bcm43455c0_ag.bin (617600 bytes) open success
[  356.983673] dhd_os_open_image: /system/etc/firmware/nvram_ap6255.txt (2200 bytes) open success
[  356.984506] NVRAM version: AP6255_NVRAM_V1.1.6_05172017.txt
[  356.985606] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  357.069893] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  357.070546] bcmsdh_oob_intr_register: HW_OOB irq=71 flags=0x4
[  357.071316] dhd_get_memdump_info: File [/data/misc/wifi/.memdump.info] doesn't exist
[  357.072069] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[  357.078600] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 1
[  357.079685] dhd_apply_default_clm: Ignore clm file /system/etc/firmware/clm.blob
[  357.083126] Firmware up: op_mode=0x0005, MAC=10:2c:6b:08:05:06
[  357.088024] dhd_preinit_ioctls Set scancache failed -23
[  357.100697]   Driver: 1.579.77.41.10 (r)
[  357.100697]   Firmware: wl0: Oct 23 2017 14:52:12 version 7.45.96.6 (2af1ebc@sh-git) (r) FWID 01-bc98efa1 es7.c5.n4.a3
[  357.100697]   CLM: 7.14.8
[  357.102682] dhd_txglom_enable: enable 1
[  357.103104] dhd_conf_set_txglom_params: txglom_mode=copy
[  357.103577] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=0
[  357.104204] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[  357.104830] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[  357.105443] dhd_conf_get_disable_proptx: fw_proptx=1, disable_proptx=-1
[  357.107830] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[  357.110658] dhd_pno_init: Support Android Location Service
[  357.133535] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[  357.135164] dhd_rtt_init : FTM is supported
[  357.135571] dhd_preinit_ioctls: SensorHub diabled 0
[  357.137121] dhd_preinit_ioctls failed to set ShubHub disable
[  357.140139] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[  357.140901] failed to get wnm_bsstrans_resp
[  357.142440] failed to set WNM capabilities
[  357.143421] dhd_conf_set_country: set country CN, revision 38
[  357.143443] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[  357.148148] Country code: CN (CN/38)
[  357.152460] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
[  357.153620] wl_android_wifi_on: Success
[  357.194236] dhd_open : the lock is released.
[  357.194651] dhd_open: Exit ret=0
[  357.199843] dhd_set_mac_addr_handler: MACID is overwritten
[  357.201254] wlan0: set cur_etheraddr failed
[  357.201655] dhd_set_mac_addr_handler: _dhd_set_mac_address() failed
[  357.215833] wl_run_escan: LEGACY_SCAN sync ID: 8, bssidx: 0
[  420.158265] wl_run_escan: LEGACY_SCAN sync ID: 9, bssidx: 0
[  468.289573] stmmac_hw_setup: DMA engine initialization failed
[  468.290098] stmmac_open: Hw setup failed
[  476.426415] stmmac_hw_setup: DMA engine initialization failed
[  476.426935] stmmac_open: Hw setup failed
[  480.494874] wl_escan_set_scan: LEGACY_SCAN
[  480.497151] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.500655] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.503395] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.506485] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.508603] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.510882] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.515060] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.518569] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.525308] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.537711] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.543369] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.545515] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.549488] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.552218] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.556465] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.579800] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.591934] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.615129] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.623177] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.626963] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.833668] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.835109] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.918134] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.919489] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.920934] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.922984] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.927372] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.959041] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.961075] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  480.994214] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.027922] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.195071] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.273643] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.287453] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.297539] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.323481] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.324977] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.364529] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.367271] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.369716] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.397426] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.399661] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.409437] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.443880] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.573511] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.587925] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.819686] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.853678] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.861974] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.982868] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.984265] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  481.985675] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.015135] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.017270] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.019658] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.143747] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.179211] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.204748] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 8
[  482.838810] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc0f3371000 drv_status 0x0 e_type 69 e_states 0
[  483.103594] wl_run_escan: LEGACY_SCAN sync ID: 10, bssidx: 0
[  546.173050] wl_run_escan: LEGACY_SCAN sync ID: 11, bssidx: 0
[  609.126865] wl_run_escan: LEGACY_SCAN sync ID: 12, bssidx: 0
[  613.203479] stmmac_hw_setup: DMA engine initialization failed
[  613.204010] stmmac_open: Hw setup failed
[  613.215619] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  613.334100] stmmac_hw_setup: DMA engine initialization failed
[  613.334616] stmmac_open: Hw setup failed
[  613.339691] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  613.446419] stmmac_hw_setup: DMA engine initialization failed
[  613.446936] stmmac_open: Hw setup failed


回复

使用道具 举报

jefferyzhang

版主

积分
12844
发表于 2022-3-11 22:48:59 | 显示全部楼层
1. 这种问题百度下一堆解答,https://blog.csdn.net/weixin_48646819/article/details/120033465
2. 请先烧最新固件,早期工厂的固件有bug
回复

使用道具 举报

liuxiaoyang

注册会员

积分
65
 楼主| 发表于 2022-3-14 15:54:47 | 显示全部楼层
1、设置固定IP:我们根据百度里面提供的的方法设置了,不行,(跟你提供的链接里面的方法一样的)所以才来论坛咨询【不好意思之前没说清楚】
2、新板子通过串口连接报这个错,然后我们烧录了论坛上最新的固件,版本:RK3399ProX-Release-V3.0   烧录完成后,还是报这个错,所以,我们想确认一下,是不是板子硬件有问题,是否可以更换新板子,谢谢
回复

使用道具 举报

onepiece

中级会员

积分
256
发表于 2022-3-14 17:18:12 | 显示全部楼层
从Log上看,以太网的PHY芯片可能有问题。
回复

使用道具 举报

liuxiaoyang

注册会员

积分
65
 楼主| 发表于 2022-3-15 09:58:07 | 显示全部楼层
淘宝客服让我们跟论坛工程师确认一下,如果确实板子有问题,就更换新板子,谢谢
回复

使用道具 举报

jefferyzhang

版主

积分
12844
发表于 2022-3-15 10:12:46 | 显示全部楼层
liuxiaoyang 发表于 2022-3-15 09:58
淘宝客服让我们跟论坛工程师确认一下,如果确实板子有问题,就更换新板子,谢谢 ...

应该是有问题,叫他换一块看看
回复

使用道具 举报

liuxiaoyang

注册会员

积分
65
 楼主| 发表于 2022-3-15 10:13:28 | 显示全部楼层
好的,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表