🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    CoreMP135 Debian image

    Cores
    8
    46
    10.5k
    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.
    • M
      mgrouch @mgrouch
      last edited by

      @mgrouch said in CoreMP135 Debian image:

      Ok. I got the device and I loaded Debian image M5_CoreMP135_debian12_20240628 from

      https://docs.m5stack.com/en/guide/linux/coremp135/image

      It did boot.
      However, upon boot it didn't resize the root partition to occupy whole SD card.
      As a result I can't install anything because there is no space.

      I had to use fdisk to resize /root partition (#5 for me, making sure I use same starting block and preserve filesystem type, see https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime) and then
      resisz2fs command (something like resize2fs /dev/mmcblk0p5).
      It would be too hard for an average user to repeat that.

      Also the kernel on it is very old. 5.15.118
      On Raspberry Bookworm it is much newer. (6.x)

      There are many errors related to USB reported by dmesg.
      I have powered USB HUB and keyboard is connected via it.
      Keyboard works though.

      Is it possible for next versions to have image which would resize to SD card size?
      Same way as Pi OS does?

      Is it possible to have have newer linux kernel? I think USB errors might be related to old version of it.

      Thanks

      USB errors were my fault. I plugged usb 3.0 hub into usb 2.0 port.

      One more question:

      What are the tty devices names of RS-485 and UART6 under /dev?

      Thanks

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @mgrouch
        last edited by

        @teastain here is the dev directory listing
        coremp135devfolder.png

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        M teastainT 2 Replies Last reply Reply Quote 0
        • M
          mgrouch @ajb2k3
          last edited by

          @ajb2k3

          What is /dev/ttySTM2 ?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • teastainT
            teastain @ajb2k3
            last edited by

            @ajb2k3 "But, for mine own part, it was Greek to me."
            (Casca, Julius Caesar: Act 1, Scene 2)

            Cheers, Terry!

            100% M5Stack addict with several drawers full of product!

            1 Reply Last reply Reply Quote 1
            • ajb2k3A
              ajb2k3 @mgrouch
              last edited by

              @mgrouch said in CoreMP135 Debian image:

              ttySTM2

              From what I can find, the /dev/ttystm0 2 and 3 could be UART ports

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @prima
                last edited by

                @prima said in CoreMP135 Debian image:

                The mDNS service aka Zeroconf aka Avahi aka Bonjour is already enabled on the device, so if you have the client tools installed on your PC you can connect in SSH using the .local address like this:

                ssh root@M5Core135.local
                

                M5Core135 is the default hostname.

                I cant get a ssh login with the latest Debian release. the default password return access denied in SSH

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                ajb2k3A J 2 Replies Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @ajb2k3
                  last edited by

                  gpioinvestigating.png

                  Finally getting around to looking at the GPIO's on the CoreMP135.
                  not getting far at the moment as it took all weekend to work out how to expand the OS to use the whole card then get it to install GPIOD.

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mgrouch @ajb2k3
                    last edited by

                    What were the changes between

                    M5_CoreMP135_debian12_20240919

                    and

                    M5_CoreMP135_debian12_20240628

                    I can find it in github.

                    Thanks

                    ajb2k3A 1 Reply Last reply Reply Quote 1
                    • ajb2k3A
                      ajb2k3 @mgrouch
                      last edited by

                      @mgrouch I don't have the slightest idea.
                      I run the apt update and apt upgrade to make sure I have the latest version.

                      UIFlow, so easy an adult can learn it!
                      If I don't know it, be patient!
                      I've ether not learned it or am too drunk to remember it!
                      Author of the WIP UIFlow Handbook!
                      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                      1 Reply Last reply Reply Quote 0
                      • J
                        JNVoirol @ajb2k3
                        last edited by

                        @ajb2k3
                        Hello, I have the same problem using latest image of the OS. When I try to login as root I got the message access denied. How did you handle this ?

                        ajb2k3A 1 Reply Last reply Reply Quote 0
                        • ajb2k3A
                          ajb2k3 @JNVoirol
                          last edited by

                          @JNVoirol I still haven't solved the ssh issue yet so still directly logging in.

                          UIFlow, so easy an adult can learn it!
                          If I don't know it, be patient!
                          I've ether not learned it or am too drunk to remember it!
                          Author of the WIP UIFlow Handbook!
                          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post