• Recent
    • Docs
    • Github
    • 百度网盘
    • Google
    • Official
    • Shop
    • Register
    • Login

    Cool Pi Cm5-Laptop Linux Quick Start Guide

    Scheduled Pinned Locked Moved PI CM5 Laptop
    61 Posts 13 Posters 13.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petersen77 @george
      last edited by

      @george

      Thanks. It seems that in Ubuntu (24.04) there's no exfat support compiled. How to modify the script or the settings to get it compiled?
      Thanks in advance

      BR
      Peter

      G 1 Reply Last reply Reply Quote 1
      • G
        george @petersen77
        last edited by

        @petersen77
        Modify the config file as shown in the following figure, then recompile and replace the kernel.

        diff --git a/arch/arm64/configs/coolpi_linux_defconfig b/arch/arm64/configs/coolpi_linux_defconfig
        index 76e84eb3e9b7..45cd2e0d149b 100755
        --- a/arch/arm64/configs/coolpi_linux_defconfig
        +++ b/arch/arm64/configs/coolpi_linux_defconfig
        @@ -1044,6 +1044,7 @@ CONFIG_ZISOFS=y
         CONFIG_VFAT_FS=y
         CONFIG_FAT_DEFAULT_CODEPAGE=936
         CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
        +CONFIG_EXFAT_FS=y
         CONFIG_NTFS_FS=y
         CONFIG_TMPFS=y
         CONFIG_TMPFS_POSIX_ACL=y
        
        P M 3 Replies Last reply Reply Quote 0
        • P
          petersen77 @george
          last edited by

          @george

          Nice. Thanks

          1 Reply Last reply Reply Quote 0
          • M
            Momo 0 @george
            last edited by

            @george any reason this isn't already built in into the published images?

            G 1 Reply Last reply Reply Quote 0
            • G
              george @Momo 0
              last edited by

              @Momo-0
              The mirror in May will include this modification.

              M 1 Reply Last reply Reply Quote 0
              • M
                Momo 0 @george
                last edited by

                @george any chance you could include the wireguard kernel modules too in these images?

                G 1 Reply Last reply Reply Quote 0
                • G
                  george @Momo 0
                  last edited by

                  @Momo-0
                  Apply the following patch and compile to replace the kernel.

                  diff --git a/arch/arm64/configs/coolpi_linux_defconfig b/arch/arm64/configs/coolpi_linux_defconfig
                  index ad6ce0822318..9e8eef746b06 100755
                  --- a/arch/arm64/configs/coolpi_linux_defconfig
                  +++ b/arch/arm64/configs/coolpi_linux_defconfig
                  @@ -313,6 +313,7 @@ CONFIG_BLK_DEV_DM=y
                   CONFIG_DM_THIN_PROVISIONING=y
                   CONFIG_NETDEVICES=y
                   CONFIG_DUMMY=y
                  +CONFIG_WIREGUARD=y
                   CONFIG_MACVLAN=y
                   CONFIG_IPVLAN=y
                   CONFIG_VXLAN=y
                  
                  1 Reply Last reply Reply Quote 0
                  • N
                    ngavarta @george
                    last edited by

                    @george said in Cool Pi Cm5-Laptop Linux Quick Start Guide:

                    @yfblock
                    Test several USB drives and find a USB 2.0 interface drive. There may be compatibility issues with USB3.0.

                    interesting conversation… I wonder if the notebook/ SoC is supported something like a uefi boot already, from your suggestion it seems like the case, no?

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      ngavarta @ngavarta
                      last edited by

                      @ngavarta just got mine, can’t wait to hands on my new toy 😑

                      1 Reply Last reply Reply Quote 0
                      • P
                        petersen77 @george
                        last edited by

                        @george

                        EXFAT is still not in the kernel. It also seems that the building process is broken, so I can't implement it. Please check.

                        Best regards,
                        Peter

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          berkaroad @petersen77
                          last edited by

                          @petersen77

                          append this to file arch/arm64/configs/coolpi_linux_defconfig , compile kernel and install to /boot/firmware

                          CONFIG_EXFAT_FS=y
                          

                          5a9ed63c-e285-4903-91de-9e4d21c285d1-image.png

                          M P 2 Replies Last reply Reply Quote 0
                          • M
                            Momo 0 @berkaroad
                            last edited by Momo 0

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • P
                              petersen77 @berkaroad
                              last edited by

                              @berkaroad The generated files are not complete so WiFi, opengl and many more is not working.

                              1 Reply Last reply Reply Quote 0
                              • M
                                Momo 0
                                last edited by

                                can we get some updated instructions in general? The repo on the first page doesnt seem to be the current one, and every build i do from the Current one doesnt seem to boot on my laptop.

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  petersen77 @Momo 0
                                  last edited by

                                  @Momo-0 The same here, I cannot replace the standard kernel with EXFAT support.

                                  M 1 Reply Last reply Reply Quote 1
                                  • M
                                    mainbord @petersen77
                                    last edited by

                                    Hi help me please to find firmware for laptop, I Flashed ubuntu-24.04-preinstalled-desktop-arm64-coolpi-0926.img from google and it does not boot.

                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      Momo 0 @mainbord
                                      last edited by

                                      @mainbord for me currently only the Debian image works

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mainbord @Momo 0
                                        last edited by

                                        @Momo-0 said in Cool Pi Cm5-Laptop Linux Quick Start Guide:

                                        @mainbord for me currently only the Debian image works

                                        Thanks, 11 debian booted. Because this is an old image.

                                        P M 2 Replies Last reply Reply Quote 1
                                        • P
                                          petersen77 @mainbord
                                          last edited by

                                          @mainbord Debian 13 is also working, but no EXFAT support in the kernel, so it's a little bit inconvenient copying files (e.g. my Camera is using EXFAT) or making backups

                                          M 1 Reply Last reply Reply Quote 1
                                          • M
                                            Momo 0 @petersen77
                                            last edited by

                                            @petersen77 i got around this with installing exfat-progs and exfatfuse i think, after installing i needed to create a symlink like this "sudo ln -s /usr/sbin/mount.exfat-fuse /sbin/mount.exfat"

                                            https://unix.stackexchange.com/questions/607949/cannot-mount-exfat-even-installed-exfat-fuse-exfat-utils-in-kali-linux

                                            but yeah being able to compile the kernel or have this and some other features (vpn, filesystem encryption) in the kernel from the beginning for example would be better

                                            P 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post