• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG Project Image Capture on Raspberry Pi 4 (ARM64) via U-Boot

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    53 Posts 3 Posters 1.2k 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.
    • J
      Jeremy @Tom Elliott
      last edited by

      @Tom-Elliott

      Regarding OPNsense, there isn’t anyone on the infrastructure team available to look into it right now; I can probably check on that Monday morning.

      To be transparent with you, I’ve been retraining for a new career since February 2026 and only just obtained my IT diploma in July. What helps is that I’m persistent with projects and usually manage to get the job done. I’ll get back to you once I have the information regarding OPNsense.

      c7c21587-422e-4b8f-9e41-a83d1b13068a-image.png

      bb057c4c-aaeb-418a-8680-53868b66c841-image.png

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • SimonGuentherS
        SimonGuenther @Jeremy
        last edited by

        @Jeremy Haven’t done this on a Pi specifically, so take this as pointers rather than a known fix, but a few things jump out.

        First, if udhcpc is already getting a lease, then the FOS init is running, so it’s not really a kernel hang, it’s stopping somewhere in the init scripts after network up. Which makes me look straight at mode=debug in your bootargs. Debug mode in FOS is interactive, it waits for you to hit a key or type at a shell before it does anything. If the console you’re watching isn’t the one it’s prompting on, that looks exactly like a hang. I’d drop mode=debug for a run and see if it moves on, and separately get a serial console on the Pi (enable_uart in config.txt, add console=serial0,115200 alongside your tty1) so you can actually see where it stops instead of guessing from HDMI.

        Second, you swapped the kernel but kept the stock FOS initrd. That’s fine in principle, but the FOG init was built against FOG’s own kernel config. Worth checking that the Pi kernel has everything the init expects when it mounts root from /dev/ram0 with that ramdisk_size, and that nothing later in the init is relying on a module or kernel feature the Pi build doesn’t ship. A serial log with loglevel=7 will tell you quickly.

        Third, unrelated to the hang but it’ll bite you right after: for a capture (type=up) FOG normally points storage at the dev share, storage=IP:/images/dev/, not /images/. The image gets moved into /images/ by the server once the upload finishes. If you hand rolled the bootargs from a deploy example, that one’s easy to miss.

        Also, since the target is a single USB SSD, you might get more mileage checking whether the FOS init even handles /dev/sda as a capture target the way you’d expect on ARM, but that’s step two. Get it past checkin first. Would be good to hear if Tom or Sebastian have opinions on running FOS with a non FOG kernel, I don’t think that’s a path many have gone down.

        J 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Jeremy
          last edited by

          @Jeremy If you can put a dumb switch between the Pi and the cable you currently connect into:

          Connect the cable you normally plugin to the Pi into the 5 port switch then your pi to that switch and this should test the connectivity STP problem I believe is occurring.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          J 1 Reply Last reply Reply Quote 0
          • SimonGuentherS
            SimonGuenther @Tom Elliott
            last edited by

            @Tom-Elliott

            @Jeremy said in FOG Project Image Capture on Raspberry Pi 4 (ARM64) via U-Boot:

            @Tom-Elliott

            Regarding OPNsense, there isn’t anyone on the infrastructure team available to look into it right now; I can probably check on that Monday morning.

            To be transparent with you, I’ve been retraining for a new career since February 2026 and only just got my IT diploma in July. I’m still building experience, but one thing I know about myself is that I stick with projects and usually find a way to get them finished. I’ll get back to you once I have the information regarding OPNsense. Tropical Casino https://tropical-casino.com/ gives me a similar mindset with game rules and account settings: if something isn’t clear, I’d rather work through it properly than pretend I already know the answer. I’d rather be accurate than fast.

            c7c21587-422e-4b8f-9e41-a83d1b13068a-image.png

            bb057c4c-aaeb-418a-8680-53868b66c841-image.png

            Thanks for bearing with me on this. While I wait to get someone from the infrastructure side to look at the OPNsense box, is there anything specific you’d want me to check on it so I can come to Monday with the right information?

            My assumption is that once the kernel brings the NIC up and pulls a DHCP lease, the init scripts then need to reach the FOG server over HTTP (the web= address) and NFS for the image storage. If the Pi and the FOG server are sitting on different subnets or VLANs, I’m wondering whether OPNsense could be dropping that traffic at exactly the point where it hangs, right after “Link is Up” and before fog.checkin ever runs.

            If that’s a plausible direction, I can have them check the firewall rules and live logs for anything blocked between the Pi’s subnet and the server on the relevant ports. If you think it’s more likely something else entirely, let me know what you’d prioritise and I’ll chase that instead. Either way I’ll report back once I’ve been able to get onto the OPNsense side.

            1 Reply Last reply Reply Quote 0
            • J
              Jeremy @Tom Elliott
              last edited by

              @Tom-Elliott

              Hi, I’m using a Proxmox bridged network interface, I can’t connect anywhere else because otherwise it wouldn’t be the same network, so we’re trying to find a solution on our end.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jeremy @SimonGuenther
                last edited by

                @SimonGuenther

                Hi, The blockage isn’t caused by a forgotten debug command, since that isn’t present in the deployment test; we have a managed switch right before the Raspberry Pi connection—that might be the issue. I’m discussing it with my colleagues at work to see how we can handle it.

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

                  This post is deleted!
                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jeremy @Jeremy
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J
                      Jeremy @Tom Elliott
                      last edited by

                      @Tom-Elliott

                      OPNsense:

                      Option 66: I correctly entered the FOG server’s IP address.

                      Option 67: I entered the filename ipxe.efi.

                      Do I always need to keep ipxe.efi in OPNsense?

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Jeremy
                        last edited by

                        @Jeremy
                        Option 66 -> The FOG server or your TFTP Server.
                        Option 67 -> The Filename ALL machines should use for booting automatically.

                        I don’t think this matters in respect to the Raspberry Pi’s though.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                        75

                        Online

                        12.8k

                        Users

                        17.6k

                        Topics

                        157.0k

                        Posts
                        Copyright © 2012-2026 FOG Project