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.
    • Stephen6309undefined
      Stephen6309 @JayJay
      last edited by

      @JayJay pkg.duet3d.com/duet3d.gpg is not a web page.

      https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Software_Installation

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by A Former User

        weather or not its a web page is kinda irelevant as its served by a web browser server and downloaded by a web client according to the instruction he listed and you linked to - but somehow OP is passing the url to bash instead of wget.

        1 Reply Last reply Reply Quote 1
        • JayJayundefined
          JayJay @A Former User
          last edited by

          @bearer

          Thank you very much for taking the time to reply.

          I have tried inputing each command by manually typing each line in the terminal and I also tried copy paste and still the same occurs i will try the command you listed and see what happens.

          thank you again.

          1 Reply Last reply Reply Quote 0
          • JayJayundefined
            JayJay
            last edited by JayJay

            im logged in as root and if i try using the code that @bearer listed i get the following error message

            gpg: key DA91C86B: no valid user IDs
            

            if i follow the link posted by @Stephen6309 i can input the following codes successfully :

            wget -q https://pkg.duet3d.com/duet3d.gpg
            wget -q https://pkg.duet3d.com/duet3d.list
            sudo mv duet3d.gpg /etc/apt/trusted.gpg.d/
            sudo mv duet3d.list /etc/apt/sources.list.d/duet3d.list
            sudo chown root:root /etc/apt/trusted.gpg.d/duet3d.gpg
            sudo chown root:root /etc/apt/sources.list.d/duet3d.list
            

            And with the code

            sudo apt-get install apt-transport-https
            

            It tells me everything is already the newest version

            But then when i type in :

            sudo apt-get update
            

            I receive the following error message

            W: GPG error: https://pkg.duet3d.com stable InRelease: Unkown error in executing gpgv
            

            when i try to use the command

            sudo apt-get install duetsoftwareframework
            

            it reads the packing list, then builds the depeendency tree and reads the "state" information then reports the following:

            *Some packages could not be installed. This may mean that you have requested an inpossible situation or if you are using the unstable distribution that some required packages have nopt yet been created or have been moved out of Incoming.

            The following information may help resolve the situation:

            the following packages have unmet dependencies:
            duetsoftwareframework :
            Depends : duetcontrolserver (= 3.1.1) but it is not going to be installed
            Depends : duetsd (= 1.0.6) but it is not going to be installed
            Depends : duettools (= 3.1.1) but it is not going to be installed
            Depends : duetwebserver (= 3.1.1) but it is not going to be installed
            Depends : reprapfirmware (>= 3.1.1-1) but it is not going to be installed
            Depends : reprapfirmware (<= 3.1.1-999) but it is not going to be installed
            E: Unable to correct problems, you have held broken packages *

            A Former User? 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

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

              A Former User? 1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @A Former User
                last edited by A Former User

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @JayJay
                  last edited by

                  @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:~$
                  
                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @A Former User
                    last edited by A Former User

                    @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
                    • JayJayundefined
                      JayJay
                      last edited by JayJay

                      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.

                      A Former User? A Former User? 2 Replies Last reply Reply Quote 0
                      • A Former User?
                        A Former User @JayJay
                        last edited by A Former User

                        @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?
                          A Former User @JayJay
                          last edited by

                          @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?

                          JayJayundefined 1 Reply Last reply Reply Quote 0
                          • JayJayundefined
                            JayJay @A Former User
                            last edited by JayJay

                            @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

                            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk @JayJay
                              last edited by

                              @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

                              JayJayundefined 1 Reply Last reply Reply Quote 0
                              • JayJayundefined
                                JayJay @jay_s_uk
                                last edited by

                                @jay_s_uk

                                i will try it thank you

                                1 Reply Last reply Reply Quote 0
                                • JayJayundefined
                                  JayJay
                                  last edited by

                                  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 ?

                                  chrishammundefined 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User
                                    last edited by A Former User

                                    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 ?

                                    JayJayundefined 1 Reply Last reply Reply Quote 0
                                    • JayJayundefined
                                      JayJay @A Former User
                                      last edited by

                                      @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
                                      • JayJayundefined
                                        JayJay
                                        last edited by

                                        @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
                                        • JayJayundefined
                                          JayJay
                                          last edited by

                                          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.

                                          gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                          • gloomyandyundefined
                                            gloomyandy @JayJay
                                            last edited by

                                            @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?

                                            JayJayundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA