@jugg 你买CM5板子以后需要做一条排线才能支持2个或者4个摄像头。默认的排线只能支持1个。
Posts
-
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
-
RE: Micro DisplayPort question
@murraytodd Insert your DP cable and print the mesg upload.
-
RE: Coolpi 4B not booting!
@Pharizna Please upgrade the loader to the latest version, format EMMC or TF card, and remake the boot image.
-
RE: cool pi 4b RebornOS support
@Pharizna Can other systems, such as ubuntu, be connected properly
-
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,
TMBThe released Ubuntu system image is already integrated with G610 driver by default
-
RE: cool pi 4b RebornOS support
@Pharizna Please take a photo of the front of your machine.
-
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(); + } } };
-
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的机器还需要增加一根转接排线,预计下周各个店铺会上线转接排线。 -
RE: CoolPi 4B硬件如何扩展 CAN接口
@Tourists-0 下面这个帖子有介绍GPIO的功能复用,40PIN 可以扩展两路CAN出来。
https://www.cool-pi.com/topic/68/coolpi-4b硬件扩展一-40pin接口介绍?_=1682384241578