• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

UNSOLVED Installing DSF on a Banana-Pi-M3 with Raspbian OS

Scheduled Pinned Locked Moved
DSF Development
8
38
2.0k
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.
  • ?
    A Former User
    last edited by 20 Dec 2020, 11:10

    Not familiar with the banana pi, can you share the output from uname -a and cat /proc/cpuinfo?

    ? 1 Reply Last reply 20 Dec 2020, 11:26 Reply Quote 0
    • ?
      A Former User @A Former User
      last edited by A Former User 20 Dec 2020, 11:26

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @JayJay
        last edited by 20 Dec 2020, 11:31

        @JayJay said in Installing DSF on a Banana-Pi-M3 with Raspbian OS:

        gpg: key DA91C86B: no valid user IDs

        btw seems to sugget bananapi with raspios/raspbian isnt fully compatible because it works just fine on the regular pi with regular raspios:

        pi@raspberrypi:~$ wget -qO - "https://pkg.duet3d.com/duet3d.gpg" | sudo apt-key add -
        wget -qO - "https://pkg.duet3d.com/duet3d.gpg" | sudo apt-key add -
        OK
        pi@raspberrypi:~$
        ? 1 Reply Last reply 20 Dec 2020, 11:37 Reply Quote 0
        • ?
          A Former User @A Former User
          last edited by A Former User 20 Dec 2020, 11:37

          @bearer

          The bananapi runs an ARMv7 processor, so it "should" work

          Duet Software Framework resembles a collection of programs to control an attached Duet3D board from a Linux-based mini computer (SBC). Since it is using .NET Core, it requires an ARM processor that supports ARMv7 instructions processor is required

          For clarity: I'm successfully running a banana-pi with DSF and i followed the guide the OP listed so im not sure why it worked for me but not him.

          1 Reply Last reply Reply Quote 1
          • undefined
            JayJay
            last edited by JayJay 20 Dec 2020, 11:52

            uname -a :

            Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel #1 SMP PREEMT Sat May 26 10:03:38 UTC 2018 arm7l GNU/Linux

            cat /proc/cpuinfo:

            Processor : ARMv7 Processor rev 5 (v71)
            processor : 0
            BogoMIPS : 4800
            processor : 1
            BogoMIPS : 4800
            processor : 2
            BogoMIPS : 4800
            processor : 3
            BogoMIPS : 4800
            processor : 4
            BogoMIPS : 4800
            processor : 5
            BogoMIPS : 4800
            processor : 6
            BogoMIPS : 4800
            processor : 7
            BogoMIPS : 4800
            Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt
            CPU implementer : 0x41
            CPU architecture : 7
            CPU Variant : 0x0
            CPU Part : 0xc07
            CPU Revision : 5
            Hardare : sun8i
            Revision : 0000
            Serial : 50300102008add2ed0e

            @CaLviNx

            you say you have this running on a bananapi, would you be able to share your image if that is even possible.

            ? ? 2 Replies Last reply 20 Dec 2020, 12:06 Reply Quote 0
            • ?
              A Former User @JayJay
              last edited by A Former User 20 Dec 2020, 12:06

              @JayJay

              I'm not sure how to do that!

              My banana-pi is an older M2 (says its an ARMv7 too though)

              EDIT: im running Debian not raspbian (dont know if that makes a difference or not)

              OS im running

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @JayJay
                last edited by 20 Dec 2020, 15:33

                @JayJay said in Installing DSF on a Banana-Pi-M3 with Raspbian OS:

                Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel

                That's not raspbian/raspios is it?

                undefined 1 Reply Last reply 20 Dec 2020, 15:55 Reply Quote 0
                • undefined
                  JayJay @A Former User
                  last edited by JayJay 20 Dec 2020, 15:55

                  @bearer

                  well im not sure what its telling you, im a new user to linux in general , I just downloaded the version of raspbian from the bananapi forum my thinking was that if I used a bananapi version of raspbian I would have a better chance of success .

                  Raspbian for Bpi

                  undefined 1 Reply Last reply 20 Dec 2020, 16:06 Reply Quote 0
                  • undefined
                    jay_s_uk @JayJay
                    last edited by 20 Dec 2020, 16:06

                    @JayJay you may be able to succeed with armbian

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    undefined 1 Reply Last reply 20 Dec 2020, 16:57 Reply Quote 0
                    • undefined
                      JayJay @jay_s_uk
                      last edited by 20 Dec 2020, 16:57

                      @jay_s_uk

                      i will try it thank you

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        JayJay
                        last edited by 20 Dec 2020, 20:46

                        So progress or a sort.

                        two steps forward and five back...

                        I installed armbian THANK YOU @jay_s_uk which successfully allowed me to install DSF.

                        I set the buffer size as requested, and according to the bananapi docs the M3 has the same pinout as a Rpi.

                        I now get a new issue !!

                        When I run : sudo systemctl start duetcontrolserver
                        It outputs the following:

                        Dec 20 19:30 bananapim3 DuetControlServer [724] : Started Duet control Server
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : Duet control Server v3.1.1
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : Written by Christian Hammacher for Duet3D
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : Licensed under the terms of the GNU Public License Version 3
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : [info] Settings Loaded
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : [Info] Environment initialized
                        Dec 20 19:30 bananapim3 DuetControlServer [724] : [fatal] Could not connect to Duet (error 517. Cannot put line into event mode)

                        And that then starts a loop

                        Ideas ?

                        undefined 1 Reply Last reply 23 Dec 2020, 11:06 Reply Quote 0
                        • ?
                          A Former User
                          last edited by A Former User 20 Dec 2020, 21:09

                          You might need the gpio library used? (Sorry can't remember the name, but if you look for the loopback test thread i think it's mentioned there).

                          edit: found the reference when on computer, so maybe try sudo apt-get install gpiod ?

                          undefined 1 Reply Last reply 20 Dec 2020, 22:41 Reply Quote 0
                          • undefined
                            JayJay @A Former User
                            last edited by 20 Dec 2020, 22:41

                            @bearer

                            I installed the library and still no go.

                            i invited a friend over who has a raspberry-pi (3b+) we plugged that in with a copy of official Raspbian image and that worked perfect, so i now know its not the Duet-3 .

                            i tried to get into armbian-config to set the spi but armbian-config->system->hardware throws up an error :

                            armbian-config hardware error expected at least 6 tokens for checklist have 4 use --help to list options. submodule.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              JayJay
                              last edited by 22 Dec 2020, 10:53

                              @bearer

                              So i got raspbian to actaully install the DSF package but i now have an error which is evidently linked to the SPI connection not being activated.

                              As i get the following error

                              [Fatal] could not connecto to Duet (error 2 cannot open GPIO device file  '/dev/gpiochip0/
                              

                              I am not a linux user and I am not that good with coding so i really need a idiots step by step guide on what i need to do to enable the SPI

                              on the banana-pi (even with raspbian) there is NO section in raspi-config to enable the SPI

                              so im at a loss as to how i go about enabling it and i looked at some of the online guides on how to do this and i became very very lost as it is all greek to me.

                              i installed RPI.GPIO but how to actually use it and configure things again all greek to me.

                              is anyone able to advise ?

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                JayJay
                                last edited by 22 Dec 2020, 19:13

                                Thank you to those that tried to assist.

                                I am somewhat dissapointed that no-one from the duet team offered any assistance whatsoever.

                                The only option left is to run the board in standalone mode, i dont want to go with a raspberry pi.

                                undefined 1 Reply Last reply 22 Dec 2020, 19:22 Reply Quote 0
                                • undefined
                                  gloomyandy @JayJay
                                  last edited by 22 Dec 2020, 19:22

                                  @JayJay said in UNSOLVED Installing DSF on a Banana-Pi-M3 with Raspbian OS:

                                  The only option left is to run the board in standalone mode, i dont want to go with a raspberry pi.

                                  Out of interest why don't you want to use a raspberry pi?

                                  undefined 1 Reply Last reply 22 Dec 2020, 19:44 Reply Quote 0
                                  • undefined
                                    JayJay @gloomyandy
                                    last edited by 22 Dec 2020, 19:44

                                    @gloomyandy said in UNSOLVED Installing DSF on a Banana-Pi-M3 with Raspbian OS:

                                    @JayJay said in UNSOLVED Installing DSF on a Banana-Pi-M3 with Raspbian OS:

                                    The only option left is to run the board in standalone mode, i dont want to go with a raspberry pi.

                                    Out of interest why don't you want to use a raspberry pi?

                                    I feel it's a even worse a proposition than the bannana pi, I have used the raspberry pi for a lot of home automation projects that used raspbain and with that the GPIO thing was never an issue but hardware wise I found the raspberry pi's burned out very quickly, making them less cost effective.

                                    So I was looking for an alternative to the raspberry pi I had high hopes for the bannana pi.

                                    This being my first one it now seems I should just bite the bullet and pay once for the software/hardware to run all my home automation from a central win pc over a network.

                                    From reading the forum many people are having connection issues with the Duet 3 to raspberry pi so I am getting the feeling the whole single board computer interface idea is more than a little half baked.

                                    The lack of support from duet for anything other than a raspberry pi is as i said is dissapointing, and I know the reply to that will be "if you cant work it out on your own you should not be near it" and that too shows the attitude towards its users.

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User
                                      last edited by 22 Dec 2020, 20:58

                                      I'd be hesitant to say the Raspberries burn out quickly as a general statement, certainly doesn't match my experience.

                                      But yes, single board computer interface is half baked and intended for OEMs and enthusiasts to build on. What is your end goal with the Pi, be it raspberry, banana, orange or whatnot?

                                      ? 1 Reply Last reply 22 Dec 2020, 22:23 Reply Quote 0
                                      • ?
                                        A Former User @A Former User
                                        last edited by 22 Dec 2020, 22:23

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          chrishamm administrators @JayJay
                                          last edited by chrishamm 23 Dec 2020, 11:06

                                          @JayJay Your last attempt looked good but I suspect you have to change the GPIO number for the transfer ready pin in /opt/dsf/conf/config.json (key TransferReadyPin). But because I currently don't have access to my BananaPi I can't tell you to which value.

                                          DSF uses the same GPIO driver like gpiod (i.e. /dev/gpiochip*), so I suggest you run gpioinfo after installing gpiod on your system. That should help you identify which GPIO# has to be set.

                                          You must have a /dev/gpiochip node on your system and adjust the DCS config, else DSF will not be able to communicate with the Duet.

                                          Duet software engineer

                                          1 Reply Last reply Reply Quote 1
                                          16 out of 38
                                          • First post
                                            16/38
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA