Posts made by 大法师
-
RE: coolpi 4b support ov5647 camera module
@wangyx server版本应该没有安装camera isp服务。你试下桌面是不是好的
sudo apt install -y camera-engine-rkaiq gstreamer1.0-rockchip gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg 先确认安装U盘是否可用,备份U盘是否可用。用备份好的U盘,把backup目录文件拷贝到安装U盘install目录
-
RE: cool pi 4b & CM5 linux system support compile u-boot
虚拟构建X86-64 ubuntu/debian环境,可交叉编译应用(包含u-boot等)
-
RE: CM5如何安装网卡驱动?
@Jachyn said in CM5如何安装网卡驱动?:
@大法师 更新源码目录链接显示如下错误
ln: /lib/modules/5.10.110/build/kernel: cannot overwrite directory ln: /lib/modules/5.10.110/source/kernel: cannot overwrite directory
sudo unlink /lib/modules/5.10.110/build sudo unlink /lib/modules/5.10.110/source
然后再操作。编译可能有错误,你先排查下
-
RE: CM5如何安装网卡驱动?
@Jachyn said in CM5如何安装网卡驱动?:
@大法师 大师 内核已经编译了 编译之后进行安装 又报如下的错
更新内核源码编译目录链接(假定源码目录在/home/coolpi/kernel)
sudo ln -sf /home/coolpi/kernel /lib/modules/5.10.110/build sudo ln -sf /home/coolpi/kernel /lib/modules/5.10.110/source
MLNX_EN_SRC-debian-23.04-1.1.3.0.tgz
MLNX_EN_SRC-debian-5.8-3.0.7.0.tgz
解压网卡驱动源码,编译coolpi@coolpi:~/MLNX_EN_SRC-23.04-1.1.3.0$ sudo ./install.pl Logs dir: /tmp/OFED.80654.logs General log file: /tmp/OFED.80654.logs/general.log Below is the list of OFED packages that you have chosen (some may have been added by the installer due to package dependencies): ofed-scripts mlnx-tools mlnx-ofed-kernel-utils mlnx-ofed-kernel-modules Checking SW Requirements... One or more required packages for installing OFED-internal are missing. Attempting to install the following missing packages: swig make python3 chrpath gcc quilt debhelper dh-python python3-distutils This program will install the OFED package on your machine. Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed. Those packages are removed due to conflicts with OFED, do not reinstall them. Removing old packages get_requires: libibverbs1 is required by qemu-system-arm, but qemu-system-arm won't be removed. get_requires: librdmacm1 is required by qemu-system-arm, but qemu-system-arm won't be removed. Building packages Building DEB for ofed-scripts-23.04 (ofed-scripts)... Running /usr/bin/dpkg-buildpackage -us -uc Installing ofed-scripts-23.04... Running /usr/bin/dpkg -i --force-confmiss '/home/coolpi/MLNX_EN_SRC-23.04-1.1.3.0/DEBS/ubuntu22.04/aarch64/ofed-scripts_23.04-OFED.23.04.1.1.3_arm64.deb' Building DEB for mlnx-tools-23.04 (mlnx-tools)... Running /usr/bin/dpkg-buildpackage -us -uc Installing mlnx-tools-23.04... Running /usr/bin/dpkg -i --force-confmiss '/home/coolpi/MLNX_EN_SRC-23.04-1.1.3.0/DEBS/ubuntu22.04/aarch64/mlnx-tools_23.04-0.2304053_arm64.deb' Building DEB for mlnx-ofed-kernel-utils-23.04 (mlnx-ofed-kernel)... -W- --with-mlx5-ipsec is enabled Running /usr/bin/dpkg-buildpackage -us -uc -Pmodules ...
-
RE: CM5如何安装网卡驱动?
@jack_admin https://network.nvidia.com/products/ethernet-drivers/linux/mlnx_en/
The NVIDIA ConnectX adapter family can run Ethernet traffic simultaneously on two ports Single software stack that operates across all available NVIDIA Ethernet devices and configurations such as mem-free, up to 400Gb/s, and PCI Express modes 3.0, 4.0 and 5.0 Support for HPC applications for scientific research and AI Support for data center applications such as Oracle 11g/10g RAC, IBM DB2, Financial services applications such as IBM WebSphere LLM, Red Hat MRG, NYSE Data Fabric
-
RE: MIPI 屏
@jugg
可以试下修改内核源码drivers/input/touchscreen/tinker_ft5406.h @@ -13,7 +13,7 @@ #define FT_REG_FW_SUB_MIN_VER 0xB3 #define VALID_TD_STATUS_VAL 10 -#define MAX_TOUCH_POINTS 1 +#define MAX_TOUCH_POINTS 5
重新编译内核,替换Image
-
RE: 4b的两个usb3.0是独立的么
@shengxia 你的主板我们同事看了,usb3上下层端口都没有问题。用相同的tf卡openkylin系统加usb nvme、usb ssd测试都可以识别到super speed。需要注意部分型号nvme转接板有自动休眠功能、供电需单独5V/2A
(你寄的nvme转接盒没有带盘)
-
RE: openKylin 1.0版本发布(里程碑)
默认系统未打开蓝牙服务
sudo hciattach -n /dev/ttyS1 any 1500000 &
-
RE: openKylin 1.0版本发布(里程碑)
默认镜像需要手动设置date,更新源之后,补充安装时间同步服务
sudo apt update sudo apt install systemd-timesyncd sudo reboot
-
RE: openKylin 1.0版本发布(里程碑)
tf卡启动,手动分区扩容
openkylin@openkylin:~$ sudo su [sudo] openkylin 的密码: root@openkylin:/home/openkylin# parted /dev/mmcblk2 mmcblk2 mmcblk2p1 mmcblk2p2 root@openkylin:/home/openkylin# parted /dev/mmcblk2 GNU Parted 3.3 使用 /dev/mmcblk2 欢迎使用 GNU Parted!输入 'help' 来查看命令列表。 (parted) p 型号:SD SD32G (sd/mmc) 磁盘 /dev/mmcblk2: 31.0GB 扇区大小 (逻辑/物理):512B/512B 分区表:msdos 磁盘标志: 编号 起始点 结束点 大小 类型 文件系统 标志 1 1049kB 269MB 268MB primary fat32 启动, lba 2 269MB 7122MB 6852MB primary ext2 (parted) resizepart 2 警告: 分区 /dev/mmcblk2p2 正被使用。你确定要继续吗? 是/Yes/否/No? y 结束点? [7122MB]? 100% (parted) q 信息: 你可能需要 /etc/fstab。 root@openkylin:/home/openkylin# resize2fs /dev/mmcblk2p2 resize2fs 1.45.5 (07-Jan-2020) /dev/mmcblk2p2 上的文件系统已被挂载于 /;需要进行在线调整大小 old_desc_blocks = 1, new_desc_blocks = 4 /dev/mmcblk2p2 上的文件系统现在为 7506688 个块(每块 4k)。 root@openkylin:/home/openkylin# reboot
首次刷机启动系统,未设置密码,用户可在GUI桌面终端初始化设置密码
-
RE: 4b的两个usb3.0是独立的么
USB移动硬盘插入上层U3端口
未插入 root@openkylin:/home/openkylin# lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M root@openkylin:/home/openkylin# root@openkylin:/home/openkylin# root@openkylin:/home/openkylin# 插入后 root@openkylin:/home/openkylin# lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M root@openkylin:/home/openkylin# dmesg信息 [ 56.683651] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd [ 56.701732] usb 6-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 1.00 [ 56.701748] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 56.701757] usb 6-1: Product: Ugreen Storage Device [ 56.701765] usb 6-1: Manufacturer: Ugreen [ 56.701774] usb 6-1: SerialNumber: 26A1EE834B3A [ 56.709642] scsi host0: uas [ 56.710868] scsi 0:0:0:0: Direct-Access KINGSTON SA400S37240G 0 PQ: 0 ANSI: 6 [ 56.712594] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB) [ 56.712710] sd 0:0:0:0: [sda] Write Protect is off [ 56.712715] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 56.712923] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 56.713180] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes [ 56.756728] sda: sda1 [ 56.785263] sd 0:0:0:0: [sda] Attached SCSI disk [ 56.831716] sd 0:0:0:0: Attached scsi generic sg0 type 0
拔出移动硬盘,再插入下层U3端口
[ 220.995566] usb 6-1: USB disconnect, device number 2 [ 221.010564] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 221.210217] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00 [ 225.563625] usb 8-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd [ 225.581932] usb 8-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 1.00 [ 225.581940] usb 8-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 225.581944] usb 8-1: Product: Ugreen Storage Device [ 225.581947] usb 8-1: Manufacturer: Ugreen [ 225.581951] usb 8-1: SerialNumber: 26A1EE834B3A [ 225.585374] scsi host0: uas [ 225.586402] scsi 0:0:0:0: Direct-Access KINGSTON SA400S37240G 0 PQ: 0 ANSI: 6 [ 225.587603] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 225.588405] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB) [ 225.588539] sd 0:0:0:0: [sda] Write Protect is off [ 225.588545] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 225.588766] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 225.588997] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes [ 225.623173] sda: sda1 [ 225.654381] sd 0:0:0:0: [sda] Attached SCSI disk root@openkylin:/home/openkylin# lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M root@openkylin:/home/openkylin#
可以替换试试
4b内核驱动安装包 -
RE: 4b的两个usb3.0是独立的么
@shengxia 默认配置是host模式。正反插提供dmesg 日志看看,另外插拔重新识别有无变化,也可以再试试单独U3 U盘在上层端口能不能识别到super speed