@shengxia 是独立的。
Posts made by 大法师
-
A greate tool for creating disk image
Genimage - The Image Creation Tool
genimage is a tool to generate multiple filesystem and flash/disk images from a given root filesystem tree. genimage is intended to be run in a fakeroot environment.
It also supports creating flash/disk images out of different file-system images and files.
Configuration is done in a config file parsed by libconfuse. Options like the path to tools can be given via environment variables, the config file or from commandline switches.
-
cool pi nano rv1106 with ubuntu22 server
Booting system from tf card
COOLPI LOADER BY YANYI(Jul 11 2023) DRAM: 256 MiB Using default environment boot mode: None eth0: ethernet@ffa80000 Autoboot in 1 seconds switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf reading /extlinux/extlinux.conf 192 bytes read in 6 ms (31.3 KiB/s) 1: Linux coolpi Retrieving file: /initrd32.img reading /initrd32.img 35643864 bytes read in 2980 ms (11.4 MiB/s) Retrieving file: /vmlinuz reading /vmlinuz 2173048 bytes read in 185 ms (11.2 MiB/s) append: root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 net.ifnames=0 rtleth=ethaddr:be:50:64:cc:c8:53 Retrieving file: /rv1106-cpnano.dtb reading /rv1106-cpnano.dtb 32649 bytes read in 7 ms (4.4 MiB/s) ## Flattened Device Tree blob at 0x00c00000 Booting using the fdt blob at 0x00c00000 Using Device Tree in place at 00c00000, end 00c0af88 Adding bank: 0x00000000 - 0x10000000 (size: 0x10000000) Starting kernel ... ubuntu login: root Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.10.110 armv7l) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Sep 9 18:51:14 UTC 2022 System load: 0.353515625 Swap usage: 0% Users logged in: 0 Usage of /: 33.9% of 3.49GB Temperature: 44.6 C Memory usage: 23% Processes: 54 Expanded Security Maintenance for Applications is not enabled. 0 updates can be applied immediately. Enable ESM Apps to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@ubuntu:~# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 69.82 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 Hardware : Generic DT based system Revision : 0000 Serial : d3bd77b45eddde16 root@ubuntu:~#
-
RE: 瑞芯微新一代机器视觉方案RV1106及RV1103
基于coolpi 4b ubuntu22系统编译coolpi nano(RV1106)内核
首先需要安装32位arm-gcc编译工具链
coolpi@coolpi:~/kernel/coolpi-kernel$ sudo apt install gcc-arm-linux-gnueabi Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: aapt adb android-libaapt android-libadb android-libandroidfw android-libbacktrace android-libbase android-libboringssl android-libcrypto-utils android-libcutils android-liblog android-libunwind android-libutils android-libziparchive android-sdk-platform-tools-common fonts-lyx inotify-tools libboost-dev libboost1.74-dev libexpat1-dev libinotifytools0 libjs-jquery-ui liblbfgsb0 libllvm15 libopenblas-dev libopenblas-pthread-dev libopenblas0 libpython3-dev libpython3.10-dev libqhull-r8.0 libxsimd-dev python-matplotlib-data python3-appdirs python3-beniget python3-cycler python3-decorator python3-dev python3-fonttools python3-fs python3-gast python3-kiwisolver python3-lz4 python3-matplotlib python3-mpmath python3-numpy python3-packaging python3-ply python3-pyqt5 python3-pyqt5.sip python3-pythran python3-scipy python3-sympy python3-ufolib2 python3-unicodedata2 python3-wheel python3.10-dev unicode-data zlib1g-dev Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: binutils-arm-linux-gnueabi cpp-11-arm-linux-gnueabi cpp-arm-linux-gnueabi gcc-11-arm-linux-gnueabi gcc-11-arm-linux-gnueabi-base gcc-11-cross-base gcc-12-cross-base libasan6-armel-cross libatomic1-armel-cross libc6-armel-cross libc6-dev-armel-cross libgcc-11-dev-armel-cross libgcc-s1-armel-cross libgomp1-armel-cross libstdc++6-armel-cross libubsan1-armel-cross linux-libc-dev-armel-cross Suggested packages: binutils-doc gcc-11-locales cpp-doc gcc-11-doc autoconf automake libtool gdb-arm-linux-gnueabi gcc-doc The following NEW packages will be installed: binutils-arm-linux-gnueabi cpp-11-arm-linux-gnueabi cpp-arm-linux-gnueabi gcc-11-arm-linux-gnueabi gcc-11-arm-linux-gnueabi-base gcc-11-cross-base gcc-12-cross-base gcc-arm-linux-gnueabi libasan6-armel-cross libatomic1-armel-cross libc6-armel-cross libc6-dev-armel-cross libgcc-11-dev-armel-cross libgcc-s1-armel-cross libgomp1-armel-cross libstdc++6-armel-cross libubsan1-armel-cross linux-libc-dev-armel-cross 0 upgraded, 18 newly installed, 0 to remove and 42 not upgraded. Need to get 37.7 MB of archives. After this operation, 119 MB of additional disk space will be used. Do you want to continue? [Y/n] ...
然后修改默认编译脚本
coolpi@coolpi:~/kernel/coolpi-kernel$ git diff build-kernel.sh diff --git a/build-kernel.sh b/build-kernel.sh index 3eb4d07d8041..4bb6d806ebd8 100755 --- a/build-kernel.sh +++ b/build-kernel.sh @@ -69,6 +69,9 @@ if [ "$RV1106" == "1" ]; then TOOLCHAIN_ARM32=$K_SRC/toolchain32uc/bin export PATH=$TOOLCHAIN_ARM32:$PATH fi + if [ "$ARCH" == "aarch64" ]; then + export CROSS_COMPILE=arm-linux-gnueabi- + fi coolpi@coolpi:~/kernel/coolpi-kernel$
执行nano主板内核编译
coolpi@coolpi:~/kernel/coolpi-kernel$ ./build-kernel.sh cpnano
编译生成目录结构
coolpi@coolpi:~/kernel/coolpi-kernel$ tree out out ├── extlinux │ └── extlinux.conf ├── initrd32.img ├── modules.tar.gz ├── rv1106-cpnano.dtb └── vmlinuz 1 directory, 5 files
-
RE: how about batocera with cool pi 4b
- rootfs need install AIC8800 firmware to /lib/firmware;
- add script file /etc/init.d/S29coolpi_bt;
- add script file /usr/bin/bt_load_coolpi_firmware;
-
RE: Upgrading always bricks my SSD images
@murraytodd 4b or cm5 evb board? could you supply some more message through uart console?
-
openKylin 1.0版本发布(里程碑)
openKylin开源操作系统
镜像下载地址 Cool Pi 4B OpenKylin
更新内核
4b内核驱动安装包openKylin 1.0版本操作系统目前适配支持X86、ARM、RISC-V三个架构的个人电脑、平板电脑及教育开发板,可以满足绝大多数个人用户及开发者的使用需求!其中ARM架构完成了树莓派Raspberry Pi、Cool Pi、双椒派Chillie Pi等开发板的适配,RISC-V架构完成了VisonFive2、HiFive、算能SG2042 EVB、荔枝派Lichepi4a、Lotus2开发板适配。
-
Coolpi 4b/cm5 android install with Udisk
use rufus tool
Download system iso file, then run the tool that make a bootable USB stick.
Example: Image file name coolpi-sdcard.img
Insert the USB stick into the blue USB3.0 port (the bottom one) of 4b board, then power up and wait for automatic installation to complete. User can view installation status via serial port or hdmi out display.
-
RE: Support for Ubuntu 22.04 Server on CoolPi
20230704_Ubuntu22_Server_CoolPi_4B_百度网盘
user name: ubuntu
password: coolpi -
RE: Support for Ubuntu 22.04 Server on CoolPi
@dbtech The server image will be uploaded later.
-
RE: Coolpi 4b在使用ttyS0-S2口时,总是出现串口掉线,使用很不稳定,这个是为什么呢?有解决方案吗?
@零度灬救赎
cat /proc/cmdline查看对应的console有没有指向ttyS0,如果有,可以编辑/boot/firmware/extlinux/extlinux.conf,更改指向tty0 -
cool pi 4b UOS统信系统版本
统信官方网站
https://home.uniontech.com/建议内存容量8GB及以上
cool pi 4b使用etcher软件烧录镜像:UOS_4B百度网盘cool pi cm5 evb使用etcher软件烧录镜像:UOS_CM5_EVB 百度网盘
默认用户名uos 初始密码cool
-
RE: how about batocera with cool pi 4b
@cyberwisk GPIO function with image not test, someone can build sources from batocera official github. The basic firmware support audio sound, also can play games.
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
这个方法我一直在用,没遇到你说的现象。U盘多大容量,需要备份的系统有多大,系统还原异常的完整log输出一份
-
cool pi boards run waydroid
ubuntu22 (wayland) now have some errors.
add args 'systemd.unified_cgroup_hierarchy=0'
coolpi@coolpi:~$ cat /proc/cmdline root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet systemd.unified_cgroup_hierarchy=0 splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 rtleth=ethaddr:32:fa:e2:50:53:e8 coolpi@coolpi:~$
install waydroid:
sudo apt install curl ca-certificates -y curl https://repo.waydro.id | sudo bash sudo apt install waydroid -y
coolpi@coolpi:~$ sudo waydroid container start;waydroid session start
coolpi@coolpi:~$ waydroid status Session: RUNNING Container: RUNNING Vendor type: MAINLINE IP address: UNKNOWN Session user: coolpi(1000) Wayland display: wayland-0 coolpi@coolpi:~$ coolpi@coolpi:~$ coolpi@coolpi:~$ waydroid show-full-ui [14:55:56] Failed to get service waydroidplatform, trying again... [14:55:57] Failed to get service waydroidplatform, trying again... [14:55:58] Failed to get service waydroidplatform, trying again... ^CTraceback (most recent call last): File "/usr/bin/waydroid", line 9, in <module> sys.exit(tools.main()) File "/usr/lib/waydroid/tools/__init__.py", line 126, in main actions.app_manager.showFullUI(args) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 132, in showFullUI maybeLaunchLater(args, justShow) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 69, in maybeLaunchLater launchNow() File "/usr/lib/waydroid/tools/actions/app_manager.py", line 120, in justShow platformService = IPlatform.get_service(args) File "/usr/lib/waydroid/tools/interfaces/IPlatform.py", line 318, in get_service time.sleep(1) KeyboardInterrupt coolpi@coolpi:~$ sudo waydroid shell [sudo] password for coolpi: :/ # uname -a Linux waydroid 5.10.110 #13 SMP Thu Jun 15 10:17:49 CST 2023 aarch64 :/ #
06-16 07:00:50.694 50 50 E tombstoned: Tombstone written to: /data/tombstones/tombstone_28 06-16 07:00:50.793 3013 3013 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'... 06-16 07:00:54.000 3013 3013 I chatty : uid=1000 system_server identical 43 lines 06-16 07:00:54.100 3013 3013 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'... 06-16 07:00:54.201 3013 3013 W ServiceManager: Service SurfaceFlinger didn't start. Returning NULL 06-16 07:00:54.451 3013 3013 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'... 06-16 07:00:55.654 3013 3013 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'... 06-16 07:00:55.662 3079 3079 I SurfaceFlinger: Using HWComposer service: 'default' 06-16 07:00:55.662 3079 3079 I SurfaceFlinger: SurfaceFlinger is starting 06-16 07:00:55.663 3079 3079 I SurfaceFlinger: Disabling backpressure propagation 06-16 07:00:55.663 3079 3079 I SurfaceFlinger: Disabling blur effects, they are not supported. 06-16 07:00:55.663 3079 3079 I SurfaceFlinger: Treble testing override: 'false' 06-16 07:00:55.664 3079 3079 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W... 06-16 07:00:55.664 3079 3079 D RenderEngine: RenderEngine GLES Backend 06-16 07:00:55.667 3079 3079 D libEGL : loaded /vendor/lib64/egl/libEGL_mesa.so 06-16 07:00:55.667 3079 3079 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_mesa.so 06-16 07:00:55.668 3079 3079 D libEGL : loaded /vendor/lib64/egl/libGLESv2_mesa.so 06-16 07:00:55.671 3079 3079 W EGL-MAIN: MESA-LOADER: failed to open rknpu: dlopen failed: library "/vendor/lib64/dri/rknpu_dri.so" not found (search paths /vendor/lib64/dri, suffix _dri) 06-16 07:00:55.671 3079 3079 W EGL-MAIN: Failed to open any DRM device 06-16 07:00:55.672 3079 3079 W EGL-MAIN: Failed to open any DRM device 06-16 07:00:55.672 3079 3079 W libEGL : eglInitialize(0xb400007f9ec41000) failed (EGL_NOT_INITIALIZED) 06-16 07:00:55.672 3079 3079 E libEGL : call to OpenGL ES API with no current context (logged once per thread) 06-16 07:00:55.672 3079 3079 F RenderEngine: eglQueryStringImplementationANDROID(EGL_VERSION) failed 06-16 07:00:55.672 50 50 I tombstoned: received crash request for pid 3079 06-16 07:00:55.674 3079 3079 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-16 07:00:55.674 3079 3079 F DEBUG : LineageOS Version: '18.1-20230421-VANILLA-waydroid_arm64' 06-16 07:00:55.674 3079 3079 F DEBUG : Build fingerprint: 'waydroid/lineage_waydroid_arm64/waydroid_arm64:11/RQ3A.211001.001/32:userdebug/test-keys' 06-16 07:00:55.674 3079 3079 F DEBUG : Revision: '0' 06-16 07:00:55.674 3079 3079 F DEBUG : ABI: 'arm64' 06-16 07:00:55.674 3079 3079 F DEBUG : Timestamp: 2023-06-16 07:00:55+0000 06-16 07:00:55.674 3079 3079 F DEBUG : pid: 3079, tid: 3079, name: surfaceflinger >>> /system/bin/surfaceflinger <<< 06-16 07:00:55.674 3079 3079 F DEBUG : uid: 1000 06-16 07:00:55.674 3079 3079 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 06-16 07:00:55.674 3079 3079 F DEBUG : Abort message: 'eglQueryStringImplementationANDROID(EGL_VERSION) failed' 06-16 07:00:55.674 3079 3079 F DEBUG : x0 0000000000000000 x1 0000000000000c07 x2 0000000000000006 x3 0000007fcb454310 06-16 07:00:55.674 3079 3079 F DEBUG : x4 00000000002e79ec x5 00000000002e79ec x6 00000000002e79ec x7 0000007fa26c1000 06-16 07:00:55.674 3079 3079 F DEBUG : x8 00000000000000f0 x9 c079f550d367498a x10 0000000000000000 x11 ffffffc0ffffffdf 06-16 07:00:55.674 3079 3079 F DEBUG : x12 0000000000000001 x13 0000000000000038 x14 0000000000000000 x15 ffffffffffffffff 06-16 07:00:55.674 3079 3079 F DEBUG : x16 0000007fa0ad0948 x17 0000007fa0aaf410 x18 0000007fa1aa2000 x19 0000000000000c07 06-16 07:00:55.674 3079 3079 F DEBUG : x20 0000000000000c07 x21 00000000ffffffff x22 0000000300000001 x23 0000000000000001 06-16 07:00:55.674 3079 3079 F DEBUG : x24 0000000000000003 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000 06-16 07:00:55.674 3079 3079 F DEBUG : x28 0000000000000000 x29 0000007fcb454390 06-16 07:00:55.674 3079 3079 F DEBUG : lr 0000007fa0a61a9c sp 0000007fcb4542f0 pc 0000007fa0a61ac8 pst 0000000000001000 06-16 07:00:55.684 3079 3079 F DEBUG : 06-16 07:00:55.684 3079 3079 F DEBUG : backtrace: 06-16 07:00:55.684 3079 3079 F DEBUG : #00 pc 0000000000089ac8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: e4cdaa3667d6b3fb35d46671d31909c3) 06-16 07:00:55.684 3079 3079 F DEBUG : #01 pc 00000000000062b0 /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: b5b2ed9d2859e7c956635d8bdb685c6f) 06-16 07:00:55.684 3079 3079 F DEBUG : #02 pc 0000000000006e18 /system/lib64/liblog.so (__android_log_assert+336) (BuildId: b5b2ed9d2859e7c956635d8bdb685c6f) 06-16 07:00:55.684 3079 3079 F DEBUG : #03 pc 000000000018db58 /system/lib64/libsurfaceflinger.so (android::renderengine::gl::GLESRenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+4320) (BuildId: 85d0b58d7dd2d26b021c8b09ffbd4753) 06-16 07:00:55.684 3079 3079 F DEBUG : #04 pc 000000000018c928 /system/lib64/libsurfaceflinger.so (android::renderengine::RenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+168) (BuildId: 85d0b58d7dd2d26b021c8b09ffbd4753) 06-16 07:00:55.684 3079 3079 F DEBUG : #05 pc 000000000010c868 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+184) (BuildId: 85d0b58d7dd2d26b021c8b09ffbd4753) 06-16 07:00:55.684 3079 3079 F DEBUG : #06 pc 00000000000021b8 /system/bin/surfaceflinger (main+368) (BuildId: 2a5c373dbea113a5035b20ca4aed30fe) 06-16 07:00:55.684 3079 3079 F DEBUG : #07 pc 000000000008506c /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: e4cdaa3667d6b3fb35d46671d31909c3)
-
RE: coolpi 4b python3 gpio operation compatable with raspberry pi
@zensation not support setting pullup/down in user space now.
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@edwardzhou said in Cool pi 4B & CM5 探索快速安装系统新方法:
最近一直在用这个方法,非常太好用太方便了。
我对上面的备份安装放在同一个U盘实现的方法,做了一些改进,通过启动菜单选择 备份 还是 安装, 比每次去改 initrd.img 要方便很多。
步骤1. 编辑 /extlinux/extlinux.conf 如下
menu title Select the boot mode TIMEOUT 60 default Linux coolpi backup label Linux coolpi backup kernel /Image initrd /initrd-backup.img fdt /rk3588s-cp4.dtb append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 label Linux coolpi install kernel /Image initrd /initrd-install.img fdt /rk3588s-cp4.dtb append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
步骤2, 把 install 中的 initrd.img 复制过来,并改名为 initrd-install.img
步骤3, 把 backup 中的 initrd.img 复制过来,并改名为 initrd-backup.img
U盘查到板子上,上电启动。
你局可以看到菜单Capacity: 30436.5 MB = 29.7 GB (62333952 x 512) ... is now current device Scanning usb 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf reading /extlinux/extlinux.conf 629 bytes read in 39 ms (15.6 KiB/s) Select the boot mode 1: Linux coolpi backup 2: Linux coolpi install Enter choice:
输入1 或 2 回车即可,默认是1, 60秒无输入,则自动启动backup
可以参考 edwardzhou 整理的内容
@jugg -
RE: Coolpi 4b support dynamic update logo
@jugg 看日志已经刷好了,你在系统中把logo.bmp logo_kernel.bmp拷贝到/boot/firmware/,再重启
-
RE: CP4/CM5 WIFI module support list
also support RTL8188EUS module
~$ lsusb Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 003: ID 17ef:6099 Lenovo Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 007: ID 0000:3825 Bus 001 Device 002: ID 1a86:8091 QinHeng Electronics Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ~$ nmcli eth0: 已连接 to 有线连接 "eth0" ethernet (rk_gmac-dwmac), E6:2C:6D:B0:52:A8, 硬件, mtu 1500 ip4 默认 inet4 192.168.1.167/24 route4 0.0.0.0/0 route4 192.168.1.0/24 inet6 fe80::fa42:ae1f:8f2e:29be/64 route6 fe80::/64mac), 00:55:7B:B5:7D:F7, 硬件, mtu 1500 wlan0: 已连接 to TPLINK_2.4G "Realtek RTL8188EUS" wifi (rtl8188eu), 00:F0:06:A0:02:43, 硬件, mtu 1500536 inet4 192.168.3.191/24 route4 0.0.0.0/0 route4 192.168.3.0/24 inet6 fe80::bf81:3e6c:130d:c033/64 route6 fe80::/64 p2p0: 已断开 "Realtek RTL8188EUS" wifi (rtl8188eu), 02:F0:06:A0:02:43, 硬件, mtu 1500 ...
-
RE: Coolpi 4b support dynamic update logo
@大法师 said in Coolpi 4b support dynamic update logo:
Sometimes we may need to customize the logo display. We just need to copy logo bmp files to first partition of tf-card or emmc. Two logo files can be the same.
It should be noted that uboot must be upgraded to the latest.
uboot-20230222.zipUbuntu 22.04.1 LTS coolpi ttyS0 coolpi login: coolpi Password: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.10.110 aarch64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage This system has been minimized by removing packages and content that are not required on a system that users do not log into. To restore this content, you can run the 'unminimize' command. 56 updates can be applied immediately. 27 of these updates are standard security updates. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update Last login: Wed Feb 22 06:11:20 UTC 2023 on ttyS0 coolpi@coolpi:~$ sudo cp logo.bmp logo_kernel.bmp /boot/firmware/ [sudo] password for coolpi: coolpi@coolpi:~$ sudo reboot
uboot-20230222.zip附件是在uboot下单独更新使用的。
新上传的RKDevTool_Release_v2.92_cp4b_loader_support_change_logo.rar是用工具刷
可以查看章节 How to install loader
https://wiki.cool-pi.com/en/home/quick_start -
RE: CP4/CM5 WIFI module support list
tree out_modules/lib/modules/5.10.110/kernel/drivers/net/wireless/rockchip_wlan/ out_modules/lib/modules/5.10.110/kernel/drivers/net/wireless/rockchip_wlan/ ├── aic8800 │ ├── aic8800_bsp │ │ └── aic8800_bsp.ko │ └── aic8800_fdrv │ └── aic8800_fdrv.ko ├── rkwifi │ └── bcmdhd │ ├── bcmdhd.ko │ └── dhd_static_buf.ko ├── rtl8188eu │ └── 8188eu.ko ├── rtl8821cu │ └── 8821cu.ko ├── rtl8822bu │ └── 88x2bu.ko └── rtl8852be └── 8852be.ko 9 directories, 8 files
-
RE: Coolpi 4b support dynamic update logo
@jugg 日期不对。帖子上传的loader文件,是可以在线命令在线更新的 https://www.cool-pi.com/topic/47/coolpi-4b-bootloader命令行升级方法
CPBOOT# c update usb|tf|mmc
晚点我更新一个版本
-
ch34x uart for ubuntu22
Due to component conflicts, the ch340 serial device cannot be used normally on ubuntu22 systems.
305.764435] usb 1-1.3: new full-speed USB device number 7 using ehci-platform [ 305.979075] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64 [ 305.979080] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 305.979083] usb 1-1.3: Product: USB Serial [ 305.979693] ch341 1-1.3:1.0: ch341-uart converter detected [ 305.980778] usb 1-1.3: ch341-uart converter now attached to ttyUSB0 [ 306.554038] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input8 [ 306.557920] usb 1-1.3: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1 [ 306.558913] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0 [ 306.558971] ch341 1-1.3:1.0: device disconnected
user need to do:
sudo apt remove brltty
plugout uart module and plugin again.