• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. george
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 4
    • Topics 68
    • Posts 872
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: CSI支持

      @jugg 你买CM5板子以后需要做一条排线才能支持2个或者4个摄像头。默认的排线只能支持1个。

      posted in Pi CM5
      G
      george
    • RE: CSI支持

      @jugg CM5的核心板最多可以出6个CSI接口,CM5的底板目前引出了4个CSI接口,这四个接口在同一个连接器上面。

      posted in Pi CM5
      G
      george
    • RE: CSI支持

      @jugg CM5的机器就可以支持2个CSI的,4B的机器兼容树莓派所以只能1个。

      posted in Pi CM5
      G
      george
    • RE: CSI支持

      @jugg CM5-EVB最多可以支持4个IMX219同时工作。有4个独立的2line通道。
      b924858b-08f2-448e-82a3-035affb822bd-image.png

      posted in Pi CM5
      G
      george
    • RE: CSI支持

      @jugg 4B只能支持一个MIPI接口sensor。如果要支持更多sensor可以使用USB接口扩展。

      posted in Pi CM5
      G
      george
    • RE: How to install OpenCL/Kronos/OpenGL on CM5-EVB

      @tmb68 The following figure shows the test results of OpenCl, and the testing method will be provided later.

      coolpi@Ubuntu:~/share/clpeak/build$ ./clpeak 
      
      Platform: ARM Platform
      arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '7'.
        Device: Mali-LODX r0p0
          Driver version  : 2.1 (Linux ARM64)
          Compute units   : 4
          Clock frequency : 1000 MHz
      
          Global memory bandwidth (GBPS)
            float   : 21.35
            float2  : 23.18
            float4  : 24.05
            float8  : 12.08
            float16 : 11.06
      
          Single-precision compute (GFLOPS)
            float   : 447.12
            float2  : 476.20
            float4  : 472.35
            float8  : 440.72
            float16 : 416.19
      
          Half-precision compute (GFLOPS)
            half   : 447.25
            half2  : 888.31
            half4  : 921.77
            half8  : 897.50
            half16 : 856.49
      
          No double precision support! Skipped
      
          Integer compute (GIOPS)
            int   : 126.55
            int2  : 127.18
            int4  : 126.64
            int8  : 125.27
            int16 : 125.79
      
          Integer compute Fast 24bit (GIOPS)
            int   : 126.64
            int2  : 127.23
            int4  : 126.79
            int8  : 125.30
            int16 : 125.76
      
          Transfer bandwidth (GBPS)
            enqueueWriteBuffer              : 7.31
            enqueueReadBuffer               : 8.25
            enqueueWriteBuffer non-blocking : 7.30
            enqueueReadBuffer non-blocking  : 8.26
            enqueueMapBuffer(for read)      : 61.83
              memcpy from mapped ptr        : 9.57
            enqueueUnmap(after write)       : 61.21
              memcpy to mapped ptr          : 9.40
      
          Kernel launch latency : 19.97 us
      
      posted in Pi CM5
      G
      george
    • RE: CSI支持

      @jugg 可以支持2个4line或者4个2line的摄像头模组,比如IMX219接口可以支持4个同时工作。

      posted in Pi CM5
      G
      george
    • RE: Micro DisplayPort question

      @murraytodd Insert your DP cable and print the mesg upload.

      posted in Pi 4B
      G
      george
    • RE: Coolpi 4B not booting!

      @Pharizna Please upgrade the loader to the latest version, format EMMC or TF card, and remake the boot image.

      posted in Pi 4B
      G
      george
    • RE: cool pi 4b RebornOS support

      @Pharizna Can other systems, such as ubuntu, be connected properly

      posted in News
      G
      george
    • RE: How to install OpenCL/Kronos/OpenGL on CM5-EVB

      @tmb68 said in How to install OpenCL/Kronos/OpenGL on CM5-EVB:

      Can anyone provide the steps required to install OpenCL/Kronos/OpenGL on the CM5-EVB?
      Looking for support for the Mali-G610, not seeing UserSpace files on ARM or Rockchip sites.
      Thanks,
      TMB

      The released Ubuntu system image is already integrated with G610 driver by default

      posted in Pi CM5
      G
      george
    • RE: cool pi 4b RebornOS support

      @Pharizna Please take a photo of the front of your machine.

      posted in News
      G
      george
    • A Method for Dynamically Hiding the Status Bar on Android 11
      diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
      index c1d54b7..6228ef0 100755
      --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
      +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
      @@ -202,6 +202,8 @@ import java.util.Map;
       public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
               DragDownHelper.DragDownCallback, ActivityStarter, OnUnlockMethodChangedListener {
           static final String TAG = "PhoneStatusBar";
      +    static final String HIDE_NAVIGATION_BAR = "android.intent.action.HIDE_NAVIGATION_BAR";
      +    static final String SHOW_NAVIGATION_BAR = "android.intent.action.SHOW_NAVIGATION_BAR";
           public static final boolean DEBUG = BaseStatusBar.DEBUG;
           public static final boolean SPEW = false;
           public static final boolean DUMPTRUCK = true; // extra dumpsys info
      @@ -1090,6 +1092,8 @@ final Object mScreenshotLock = new Object();
                   filter.addAction("fake_artwork");
               }
               filter.addAction(ACTION_DEMO);
      +		    filter.addAction(HIDE_NAVIGATION_BAR);
      +        filter.addAction(SHOW_NAVIGATION_BAR);
               context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, null);
       
               // listen for USER_SETUP_COMPLETE setting (per-user)
      @@ -1381,6 +1385,12 @@ final Object mScreenshotLock = new Object();
                    return false;
                }
            };
      +	 
      +	    private void removeNavigationBar() {
      +        if (mNavigationBarView == null) return;
      +        		mWindowManager.removeView(mNavigationBarView);
      +        		mNavigationBarView = null;
      +      }	
             //$_rbox_$_modify_$_huangjc,add add/remove bar button	
             private View.OnTouchListener mHidebarPreloadOnTouchListener = new View.OnTouchListener() {
       
      @@ -1475,6 +1485,32 @@ final Object mScreenshotLock = new Object();
               mWindowManager.addView(mNavigationBarView, getNavigationBarLayoutParams());
           }
       
      +	  private void addNavigationBarInnerLocked(){
      +	      if(mNavigationBarView == null){
      +		       mNavigationBarView = (NavigationBarView) View.inflate(mContext, R.layout.navigation_bar, null);	
      +			     mNavigationBarView.setDisabledFlags(mDisabled);
      +			     mNavigationBarView.setBar(this);
      +			     mNavigationBarView.setOnTouchListener(new View.OnTouchListener() {
      +				@Override
      +				public boolean onTouch(View v, MotionEvent event) {
      +					checkUserAutohide(v, event);
      +					return false;
      +				}});
      +		    if (mNavigationBarView == null) return;
      +		
      +		       prepareNavigationBarView();
      +		      try {
      +		           mWindowManager.addView(mNavigationBarView, getNavigationBarLayoutParams());
      +		            } catch (Exception e) {
      +                  }	
      +	      }
      +    }
      +    public void displayNavigation(){
      +    	addNavigationBarInnerLocked();
      +    }
      +    public void hideNavigation(){
      +    	removeNavigationBar();
      +    }
           private void repositionNavigationBar() {
               if (mNavigationBarView == null || !mNavigationBarView.isAttachedToWindow()) return;
       
      @@ -3436,7 +3472,11 @@ final Object mScreenshotLock = new Object();
                       if (DEBUG_MEDIA_FAKE_ARTWORK) {
                           updateMediaMetaData(true);
                       }
      -            }
      +            }else if(HIDE_NAVIGATION_BAR.equals(action)){
      +               hideNavigation();
      +            }else if(SHOW_NAVIGATION_BAR.equals(action)){
      +               displayNavigation();
      +		}
               }
           };
      
      posted in Pi 4B
      G
      george
    • RE: Introduction to COOL PI CM5 interface

      @wuming 可以尝试按照下面帖子步骤处理:
      https://askubuntu.com/questions/1326386/ubuntu-20-04-lts-driver-intel-wi-fi-6e-ax210-160mhz

      posted in Pi CM5
      G
      george
    • RE: Introduction to COOL PI CM5 interface

      @wuming dmesg| grep hci0

      posted in Pi CM5
      G
      george
    • RE: Introduction to COOL PI CM5 interface

      @wuming
      IMX219
      【淘宝】https://m.tb.cn/h.UtvVLeM?tk=xKy7dm9s4XE CZ3457 「英伟达Jetson Nano摄像头模组 800万像素 IMX219芯片广角160度」
      点击链接直接打开 或者 淘宝搜索直接打开
      OV5647
      【淘宝】https://m.tb.cn/h.Utv42LD?tk=6mA3dm9HRea CZ3457 「OV5647摄像头 OV5647模块适用于Raspberry Pi 500万像素 广角65度」
      点击链接直接打开 或者 淘宝搜索直接打开
      除了摄像头模组以外,CM5的机器还需要增加一根转接排线,预计下周各个店铺会上线转接排线。

      posted in Pi CM5
      G
      george
    • RE: 桌面抓取

      @jugg 还可以参考下图方法直接dump出buffer
      4576f6c9-670c-4d3e-a852-edb90eb4874f-image.png

      posted in Ubuntu
      G
      george
    • RE: 桌面抓取

      @jugg
      可以参考这个:
      https://gitee.com/andyshrk/drm/blob/master/tests/ovltest/ovltest.c
      或者 drm 下面writeback 的使用方法参考:
      https://patchwork.kernel.org/project/dri-devel/patch/20220812231757.1454-3-quic_rohiiyer@quicinc.com/

      posted in Ubuntu
      G
      george
    • RE: CoolPi 4B硬件如何扩展 CAN接口

      @Tourists-0 下面这个帖子有介绍GPIO的功能复用,40PIN 可以扩展两路CAN出来。
      https://www.cool-pi.com/topic/68/coolpi-4b硬件扩展一-40pin接口介绍?_=1682384241578

      posted in Hardware
      G
      george
    • RE: Introduction to COOL PI CM5 interface

      @wuming 机器的40pin排针旁边有版本号

      posted in Pi CM5
      G
      george
    • 1 / 1