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

    Unable to Boot Duet3 with Raspberry Pi 4B

    Scheduled Pinned Locked Moved
    General Discussion
    4
    10
    345
    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.
    • danyzilllaundefined
      danyzillla
      last edited by

      Hello!

      I am setting up a Duet 3 6HC board in SBC mode with a Raspberry Pi 4B, but the Pi does not seem able to boot.

      Here are the symptoms:

      1. The 6HC's LEDs seem fine: the 12V, 5V, 3.3V LEDs are solid and the status LED is blinking.
      2. The Pi's power (red) LED is solid (goes out once or twice during boot process, but mostly solid) and ACT (green) LED flashes intermittently for about a minute, until it goes out permanently thereafter.
      3. Connected to a monitor, the screen is black, and using WiFi also returns a blank page.

      Here are some troubleshooting steps I have taken:

      1. Power: I checked the 5V jumpers, I tried powering the 6HC and Pi separately (microUSB for Duet 3, type-C for Pi), I tried powering via a 12V power supply (hence the 12V LED being solid earlier), and it did not help, so I do not believe that power is an issue.
      2. SD card: I balena-etched the DuetPi image onto a different SD card, as well as re-etched the original SD card, which also did not fix the problem.
      3. WiFi: As mentioned earlier, I tried plugging the Pi into a monitor with a mouse and keyboard and got no output, so WiFi is likely not the problem.
      4. Raspberry Pi: I booted the Pi into Raspian OS by itself to make sure it worked, and checked WiFi - found no problems.

      I am fairly confident that the problem is not hardware, but rather a basic software issue. I am relatively new to this, so I may have missed something not in the setup guides!

      Thank you in advance.

      Nurgelrotundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
      • Nurgelrotundefined
        Nurgelrot @danyzillla
        last edited by

        @danyzillla What Pi Os image are you using? If your using DuetPi-lite did you set your network info in wpa_supplicant.conf from Windows before booting the Pi? And if so are you sure there are no type-o's? If your using the non lite image you'll have to make the file yourself.

        I don't think the hdmi screen will come on if your using the lite version and your wont be able to connect to if the WiFi is incorrect... (pretty much describes your situation) You could check with a wired Ethernet cable though... I know DarkAges stuff.

        But you're right if it works fine with regular Rasbian then its something you're missing in DuetPi

        danyzilllaundefined 2 Replies Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @danyzillla
          last edited by

          @danyzillla it's not recommended to power a pi 4 from the duet 3 6HC. What you're probably seeing is the duet unable to provide enough power.
          You need to change the jumpers so the pi can be powered externally and then use a 5v PSU to do so

          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

          danyzilllaundefined 1 Reply Last reply Reply Quote 0
          • danyzilllaundefined
            danyzillla @Nurgelrot
            last edited by danyzillla

            @nurgelrot I neglected to mention this, but indeed I am using the full image with the GUI. I did add the file myself, checked for typos, etc. Unfortunately I do not think WiFi is the problem however, as I am not getting a display output with the full DuetPi image.

            1 Reply Last reply Reply Quote 0
            • danyzilllaundefined
              danyzillla @jay_s_uk
              last edited by

              @jay_s_uk I just tried this, and no luck unfortunately. I tried this earlier by plugging the Pi into my PC's USB port, and just now with a laptop 45W USB type-C power brick, so I am inclined to doubt that power supply is an issue.

              1 Reply Last reply Reply Quote 0
              • danyzilllaundefined
                danyzillla @Nurgelrot
                last edited by

                @nurgelrot I also neglected to mention that I tried Ethernet as a trouble shooting step... no luck. I think the Pi is not even booting to the point that it would connect to internet or get an IP address lease. I also checked with my mobile hotspot on 2.4Ghz and 5Ghz bands just in case, and that did not work either. 😞

                1 Reply Last reply Reply Quote 0
                • danyzilllaundefined
                  danyzillla
                  last edited by

                  IMPORTANT EDIT:

                  I ended up booting again, and this time I used the first HDMI port for the monitor (I used the second one earlier because it was farther from the USB type C port, so it was easier to get at). I ended up getting this:

                  db79e152-40ad-451e-8260-515c7fbd3e05-Raspberry Pi Boot Code.jpg

                  The only thing of note here is error code 84. I searched on Raspberry Pi forums what it could mean, but it was rather unhelpful - it seems error code 84 indicates corrupted files on the SD card, but at this point, having tried two SD different SD cards, etching around a dozen times, and reformatting them even more, I do not know what else I can do.

                  Please advise!

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Try using a standard Pi image of raspbian or something just to see if it still happens. Perhaps the DuetPi image is corrupted. If that still doesn't work then you're either very unlucky with SD cards, or the SD card slot on the Pi is faulty.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    danyzilllaundefined 1 Reply Last reply Reply Quote 0
                    • danyzilllaundefined
                      danyzillla
                      last edited by

                      I ended up finding a solution on the raspberry pi forum (https://www.raspberrypi.org/forums/viewtopic.php?t=274554) :

                      1. Find cmdline.txt in the boot partition:

                      2. Find this word in the line:
                        root=PARTUUID=xxxxxxxx-xx
                        (those x'es are placeholders, actually they are letters and numbers)

                      3. Replace that word with root=/dev/mmcblk0p2.

                      1 Reply Last reply Reply Quote 0
                      • danyzilllaundefined
                        danyzillla @Phaedrux
                        last edited by

                        @phaedrux Yeah I tried that and the Pi was just fine, I did end up finding something in the cmdline.txt that allowed it to boot just fine!

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