@顾真牛 4B和CM5软件使用习惯是一致的。
Posts made by 大法师
-
RE: Keep going
@顾真牛 系统切换是支持的,这部分可以在boot分区修改extlinux.conf文件实现。理论上用户自行创建多个rootfs分区,通过相应分区label区分,切换系统也比较容易实现。
当然uboot源码我们也是开放的,大家都可以根据需要修改
-
RE: coolpi 4b support ov5647 camera module
@bg8wj 谢谢!我们验证好了会同步发布出来。这款主板还有很多功能可以挖掘,需要更多的伙伴一起共赢!
-
coolpi 4b board power key support
When system (like ubuntu desktop) is running, we can press power key to poweroff system or restart system.
if want to skip select option, you can set in the terminal shell:
coolpi@coolpi:~$ gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive coolpi@coolpi:~$ gsettings set org.gnome.SessionManager logout-prompt false
-
RE: coolpi 4b support ov5647 camera module
@bg8wj github已更新内核驱动代码。二进制执行文件明天测试好再上传
root@coolpi:/home/coolpi# ls -l /dev/video* crw-rw----+ 1 root video 81, 0 Jan 27 23:26 /dev/video0 crw-rw----+ 1 root video 81, 1 Jan 27 23:26 /dev/video1 crw-rw----+ 1 root video 81, 10 Jan 27 23:26 /dev/video10 crw-rw----+ 1 root video 81, 11 Jan 27 23:26 /dev/video11 crw-rw----+ 1 root video 81, 12 Jan 27 23:26 /dev/video12 crw-rw----+ 1 root video 81, 13 Jan 27 23:26 /dev/video13 crw-rw----+ 1 root video 81, 14 Jan 27 23:26 /dev/video14 crw-rw----+ 1 root video 81, 15 Jan 27 23:26 /dev/video15 crw-rw----+ 1 root video 81, 16 Jan 27 23:26 /dev/video16 crw-rw----+ 1 root video 81, 17 Jan 27 23:26 /dev/video17 crw-rw----+ 1 root video 81, 18 Jan 27 23:26 /dev/video18 crw-rw----+ 1 root video 81, 19 Jan 27 23:26 /dev/video19 crw-rw----+ 1 root video 81, 2 Jan 27 23:26 /dev/video2 crw-rw----+ 1 root video 81, 3 Jan 27 23:26 /dev/video3 crw-rw----+ 1 root video 81, 4 Jan 27 23:26 /dev/video4 crw-rw----+ 1 root video 81, 5 Jan 27 23:26 /dev/video5 crw-rw----+ 1 root video 81, 6 Jan 27 23:26 /dev/video6 crw-rw----+ 1 root video 81, 7 Jan 27 23:26 /dev/video7 crw-rw----+ 1 root video 81, 8 Jan 27 23:26 /dev/video8 crw-rw----+ 1 root video 81, 9 Jan 27 23:26 /dev/video9 lrwxrwxrwx 1 root root 7 Jan 27 23:26 /dev/video-camera0 -> video11 root@coolpi:/home/coolpi# root@coolpi:/home/coolpi# dmesg | grep ov564 [ 11.285152] ov5648 8-0036: driver version: 00.01.05 [ 11.285181] ov5648 8-0036: Failed to get power-gpios, maybe no use [ 11.285193] ov5648 8-0036: Failed to get reset-gpios, maybe no use [ 11.285205] ov5648 8-0036: Failed to get pwdn-gpios [ 11.285305] ov5648 8-0036: supply dovdd not found, using dummy regulator [ 11.285372] ov5648 8-0036: supply dvdd not found, using dummy regulator [ 11.285409] ov5648 8-0036: lane_num(2) pixel_rate(84000000) [ 11.285416] ov5648 8-0036: could not get default pinstate [ 11.290827] ov5648 8-0036: could not get sleep pinstate [ 11.299689] ov5648 8-0036: Detected OV005647 sensor [ 11.299707] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m01_f_ov5648 8-0036:bus type 5 root@coolpi:/home/coolpi#
-
RE: cool-pi 4b: loop of logo during boot
@nickliu Thanks! While burn firmware and insert eMMC or TF card first booting, please save serial console log.
-
RE: cool-pi 4b: loop of logo during boot
@nickliu https://www.cool-pi.com/topic/168/如果制作的启动盘无法加载
Maybe like this. Do you have TF card which can load into system?
-
coolpi 4b support ov5647 camera module
OV5647模块适用于Cool Pi 4b
Use buildroot system image for test camera ov5647.
离线刷机镜像
在线刷机镜像
-
RE: cool-pi 4b: loop of logo during boot
@nickliu emmc onboard also nice!
change console to ttyS1, and then boot again if something output message from HDMI.
-
RE: cool-pi 4b: loop of logo during boot
@nickliu I'v check these images and boot okay.
-
RE: Ubuntu docker user guide
Build a docker image with Dockerfile
$ cat Dockerfile FROM ubuntu:20.04 MAINTAINER JACK<jack@cool-pi.com> #RUN sed -i s@/ports.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \ && apt-get clean RUN apt-get update ENV DEBIAN_FRONTEND=noninteractive RUN apt-get install -y build-essential chrpath vim expect git curl dialog tzdata locales iputils-ping net-tools ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN locale-gen en_US.UTF-8 && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales ENV LANG=en_US.UTF-8 ENV LANGUAGE=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8 RUN locale-gen en_US RUN useradd coolpi;\ adduser coolpi sudo;\ mkdir -p /home/coolpi;\ chown coolpi:coolpi -R /home/coolpi;\ echo coolpi:coolpi | chpasswd; #CMD su -l coolpi #CMD "/bin/bash"
$ docker build -t my-ubuntu:20.04 --rm=true . ...
-
RE: Android on Cool Pi 4B
@retroman Bluetooth feature has been added to support. I will upload a new image file (20230118) to onedrive.
-
RE: CoolPi 4B硬件扩展二:Serial port
uart2 node is used for console and uart9 node is used for bluetooth.
-
RE: 20230105-ubuntu-20.04-preinstalled-desktop-arm64,支持从1个USB-hub 2.0同时读取2个摄像头图像吗
@bbsvs2000
禁用rkisp、cif、csi
rk3588s-cp4.dtb用于加载/boot/firmware/wifi.txt
wifi_precfgsudo cp rk3588s-cp4.dtb /boot/firmware/rk3588s-cp4.dtb sudo cp wifi_precfg /usr/sbin/ sudo chmod a+x /usr/sbin/wifi_precfg sudo reboot
-
coolpi 4b 附带赠送的emmc小板工具使用
为方便将emmc模块当做TF卡使用,我们设计了转接小板。配合读卡器,可以当做一个移动U盘使用。
如果转接小板不能很好插入读卡器,请磨平如下箭头标识位置后,再测试。
-
coolpi 4b loading from usb ssd
Burn system image to ssd and load from usb3 port!
USB外接SSD硬盘,对电源适配器有要求,至少5V/3A!
好用!推荐这种方式 -
RE: 20230105-ubuntu-20.04-preinstalled-desktop-arm64,支持从1个USB-hub 2.0同时读取2个摄像头图像吗
@bbsvs2000 usb-hub电源适配器拍照看下。另外摄像头直接连接主板也试下功能是不是正常的
-
RE: 20230105-ubuntu-20.04-preinstalled-desktop-arm64,支持从1个USB-hub 2.0同时读取2个摄像头图像吗
看log有部分错误信息。将外挂的usb-hub接到蓝色USB3端口试试
[ 313.897060] usb 5-1: Product: USB2.0 Hub [ 313.949139] hub 5-1:1.0: USB hub found [ 313.949386] hub 5-1:1.0: 4 ports detected [ 314.228959] usb 5-1.1: new full-speed USB device number 39 using xhci-hcd [ 314.302370] usb 5-1.1: device descriptor read/64, error -32 [ 314.485667] usb 5-1.1: device descriptor read/64, error -32 [ 314.555768] usb 5-1: USB disconnect, device number 38
-
RE: coolpi 4b python3 gpio operation compatable with raspberry pi
@dreamer
hi, please add extra operation for coolpi user.Add rules for normal user:
sudo echo "SUBSYSTEM==\"gpio*\", ACTION==\"add\", PROGRAM=\"/bin/bash -c 'chown root:coolpi /sys/class/gpio/export /sys/class/gpio/unexport;chmod 220 /sys/class/gpio/export /sys/class/gpio/unexport'\"" > /lib/udev/rules.d/99-gpio.rules sudo echo "SUBSYSTEM==\"gpio*\", ACTION==\"add\", PROGRAM=\"/bin/bash -c 'chown root:coolpi /sys%p/direction /sys%p/value /sys%p/edge /sys%p/active_low; chmod 0660 /sys%p/direction /sys%p/value /sys%p/edge /sys%p/active_low'\"" >> /lib/udev/rules.d/99-gpio.rules sudo reboot
Check rules:
coolpi@coolpi:~/Desktop$ cat /lib/udev/rules.d/99-gpio.rules SUBSYSTEM=="gpio*", ACTION=="add", PROGRAM="/bin/bash -c 'chown root:coolpi /sys/class/gpio/export /sys/class/gpio/unexport;chmod 220 /sys/class/gpio/export /sys/class/gpio/unexport'" SUBSYSTEM=="gpio*", ACTION=="add", PROGRAM="/bin/bash -c 'chown root:coolpi /sys%p/direction /sys%p/value /sys%p/edge /sys%p/active_low; chmod 0660 /sys%p/direction /sys%p/value /sys%p/edge /sys%p/active_low'"
Test case:
coolpi@coolpi:~/Desktop$ echo 115 > /sys/class/gpio/export coolpi@coolpi:~/Desktop$ ls /sys/class/gpio/gpio115 active_low device direction edge power subsystem uevent value coolpi@coolpi:~/Desktop$ echo out > /sys/class/gpio/gpio115/direction coolpi@coolpi:~/Desktop$ echo 1 > /sys/class/gpio/gpio115/value coolpi@coolpi:~/Desktop$ echo 0 > /sys/class/gpio/gpio115/value coolpi@coolpi:~/Desktop$