20250326在荣品的PRO-RK3566开发板的buildroot系统中打开ethtool

20250326在荣品的PRO-RK3566开发板的buildroot系统中打开ethtool
2025/3/26 17:51


缘起:在荣品的PRO-RK3566核心板的buildroot系统下,使用了RTL8211F-CG这个PHY。
我司使用场景是极度要求小体积/不占用空间的情况,因此只使用了4线的以太网。
也就是将千兆网卡当百兆网卡用了。【这个年头,纯百兆的以太网卡难买了^_也犯不着费这个劲了!】


  x x                                                                              Target options  --->                                                                                                                        x x  
  x x                                                                              Build options  --->                                                                                                                         x x  
  x x                                                                              Toolchain  --->                                                                                                                             x x  
  x x                                                                              System configuration  --->                                                                                                                  x x  
  x x                                                                              Kernel  --->                                                                                                                                x x  
  x x                                                                              Target packages  --->                                                                                                                       x x  
  x x                                                                              Filesystem images  --->                                                                                                                     x x  
  x x                                                                              Bootloaders  --->                                                                                                                           x x  
  x x                                                                              Host utilities  --->                                                                                                                        x x  
  x x                                                                              Legacy config options  ---> 

                                                                             lqqqqqqqqqqqqqqqqqqqq Search Configuration Parameter qqqqqqqqqqqqqqqqqqqqqk
                                                                             x    Enter (sub)string or regexp to search for (with or without "")       x  
                                                                             x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
                                                                             x xethtool                                                              x x  
                                                                             x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
                                                                             x                                                                         x  
                                                                             x                                                                         x  
                                                                             tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
                                                                             x                         <  Ok  >      < Help >                          x  
                                                                             mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 

 /tmp/tmp.0ZvVklgikU/.config - Buildroot linux5.10-rkr7.1(v1.4.0_20231220)-395-gad3330a33b-dirty Configuration
 > Search (ethtool) qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Search Results qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x Symbol: BR2_PACKAGE_ETHTOOL [=n]                                                                                                                                                                                             x  
  x Type  : bool                                                                                                                                                                                                                 x  
  x Prompt: ethtool                                                                                                                                                                                                              x  
  x   Location:                                                                                                                                                                                                                  x  
  x     -> Target packages                                                                                                                                                                                                       x  
  x (1)   -> Networking applications                                                                                                                                                                                             x  
  x   Defined at package/ethtool/Config.in:1                                                                                                                                                                                     x  
  x                                                                                                                                                                                                                              x  
  x                                                                                                                                                                                                                              x  
  x Symbol: BR2_PACKAGE_ETHTOOL_PRETTY_PRINT [=n]                                                                                                                                                                                x  
  x Type  : bool                                                                                                                                                                                                                 x  
  x Prompt: enable pretty printing                                                                                                                                                                                               x  
  x   Location:                                                                                                                                                                                                                  x  
  x     -> Target packages                                                                                                                                                                                                       x  
  x       -> Networking applications                                                                                                                                                                                             x  
  x (2)     -> ethtool (BR2_PACKAGE_ETHTOOL [=n])                                                                                                                                                                                x  
  x   Defined at package/ethtool/Config.in:9                                                                                                                                                                                     x  
  x   Depends on: BR2_PACKAGE_ETHTOOL [=n]      


  x x                                                                              Target options  --->                                                                                                                        x x  
  x x                                                                              Build options  --->                                                                                                                         x x  
  x x                                                                              Toolchain  --->                                                                                                                             x x  
  x x                                                                              System configuration  --->                                                                                                                  x x  
  x x                                                                              Kernel  --->                                                                                                                                x x  
  x x                                                                              Target packages  --->                                                                                                                       x x  
  x x                                                                              Filesystem images  --->                                                                                                                     x x  
  x x                                                                              Bootloaders  --->                                                                                                                           x x  
  x x                                                                              Host utilities  --->                                                                                                                        x x  
  x x                                                                              Legacy config options  --->   

 /tmp/tmp.0ZvVklgikU/.config - Buildroot linux5.10-rkr7.1(v1.4.0_20231220)-395-gad3330a33b-dirty Configuration
 > Target packages qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Target packages qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).  Highlighted letters are hotkeys.  Pressing <Y> selects a feature, while <N> excludes a feature.  Press <Esc><Esc> to exit, <?> for  x  
  x  Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                                                                             x  
  x                                                                                                                                                                                                                              x  
  x                                                                                                                                                                                                                              x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                              Hardware Platforms  --->                                                                                                                    x x  
  x x                                                                              Rongpin supports  --->                                                                                                                      x x  
  x x                                                                          -*- BusyBox                                                                                                                                     x x  
  x x                                                                          [ ]   Enable static                                                                                                                             x x  
  x x                                                                          (package/busybox/busybox.config) BusyBox configuration file to use?                                                                             x x  
  x x                                                                          (board/rockchip/common/base/busybox.fragment) Additional BusyBox configuration fragment files                                                   x x  
  x x                                                                          [*]   Enable unicode support                                                                                                                    x x  
  x x                                                                          [*]   Bypass unicode when printing                                                                                                              x x  
  x x                                                                          [*]   Show packages that are also provided by busybox                                                                                           x x  
  x x                                                                          [ ]   Individual binaries                                                                                                                       x x  
  x x                                                                          [ ]   Install the watchdog daemon startup script                                                                                                x x  
  x x                                                                              Audio and video applications  --->                                                                                                          x x  
  x x                                                                              Compressors and decompressors  --->                                                                                                         x x  
  x x                                                                              Debugging, profiling and benchmark  --->                                                                                                    x x  
  x x                                                                              Development tools  --->                                                                                                                     x x  
  x x                                                                              Filesystem and flash utilities  --->                                                                                                        x x  
  x x                                                                              Fonts, cursors, icons, sounds and themes  --->                                                                                              x x  
  x x                                                                              Games  --->                                                                                                                                 x x  
  x x                                                                              Graphic libraries and applications (graphic/text)  --->                                                                                     x x  
  x x                                                                              Hardware handling  --->                                                                                                                     x x  
  x x                                                                              Interpreter languages and scripting  --->                                                                                                   x x  
  x x                                                                              Libraries  --->                                                                                                                             x x  
  x x                                                                              Mail  --->                                                                                                                                  x x  
  x x                                                                              Miscellaneous  --->                                                                                                                         x x  
  x x                                                                              Networking applications  --->                                                                                                               x x  
  x x                                                                              Package managers  --->                                                                                                                      x x  
  x x                                                                              Real-Time  --->                                                                                                                             x x  
  x x                                                                              Security  --->                                                                                                                              x x  
  x x                                                                              Shell and utilities  --->                                                                                                                   x x  
  x x                                                                              System tools  --->                                                                                                                          x x  
  x x                                                                              Text editors and viewers  --->                                                                                                              x x  


rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ ./build.sh buildroot-config
Log colors: message notice warning error fatal

Log saved at /home/rootroot/source/output/sessions/2025-03-26_13-49-14

==========================================
          Final configs
==========================================
RK_BOOT_FIT_ITS=/home/rootroot/source/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3566
RK_CHIP=rk3566
RK_CHIP_FAMILY=rk3566
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/rootroot/source/device/rockchip/.chips/rk3566_rk3568/pro-rk3566-buildroot_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk356x/pro-rk3566.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk356x/pro-rk3566.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=rootroot
RK_OWNER_UID=1000
RK_PARAMETER=parameter-buildroot-fit.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3566_recovery
RK_RECOVERY_FIT_ITS=/home/rootroot/source/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2025-03-26_13-49-14
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3566
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3566-evb
RK_YOCTO_USBMOUNT=y

make: Entering directory '/home/rootroot/source/buildroot'
mkdir -p /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/tmp/tmp.0ZvVklgikU/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /tmp/tmp.0ZvVklgikU/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/conf.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"  -I. -c /tmp/tmp.0ZvVklgikU/build/buildroot-config/zconf.tab.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   /tmp/tmp.0ZvVklgikU/build/buildroot-config/conf.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/zconf.tab.o  -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/conf
rm /tmp/tmp.0ZvVklgikU/build/buildroot-config/zconf.tab.c
  GEN     /tmp/tmp.0ZvVklgikU/Makefile
/home/rootroot/source/buildroot/build/parse_defconfig.sh /home/rootroot/source/buildroot/configs/rockchip_rk3566_defconfig /tmp/tmp.0ZvVklgikU/.config.in
Parsing defconfig: /home/rootroot/source/buildroot/configs/rockchip_rk3566_defconfig
Using configs/rockchip/base/kernel.config as base
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/base/base.config
Merging configs/rockchip/chips/rk3566_rk3568.config
Merging configs/rockchip/chips/rk3566_rk3568_aarch64.config
Merging configs/rockchip/font/font.config
Merging configs/rockchip/font/chinese.config
Merging configs/rockchip/fs/exfat.config
Merging configs/rockchip/fs/ntfs.config
Merging configs/rockchip/fs/vfat.config
Merging configs/rockchip/gpu/gpu.config
Merging configs/rockchip/multimedia/audio.config
Merging configs/rockchip/multimedia/camera.config
Merging configs/rockchip/multimedia/gst/audio.config
Merging configs/rockchip/multimedia/gst/camera.config
Merging configs/rockchip/multimedia/gst/rtsp.config
Merging configs/rockchip/multimedia/gst/video.config
Merging configs/rockchip/multimedia/mpp.config
Merging configs/rockchip/wifibt/bt.config
Merging configs/rockchip/wifibt/network.config
Merging configs/rockchip/wifibt/wireless.config
Merging configs/rockchip/tools/benchmark.config
Merging configs/rockchip/tools/common.config
Merging configs/rockchip/tools/test.config
Merging configs/rockchip/chromium.config
Merging configs/rockchip/npu2.config
Merging configs/rockchip/powermanager.config
Merging configs/rockchip/weston.config
Merging configs/rockchip/font/font.config
Merging configs/rockchip/qt/qt5.config
Merging configs/rockchip/qt/app.config
Merging /home/rootroot/source/buildroot/configs/rockchip_rk3566_defconfig
Value of BR2_ROOTFS_OVERLAY is redefined by /home/rootroot/source/buildroot/configs/rockchip_rk3566_defconfig:
Previous value:    BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
Modify value:    BR2_ROOTFS_OVERLAY+="board/rockchip/rk3566_rk3568/fs-overlay/"
New value:    BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3566_rk3568/fs-overlay/"

#
# merged configuration written to /tmp/tmp.0ZvVklgikU/.config.in (needs make)
#
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/tmp/tmp.0ZvVklgikU/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/tmp/tmp.0ZvVklgikU/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/tmp/tmp.0ZvVklgikU/build/buildroot-config/tristate.config BR2_CONFIG=/tmp/tmp.0ZvVklgikU/.config HOST_GCC_VERSION="9" BASE_DIR=/tmp/tmp.0ZvVklgikU SKIP_LEGACY= CUSTOM_KERNEL_VERSION="5.10" BR2_DEFCONFIG=/home/rootroot/source/buildroot/configs/rockchip_rk3566_defconfig /tmp/tmp.0ZvVklgikU/build/buildroot-config/conf --defconfig=/tmp/tmp.0ZvVklgikU/.config.in Config.in
/tmp/tmp.0ZvVklgikU/.config.in:209:warning: override: reassigning to symbol BR2_PACKAGE_NTP
#
# configuration written to /tmp/tmp.0ZvVklgikU/.config
#
mkdir -p /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/tmp/tmp.0ZvVklgikU/build/buildroot-config -C support/kconfig -f Makefile.br mconf
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/checklist.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/checklist.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/inputbox.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/inputbox.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/menubox.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/menubox.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/textbox.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/textbox.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/util.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/util.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c lxdialog/yesno.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/yesno.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   -c mconf.c -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/mconf.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/tmp/tmp.0ZvVklgikU/build/buildroot-config -DCONFIG_=\"\"   /tmp/tmp.0ZvVklgikU/build/buildroot-config/mconf.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/zconf.tab.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/checklist.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/util.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/inputbox.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/textbox.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/yesno.o /tmp/tmp.0ZvVklgikU/build/buildroot-config/lxdialog/menubox.o -Wl,-Bsymbolic-functions -lncursesw -ltinfo -o /tmp/tmp.0ZvVklgikU/build/buildroot-config/mconf
configuration written to /tmp/tmp.0ZvVklgikU/.config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make: Leaving directory '/home/rootroot/source/buildroot'
Updating defconfig: configs/rockchip_rk3566_defconfig
Original defconfig saved to /tmp/tmp.0ZvVklgikU/.defconfig
/tmp/tmp.0ZvVklgikU/.config.tmp:210:warning: override: reassigning to symbol BR2_PACKAGE_NTP
Base defconfig saved to /tmp/tmp.0ZvVklgikU/.base_defconfig
Value of BR2_PACKAGE_ETHTOOL applied to fragment:
Base value:    
Final value:    BR2_PACKAGE_ETHTOOL=y

Value of BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10 applied to fragment:
Base value:    
Final value:    BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y

Value of BR2_ROOTFS_OVERLAY applied to fragment:
Base value:    BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
New value:    BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3566_rk3568/fs-overlay/"
Final value:    BR2_ROOTFS_OVERLAY+="board/rockchip/rk3566_rk3568/fs-overlay/"

/tmp/tmp.0ZvVklgikU/.config.tmp:209:warning: override: reassigning to symbol BR2_PACKAGE_NTP
/tmp/tmp.0ZvVklgikU/.config.tmp:209:warning: override: reassigning to symbol BR2_PACKAGE_NTP
Done updating configs/rockchip_rk3566_defconfig.
Running 30-rootfs.sh - buildroot-config succeeded.
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 
rootroot@rootroot-X99-Turbo:~/source$ 


root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# ethtool --version
ethtool version 5.12
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# [   36.271112] vcc3v3_lcd0_n: disabling
[   36.271203] vcc3v3_lcd1_n: disabling


参考资料:
百度:ethtool -s eth0 speed 1000 duplex full autoneg on 
RK3566 buildroot 以太网卡 获取IP地址异常 169.254.118.255

https://blog.youkuaiyun.com/weixin_36343353/article/details/119226687
服务器自动获取169.254,4种可能导致出现169.254 IP地址段而上不了网的解决方法

http://www.45fan.com/a/Router/889.html
4种可能导致出现169.254 IP地址段而上不了网的解决方法

4、端口速率不匹配的原因导致169.254地址段出现。一般电脑网卡速率为10/100M自适应,而某些路由器LAN口却只支持10M,此时,我们最好能修改本地连接端口速率用于同路由器LAN口速率同步,具体修改方法见《教你修改网卡之双工速率》。


https://worktile.com/kb/ask/298865.html
linux命令ethtool

ethtool命令是一个用于查看和配置以太网接口的工具。它可以提供关于网络接口的详细信息,并允许你对接口进行一些基本配置。以下是ethtool命令的一些常用选项和用法:

1. 查看网络接口的信息:
   ethtool eth0  # 查看eth0接口的详细信息
   ethtool -i eth0  # 查看eth0接口的驱动程序信息
   ethtool -g eth0  # 查看eth0接口支持的缓冲区大小

2. 开启或关闭接口的某些功能:
   ethtool -K eth0 rx on  # 开启eth0接口的接收功能
   ethtool -K eth0 tx off  # 关闭eth0接口的发送功能

3. 查询接口的速度、双工模式等:
   ethtool eth0 | grep Speed  # 查询eth0接口的速度
   ethtool eth0 | grep Duplex  # 查询eth0接口的双工模式

4. 修改接口的速度、双工模式等:
   ethtool -s eth0 speed 1000 duplex full  # 将eth0接口的速度设置为1000Mbps,双工模式设置为全双工

5. 查询接口的统计信息:
   ethtool -S eth0  # 查询eth0接口的统计信息,如接收和发送的数据包数量、错误数量等

6. 更改接口的链接状态:
   ethtool -s eth0 autoneg off  # 关闭eth0接口的自动协商功能
   ethtool -s eth0 autoneg on  # 开启eth0接口的自动协商功能

总而言之,ethtool命令可以用于查看和配置以太网接口的各种属性,从而帮助诊断和优化网络连接。通过使用不同选项和参数,你可以查看接口的详细信息、开启或关闭接口的某些功能、查询和修改接口的速度、双工模式等,以及查看接口的统计信息。

                                                                                                         

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值