@顾真牛
内核目前是一套代码,两个编译参数区分
Posts made by 大法师
-
Cool pi 4b android12 update firmware imgae
fixed adb connect with usb otg port.
version file name: coolpi-4b-android12-20230329.zip
-
RE: qt multimedia
coolpi@coolpi:~$ sudo apt install qtmultimedia5-dev [sudo] password for coolpi: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libllvm15 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libblkid-dev libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libselinux1-dev libsepol-dev uuid-dev Suggested packages: libgirepository1.0-dev libglib2.0-doc The following NEW packages will be installed: libblkid-dev libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libselinux1-dev libsepol-dev qtmultimedia5-dev uuid-dev 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 4799 kB of archives. After this operation, 23.8 MB of additional disk space will be used. Do you want to continue? [Y/n] coolpi@coolpi:~$ sudo apt install qtmultimedia5-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libllvm15 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libblkid-dev libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libselinux1-dev libsepol-dev uuid-dev Suggested packages: libgirepository1.0-dev libglib2.0-doc The following NEW packages will be installed: libblkid-dev libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libselinux1-dev libsepol-dev qtmultimedia5-dev uuid-dev 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 4799 kB of archives. After this operation, 23.8 MB of additional disk space will be used. Do you want to continue? [Y/n]
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@xingzhan2012 said in Cool pi 4B & CM5 探索快速安装系统新方法:
@大法师 牛逼,也就是U盘里创建一个backpu文件夹,插在USB口上,开机自动备份到backup文件夹中。 U盘中创建一个install文件夹,开机自动将install中的系统刷入emmc中。Cool Pi 4B Linux System Backup.iso中的文件替换掉系统中的/boot/firmware 文件夹中的文件是吧。这些启动文件是ubuntu22.04系统的么?是和系统版本无关么?
安装备份操作,与rootfs系统无关,可以是任意制作的linux 根文件系统。这种方式适合开发者调试,可以是openwrt或buildroot或yocto等等
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@xingzhan2012
备份还原操作,可以同一个U盘,把backup iso中的initrd.img拷贝到install iso 中,重命名为initrd-backup.img。想加载哪个功能,直接修改extlinux.conf启动哪个文件即可。当然配套backup目录可以直接重命名为install,更直接了
-
RE: MIPI 屏
@tonyone0902
vim /boot/firmware/config.txt 一样修改dtb文件名试下。你的机器是什么时间收到的,早期的loader不识别extlinux.conf另外查看下 ls -l /sys/class/drm/
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@xingzhan2012
欢迎验证系统备份功能假定手上有两个U盘,一个制作为系统初始化安装U盘A,另一个制作为系统备份U盘B。
当用户在系统中安装或修改各种配置操作后,如需要备份保存系统,那么请关机,插入备份U盘B,开机自动完成备份操作(备份文件在backup目录)。
当用户想恢复备份的系统到coolpi 4b板载的存储emmc,那么可以将备份U盘B中的backup目录内容拷贝到安装U盘A install目录(请注意先删除install目录文件),插入安装U盘A,开机自动完成系统安装操作。
-
RE: MIPI 屏
@tonyone0902
5寸电容触摸屏切换操作参考,使用ubuntu 22.04 20230306版本需要切换使用rk3588s-cp4-dsi.dtb文件
coolpi@coolpi:~/Desktop$ cat /boot/firmware/ Image cmdline.txt extlinux/ modules.tar.gz rk3588s-cp4.dtb System Volume Information/ config.txt initrd.img rk3588s-cp4-dsi.dtb vmlinuz coolpi@coolpi:~/Desktop$ cat /boot/firmware/extlinux/extlinux.conf default Linux coolpi label Linux coolpi kernel /Image initrd /initrd.img fdt /rk3588s-cp4-dsi.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 coolpi@coolpi:~/Desktop$
-
RE: 官网源码不支持树莓派官方最新摄像头IMX477R和IMX708
@xingzhan2012 我们调试了一款OV5647。摄像头型号比较多,调试周期较长,我们会再选一些通用型号匹配验证。谢谢
-
RE: Coolpi 4b linux kernel开发在线更新说明
补充内核编译操作说明(如下以coolpi 4b ubuntu22.04 0306系统版本为例):
首先下载内核源码
coolpi@coolpi:~$ git clone https://github.com/yanyitech/coolpi-kernel.git Cloning into 'coolpi-kernel'... remote: Enumerating objects: 8550563, done. remote: Counting objects: 100% (5962/5962), done. remote: Compressing objects: 100% (3084/3084), done. remote: Total 8550563 (delta 2757), reused 5819 (delta 2648), pack-reused 8544601 Receiving objects: 100% (8550563/8550563), 1.98 GiB | 11.07 MiB/s, done. Resolving deltas: 100% (7166058/7166058), done. Checking objects: 100% (33554432/33554432), done. Updating files: 100% (87196/87196), done. coolpi@coolpi:~$
额外安装组件包
coolpi@coolpi:~$ sudo apt install -y flex bison libssl-dev coolpi@coolpi:~$ sudo ln -sf /usr/bin/python3 /usr/bin/python
开始编译内核
coolpi@coolpi:~$ cd coolpi-kernel coolpi@coolpi:~/coolpi-kernel$ ./build-kernel.sh cp4b
-
Cool pi 4B & CM5 探索快速安装系统新方法
对广大用户而言,系统装机更多的方式就是使用U盘,做个启动引导盘,刷遍无数机。
Cool pi 4b已支持此种安装方法,ISO下载
windows 安装制作刷机工具
Rufus: The Reliable USB Formatting Utility工具执行页面
如下图片为CM5 EVB U盘内容,用户可以任意替换install目录中的rootfs.tar.gz
安装过程进度可视化,连接HDMI显示器参数配置
全自动刷机,完成后自动关机,请移除u盘后再开机。
刷机过程优先刷emmc存储,如未接emmc,那么将刷到tf卡,如果也没插tf卡…
-
RE: Coolpi 4b bootloader upgrade
- Update to support two USB3 interface USB hard drive boot support.
- Update fixes an abnormal offline flash startup problem.
- Increase support press power key to switch to maskrom function when system boot.
-
Coolpi 4b bootloader upgrade
This topic is specifically designed to describe cool pi 4b loader version updates.
Source code repo:
https://github.com/yanyitech/coolpi-loader.gitOnedrive
百度网盘
-
RE: 如果制作的启动盘无法加载
Erase partitions
Tf card:
sudo wipefs -a -f /dev/mmcblk1EMMC:
sudo wipefs -a -f /dev/mmcblk0