20240621在飞凌的OK3588-C开发板的Buildroot系统中集成i2ctool工具

20240621在飞凌的OK3588-C开发板中打开i2ctool工具
2024/6/21 17:44


默认继承的i2c工具:
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# i2c
i2c-stub-from-dump  i2cdump             i2cset
i2cdetect           i2cget              i2ctransfer

root@rk3588-buildroot:/# i2c


如果没有集成,请按照如下步骤打开:
1.进入目录执行make menuconfig
2.按“/”进行搜索
3.搜索:BR2_PACKAGE_BUSYBOX_SHOW_OTHERS与BR2_PACKAGE_I2C_TOOLS 分别打开。
4.

make menuconfig
    Target packages  ---
        Hardware handling  --->
            -*- BusyBox
             [*]   Show packages that are also provided by busybox

make menuconfig
    Target packages  ---> 
         Hardware handling  --->
             [*] i2c-tools


viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs/buildroot$ ls -l
total 948
drwxr-xr-x    2 viewpro viewpro   4096 12月 21 09:40 arch
drwxr-xr-x   76 viewpro viewpro   4096 12月 21 09:40 board
drwxr-xr-x   26 viewpro viewpro   4096 12月 21 09:40 boot
drwxr-xr-x    2 viewpro viewpro   4096 12月 21 09:40 build
-rw-r--r--    1 viewpro viewpro 454027 12月 21 09:40 CHANGES
-rw-r--r--    1 viewpro viewpro  29466 12月 21 09:40 Config.in
-rw-r--r--    1 viewpro viewpro 135620 12月 21 09:40 Config.in.legacy
drwxr-xr-x    3 viewpro viewpro  20480 12月 21 09:45 configs
-rw-r--r--    1 viewpro viewpro  18767 12月 21 09:40 COPYING
-rw-r--r--    1 viewpro viewpro  72417 12月 21 09:40 DEVELOPERS
drwxr-xr-x  235 viewpro viewpro  12288 12月 21 09:40 dl
drwxr-xr-x    5 viewpro viewpro   4096 12月 21 09:40 docs
drwxr-xr-x   20 viewpro viewpro   4096 12月 21 09:40 fs
drwxr-xr-x    2 viewpro viewpro   4096 12月 21 09:40 linux
-rw-r--r--    1 viewpro viewpro  45884 12月 21 09:40 Makefile
-rw-r--r--    1 viewpro viewpro   2292 12月 21 09:40 Makefile.legacy
drwxrwxr-x    3 viewpro viewpro   4096 6月  20 18:03 output
drwxr-xr-x 2586 viewpro viewpro 106496 12月 21 09:40 package
-rw-r--r--    1 viewpro viewpro   1075 12月 21 09:40 README
drwxr-xr-x   13 viewpro viewpro   4096 12月 21 09:40 support
drwxr-xr-x    3 viewpro viewpro   4096 12月 21 09:40 system
drwxr-xr-x    5 viewpro viewpro   4096 12月 21 09:40 toolchain
drwxr-xr-x    3 viewpro viewpro   4096 12月 21 09:40 utils
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs/buildroot$ make menuconfig

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


 Search (i2c) qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Search Results qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x Symbol: BR2_PACKAGE_I2C_TOOLS [=n]                                                                                                                                                                       x  
  x Type  : bool                                                                                                                                                                                             x  
  x Prompt: i2c-tools                                                                                                                                                                                        x  
  x   Location:                                                                                                                                                                                              x  
  x     -> Target packages                                                                                                                                                                                   x  
  x (1)   -> Hardware handling                                                                                                                                                                               x  
  x   Defined at package/i2c-tools/Config.in:1                                                                                                                                                               x  
  x   Depends on: BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=n]                                                                                                                                                       x  
  x   Selected by [n]:                                                                                                                                                                                       x  
  x   - BR2_PACKAGE_EEPROG [=n] && !BR2_SKIP_LEGACY [=n]                                                                                                                                                     x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x Symbol: BR2_PACKAGE_LIBNFC_PN532_I2C [=n]                                                                                                                                                                x  
  x Type  : bool                                                                                                                                                                                             x  
  x Prompt: pn532_i2c driver                                                                                                                                                                                 x  
  x   Location:                                                                                                                                                                                              x  
  x     -> Target packages                                                                                                                                                                                   x  
  x       -> Libraries                                                                                                                                                                                       x  
  x         -> Hardware handling                                                                                                                                                                             x  
  x (2)       -> libnfc (BR2_PACKAGE_LIBNFC [=n])                                                                                                                                                            x  
  x   Defined at package/libnfc/Config.in:48                                                                                                                                                                 x  
  x   Depends on: BR2_PACKAGE_LIBNFC [=n]                                                                                                                                                                    x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x                                             


qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Target packages qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  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          x  
  x  <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                             x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                    Hardware Platforms  --->                                                                                                          x x  
  x x                                                                    Forlinx Hardware Platforms  --->                                                                                                  x x  
  x x                                                                    Forlinx Gstreamer Select  --->                                                                                                    x x  
  x x                                                                -*- BusyBox                                                                                                                           x x  
  x x                                                                [ ]   Enable static (NEW)                                                                                                             x x  
  x x                                                                (package/busybox/busybox.config) BusyBox configuration file to use? (NEW)                                                             x x  
  x x                                                                ()    Additional BusyBox configuration fragment files (NEW)                                                                           x x  
  x x                                                                [ ]   Show packages that are also provided by busybox (NEW)                                                                           x x  
  x x                                                                [ ]   Individual binaries (NEW)                                                                                                       x x  
  x x                                                                [ ]   Install the watchdog daemon startup script (NEW)                                                                                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  
  x x                                                                                                                                                                                                      x x  
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
  x                                                                         <Select>    < Exit >    < Help >    < Save >    < Load >    


qqqqqq Hardware handling qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  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          x  
  x  <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                             x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                    Firmware  --->                                                                                                                    x x  
  x x                                                                [ ] 18xx-ti-utils (NEW)                                                                                                               x x  
  x x                                                                [ ] acpica (NEW)                                                                                                                      x x  
  x x                                                                [ ] acpid (NEW)                                                                                                                       x x  
  x x                                                                    *** acpitool needs a toolchain w/ threads, C++, dynamic library ***                                                               x x  
  x x                                                                [ ] aer-inject (NEW)                                                                                                                  x x  
  x x                                                                [ ] altera-stapl (NEW)                                                                                                                x x  
  x x                                                                    *** apcupsd needs a toolchain w/ C++, threads ***                                                                                 x x  
  x x                                                                    *** avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library, gcc >= 4.9 ***                                  x x  
  x x                                                                    *** bcache-tools needs udev /dev management ***                                                                                   x x  
  x x                                                                    *** brickd needs udev /dev management, a toolchain w/ threads, wchar ***                                                          x x  
  x x                                                                    *** brltty needs a toolchain w/ dynamic lib, threads, wchar ***                                                                   x x  
  x x                                                                    *** cc-tool needs a toolchain w/ C++, threads, wchar, gcc >= 4.9  ***                                                             x x  
  x x                                                                [ ] cdrkit (NEW)                                                                                                                      x x  
  x x                                                                [ ] cryptsetup (NEW)                                                                                                                  x x  
  x x                                                                    *** dahdi-linux needs a Linux kernel to be built ***                                                                              x x  
  x x                                                                    *** dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built ***                                                   x x  
  x x                                                                [ ] dbus (NEW)                                                                                                                        x x  
  x x                                                                [ ] dfu-util (NEW)                                                                                                                    x x  
  x x                                                                [ ] dmidecode (NEW)                                                                                                                   x x  
  x x                                                                [ ] dmraid (NEW)                                                                                                                      x x  
  x x                                                                    *** dt-utils needs udev /dev management ***                                                                                       x x  
  x x                                                                    *** dtbocfg needs a Linux kernel to be built ***                                                                                  x x  
  x x                                                                [ ] dtv-scan-tables (NEW)                                                                                                             x x  
  x x                                                                [ ] dump1090 (NEW)                                                                                                                    x x  
  x x                                                                [ ] dvb-apps (NEW)                                                                                                                    x x  
  x x                                                                [ ] dvbsnoop (NEW)                                                                                                                    x x  
  x x                                                                    *** eudev needs eudev /dev management ***                                                                                         x x  
  x x                                                                    *** eudev needs a toolchain w/ wchar, dynamic library ***                                                                         x x  
  x x                                                                [ ] evemu (NEW)                                                                                                                       x x  
  x x                                                                [ ] evtest (NEW)                                                                                                                      x x  
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq↓(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
  x                                                                         <Select>    < Exit >    < Help >    < Save >    < Load >                                                                         x  
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                                                                                                                                                                

【第二屏幕没有】
qqq Hardware handling qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  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          x  
  x  <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                             x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq↑(-)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                [ ] evtest (NEW)                                                                                                                      x x  
  x x                                                                [ ] fan-ctrl (NEW)                                                                                                                    x x  
  x x                                                                [ ] fconfig (NEW)                                                                                                                     x x  
  x x                                                                [ ] flashrom (NEW)                                                                                                                    x x  
  x x                                                                [ ] fmtools (NEW)                                                                                                                     x x  
  x x                                                                [ ] fxload (NEW)                                                                                                                      x x  
  x x                                                                [ ] gpm (NEW)                                                                                                                         x x  
  x x                                                                [ ] gpsd (NEW)  ----                                                                                                                  x x  
  x x                                                                    *** gptfdisk needs a toolchain w/ C++ ***                                                                                         x x  
  x x                                                                    *** gvfs needs a toolchain w/ wchar, threads, dynamic library ***                                                                 x x  
  x x                                                                [ ] hwdata (NEW)                                                                                                                      x x  
  x x                                                                [ ] hwloc (NEW)                                                                                                                       x x  
  x x                                                                [ ] i7z (NEW)                                                                                                                         x x  
  x x                                                                [ ] input-event-daemon (NEW)                                                                                                          x x  
  x x                                                                [ ] intel-microcode (NEW)                                                                                                             x x  
  x x                                                                [ ] ipmitool (NEW)                                                                                                                    x x  
  x x                                                                [ ] ipmiutil (NEW)                                                                                                                    x x  
  x x                                                                [ ] irda-utils (NEW)                                                                                                                  x x  
  x x                                                                [ ] iucode-tool (NEW)                                                                                                                 x x  
  x x                                                                [ ] kbd (NEW)                                                                                                                         x x  
  x x                                                                [ ] lcdproc (NEW)                                                                                                                     x x  
  x x                                                                    *** libiec61850 needs a toolchain w/ C++, threads, dynamic library ***                                                            x x  
  x x                                                                [ ] libubootenv (NEW)                                                                                                                 x x  
  x x                                                                [ ] libuio (NEW)                                                                                                                      x x  
  x x                                                                    *** linux-backports needs a Linux kernel to be built ***                                                                          x x  
  x x                                                                [ ] linux-serial-test (NEW)                                                                                                           x x  
  x x                                                                [ ] linuxconsoletools (NEW)                                                                                                           x x  
  x x                                                                    *** lirc-tools needs a toolchain w/ threads, dynamic library, C++ ***                                                             x x  
  x x                                                                [ ] lm-sensors (NEW)                                                                                                                  x x  
  x x                                                                    *** lshw needs a toolchain w/ C++, wchar ***                                                                                      x x  
  x x                                                                [ ] lsscsi (NEW)                                                                                                                      x x  
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq↓(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
  x                                                                         <Select>    < Exit >    < Help >    < Save >    < Load >   


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


x Symbol: BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=n]                                                                                                                                                             x  
  x Type  : bool                                                                                                                                                                                             x  
  x Prompt: Show packages that are also provided by busybox                                                                                                                                                  x  
  x   Location:                                                                                                                                                                                              x  
  x     -> Target packages                                                                                                                                                                                   x  
  x (7)   -> BusyBox (BR2_PACKAGE_BUSYBOX [=y])                                                                                                                                                              x  
  x   Defined at package/busybox/Config.in:37                                                                                                                                                                x  
  x   Depends on: BR2_PACKAGE_BUSYBOX [=y]                                                                                                                                                                   x  
  x   Selected by [n]:                                                                                                                                                                                       x  
  x   - BR2_INIT_SYSV [=n] && <choice> && BR2_USE_MMU [=y]                                                                                                                                                   x  
  x   - BR2_PACKAGE_TOVID [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_INSTALL_LIBSTDCPP [=n] && BR2_USE_WCHAR [=n] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=n]) && BR2_PAC x  
  x   - BR2_PACKAGE_V4L2LOOPBACK_UTILS [=n] && BR2_PACKAGE_V4L2LOOPBACK [=n] && BR2_USE_MMU [=y]                                                                                                             x  
  x   - BR2_PACKAGE_POKE [=n] && BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS [=y] && BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS_NPTL [=y]                                                                   x  
  x   - BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS [=n] && BR2_PACKAGE_GLSLSANDBOX_PLAYER [=n] && !BR2_PACKAGE_PYTHON [=n] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && BR2 x  
  x   - BR2_PACKAGE_DEHYDRATED [=n] && BR2_USE_MMU [=y]                                                                                                                                                      x  
  x   - BR2_PACKAGE_FRR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_SYNC_4 [=y]                                                                 x  
  x   - BR2_PACKAGE_EBTABLES_UTILS_SAVE [=n] && BR2_PACKAGE_EBTABLES [=n]                                                                                                                                    x  
  x   - BR2_PACKAGE_OPKG_UTILS [=n] && (!BR2_nios2 [=n] || BR2_PACKAGE_BUSYBOX [=y]) && BR2_USE_MMU [=y] && BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n] && !BR2_PACKAGE_PY x  
  x   - BR2_PACKAGE_APPARMOR_UTILS [=n] && BR2_PACKAGE_APPARMOR [=n] && BR2_PACKAGE_PYTHON3 [=n]                                                                                                             x  
  x   - BR2_PACKAGE_OPENRC [=n] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n] && BR2_INIT_OPENRC [=n]                                                                                                         x  
  x   - BR2_PACKAGE_SYSTEMD [=n] && BR2_INIT_SYSTEMD [=n] && BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_USES_GLIBC [=n] && BR2_TOOLCHAIN_HAS_SSP [ x  
  x   - BR2_PACKAGE_LIBVIRT_DAEMON [=n] && BR2_PACKAGE_LIBVIRT [=n]                                                                                                                                          x  
  x   - BR2_PACKAGE_EEPROG [=n] && !BR2_SKIP_LEGACY [=n]                                                                                                                                                     x  


qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Target packages qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  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          x  
  x  <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                             x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                    Hardware Platforms  --->                                                                                                          x x  
  x x                                                                    Forlinx Hardware Platforms  --->                                                                                                  x x  
  x x                                                                    Forlinx Gstreamer Select  --->                                                                                                    x x  
  x x                                                                -*- BusyBox                                                                                                                           x x  
  x x                                                                [ ]   Enable static (NEW)                                                                                                             x x  
  x x                                                                (package/busybox/busybox.config) BusyBox configuration file to use? (NEW)                                                             x x  
  x x                                                                ()    Additional BusyBox configuration fragment files (NEW)                                                                           x x  
  x x                                                                [ ]   Show packages that are also provided by busybox (NEW)                                                                           x x  
  x x                                                                [ ]   Individual binaries (NEW)                                                                                                       x x  
  x x                                                                [ ]   Install the watchdog daemon startup script (NEW)                                                                                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  
  x x                                                                                                                                                                                                      x x  
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
  x                                                                         <Select>    < Exit >    < Help >    < Save >    < Load > 


 /home/viewpro/versions/fpga_OK3588_Linux_fs/buildroot/.config - Buildroot 2021.11 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

                                                                          lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                                                                          x  Do you wish to save your new configuration?             x  
                                                                          x  (Press <ESC><ESC> to continue Buildroot configuration.) x  
                                                                          tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
                                                                          x                   < Yes >      <  No  >  


qqqq Hardware handling qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  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          x  
  x  <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] feature is selected  [ ] feature is excluded                                                                                             x  
  x                                                                                                                                                                                                          x  
  x                                                                                                                                                                                                          x  
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq↑(-)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x  
  x x                                                                [ ] evtest                                                                                                                            x x  
  x x                                                                [ ] fan-ctrl                                                                                                                          x x  
  x x                                                                [ ] fconfig                                                                                                                           x x  
  x x                                                                [ ] flashrom                                                                                                                          x x  
  x x                                                                [ ] fmtools                                                                                                                           x x  
  x x                                                                [ ] fxload                                                                                                                            x x  
  x x                                                                [ ] gpm                                                                                                                               x x  
  x x                                                                [ ] gpsd  ----                                                                                                                        x x  
  x x                                                                    *** gptfdisk needs a toolchain w/ C++ ***                                                                                         x x  
  x x                                                                    *** gvfs needs a toolchain w/ wchar, threads, dynamic library ***                                                                 x x  
  x x                                                                [ ] hdparm                                                                                                                            x x  
  x x                                                                [ ] hwdata                                                                                                                            x x  
  x x                                                                [ ] hwloc                                                                                                                             x x  
  x x                                                                [ ] i2c-tools                                                                                                                         x x  
  x x                                                                [ ] i7z                                                                                                                               x x  
  x x                                                                [ ] input-event-daemon                                                                                                                x x  
  x x                                                                [ ] intel-microcode                                                                                                                   x x  
  x x                                                                [ ] ipmitool                                                                                                                          x x  
  x x                                                                [ ] ipmiutil                                                                                                                          x x  
  x x                                                                [ ] irda-utils                                                                                                                        x x  
  x x                                                                [ ] iucode-tool                                                                                                                       x x  
  x x                                                                [ ] kbd                                                                                                                               x x  
  x x                                                                [ ] lcdproc                                                                                                                           x x  
  x x                                                                    *** libiec61850 needs a toolchain w/ C++, threads, dynamic library ***                                                            x x  
  x x                                                                [ ] libubootenv                                                                                                                       x x  
  x x                                                                [ ] libuio                                                                                                                            x x  
  x x                                                                    *** linux-backports needs a Linux kernel to be built ***                                                                          x x  
  x x                                                                [ ] linux-serial-test                                                                                                                 x x  
  x x                                                                [ ] linuxconsoletools                                                                                                                 x x  
  x x                                                                    *** lirc-tools needs a toolchain w/ threads, dynamic library, C++ ***                                                             x x  
  x x                                                                [ ] lm-sensors                                                                                                                        x x  
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq↓(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x  
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
  x                                                                         <Select>    < Exit >    < Help >    < Save >    < Load >                                                                         x  
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                                                                                                         

viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ sudo ./build.sh 


viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ ./build.sh --help
processing option: --help
Usage: build.sh [OPTIONS]
Available options:
BoardConfig*.mk    -switch to specified board config
lunch              -list current SDK boards and switch to specified board config
wifibt             -build wifibt
uboot              -build uboot
uefi         -build uefi
spl                -build spl
loader             -build loader
kernel-4.4         -build kernel 4.4
kernel-4.19        -build kernel 4.19
kernel-5.10        -build kernel 5.10
kernel             -build kernel
modules            -build kernel modules
rootfs             -build rootfs (default is buildroot)
buildroot          -build buildroot rootfs
yocto              -build yocto rootfs
debian             -build debian rootfs
pcba               -build pcba
recovery           -build recovery
all                -build uboot, kernel, rootfs, recovery image
cleanall           -clean uboot, kernel, rootfs, recovery
firmware           -pack all the image we need to boot up system
updateimg          -pack update image
otapackage         -pack ab update otapackage image (update_ota.img)
sdpackage          -pack update sdcard package image (update_sdcard.img)
save               -save images, patches, commands used to debug
allsave            -build all & firmware & updateimg & save
info               -see the current board building information

createkeys         -create secureboot root keys
security_rootfs    -build rootfs and some relevant images with security paramter (just for dm-v)
security_boot      -build boot with security paramter
security_uboot     -build uboot with security paramter
security_recovery  -build recovery with security paramter
security_check     -check security paramter if it's good

Default option is 'allsave'.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ sudo ./build.sh buildroot


viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ sudo ./build.sh cleanall
processing option: cleanall
clean uboot, kernel, rootfs, recovery
make: Entering directory '/home/viewpro/versions/fpga_OK3588_Linux_fs/u-boot'
make: Nothing to be done for 'distclean'.
make: Leaving directory '/home/viewpro/versions/fpga_OK3588_Linux_fs/u-boot'
make: Entering directory '/home/viewpro/versions/fpga_OK3588_Linux_fs/kernel'
  CLEAN   certs
  CLEAN   drivers/firmware/efi/libstub
  CLEAN   drivers/misc/lkdtm
  CLEAN   drivers/scsi
  CLEAN   drivers/tty/vt
fatal: not a git repository (or any of the parent directories): .git
  CLEAN   fs/unicode
  CLEAN   kernel
  CLEAN   lib
  CLEAN   net/wireless
  CLEAN   usr
/bin/sh: 1: ./scripts/gcc-wrapper.py: not found
/bin/sh: 1: ./scripts/gcc-wrapper.py: not found
  CLEAN   vmlinux.symvers modules-only.symvers modules.builtin modules.builtin.modinfo
  CLEAN   scripts/basic
  CLEAN   scripts/dtc
  CLEAN   scripts/kconfig
  CLEAN   scripts/mod
  CLEAN   scripts
  CLEAN   include/config include/generated .config .version Module.symvers
make: Leaving directory '/home/viewpro/versions/fpga_OK3588_Linux_fs/kernel'
Running build_cleanall succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/versions/fpga_OK3588_Linux_fs$ 


 


参考资料:
百度:I2CDETECT 扫描总线

https://www.elecfans.com/d/2195063.html
i2c detect扫描i2c总线上的设备


https://blog.csdn.net/weixin_42581177/article/details/131158404
Linux下的I2C工具:i2c_tools


https://blog.csdn.net/weixin_42581177/article/details/131158404
Linux下的I2C工具:i2c_tools

https://blog.csdn.net/yyzsyx/article/details/136278178
i2c总线及设备测试工具i2ctools:i2cdetect、i2cdump、i2cget、i2cset


https://wenku.baidu.com/view/d59d9f8851ea551810a6f524ccbff121dc36c55b?aggId=d59d9f8851ea551810a6f524ccbff121dc36c55b&fr=catalogMain_&_wkts_=1718965551554
I2CDETECT+扫描总线
i2cdetect的用法
i2cdetect原理

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值