• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. 大法师
    3. Posts
    • Profile
    • Following 2
    • Followers 10
    • Topics 86
    • Posts 401
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: MIPI 屏

      @jugg 需要改触摸驱动代码。打开多点触控

      posted in Peripheral
      大法师大
      大法师
    • RE: 4b的两个usb3.0是独立的么

      @shengxia 你的主板我们同事看了,usb3上下层端口都没有问题。用相同的tf卡openkylin系统加usb nvme、usb ssd测试都可以识别到super speed。需要注意部分型号nvme转接板有自动休眠功能、供电需单独5V/2A

      (你寄的nvme转接盒没有带盘)

      posted in Pi 4B
      大法师大
      大法师
    • RE: Coolpi 4b openkylin 0.95 version support

      openkylin-coolpi.png

      posted in News
      大法师大
      大法师
    • RE: openKylin 1.0版本发布(里程碑)

      默认系统未打开蓝牙服务

      sudo hciattach -n /dev/ttyS1 any 1500000 &
      
      posted in Open Kylin
      大法师大
      大法师
    • RE: openKylin 1.0版本发布(里程碑)

      默认镜像需要手动设置date,更新源之后,补充安装时间同步服务

      sudo apt update
      sudo apt install systemd-timesyncd
      sudo reboot
      
      posted in Open Kylin
      大法师大
      大法师
    • 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桌面终端初始化设置密码

      posted in Open Kylin
      大法师大
      大法师
    • 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内核驱动安装包

      posted in Pi 4B
      大法师大
      大法师
    • RE: 4b的两个usb3.0是独立的么

      @shengxia 新打包的ubuntu系统密码123 用户名coolpi

      posted in Pi 4B
      大法师大
      大法师
    • RE: 4b的两个usb3.0是独立的么

      @shengxia 建议U3设备直连测试看看情况。外挂转接NVME有供电要求

      posted in Pi 4B
      大法师大
      大法师
    • RE: 4b的两个usb3.0是独立的么

      @shengxia 默认配置是host模式。正反插提供dmesg 日志看看,另外插拔重新识别有无变化,也可以再试试单独U3 U盘在上层端口能不能识别到super speed

      posted in Pi 4B
      大法师大
      大法师
    • RE: 4b的两个usb3.0是独立的么

      @shengxia 是独立的。

      posted in Pi 4B
      大法师大
      大法师
    • 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.

      https://github.com/pengutronix/genimage

      posted in Maker
      大法师大
      大法师
    • cool pi nano rv1106 with ubuntu22 server

      Booting system from tf card

      cool pi nano.png

      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:~#
      
      posted in 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
      
      posted in Maker
      大法师大
      大法师
    • RE: Coolpi 4b openkylin 0.95 version support

      release version 1.0
      https://www.cool-pi.com/topic/368/openkylin-1-0版本发布-里程碑

      posted in News
      大法师大
      大法师
    • RE: how about batocera with cool pi 4b

      @carloshenrique @cyberwisk

      1. rootfs need install AIC8800 firmware to /lib/firmware;
      2. add script file /etc/init.d/S29coolpi_bt;
      3. add script file /usr/bin/bt_load_coolpi_firmware;

      S29coolpi_bt
      bt_load_coolpi_firmware

      https://github.com/yanyitech/batocera-coolpi-linux

      posted in Maker
      大法师大
      大法师
    • RE: Upgrading always bricks my SSD images

      @murraytodd 4b or cm5 evb board? could you supply some more message through uart console?

      posted in Ubuntu
      大法师大
      大法师
    • openKylin 1.0版本发布(里程碑)

      openKylin开源操作系统

      镜像下载地址 Cool Pi 4B OpenKylin

      更新内核
      4b内核驱动安装包

      openkylin-1.0.png

      openKylin 1.0版本操作系统目前适配支持X86、ARM、RISC-V三个架构的个人电脑、平板电脑及教育开发板,可以满足绝大多数个人用户及开发者的使用需求!其中ARM架构完成了树莓派Raspberry Pi、Cool Pi、双椒派Chillie Pi等开发板的适配,RISC-V架构完成了VisonFive2、HiFive、算能SG2042 EVB、荔枝派Lichepi4a、Lotus2开发板适配。

      posted in Open Kylin
      大法师大
      大法师
    • Coolpi 4b/cm5 android install with Udisk

      use rufus tool

      Download system iso file, then run the tool that make a bootable USB stick.

      ISO 百度网盘

      ISO onedrive

      Example: Image file name coolpi-sdcard.img
      coolpi-rufus.png

      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.

      posted in News
      大法师大
      大法师
    • RE: 编译内核所用的交叉编译器是哪个版本的?

      参考
      https://wiki.cool-pi.com/en/home/application_notes

      posted in Ubuntu
      大法师大
      大法师
    • 1 / 1