Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Netgate SG-2100 boot issue

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    12 Posts 2 Posters 775 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.
    • B
      BLolly
      last edited by

      While troubleshooting a version upgrade failure on a netgate SG-2100, while I was at the Marvell>> CLI, I entered "bootp", instead of "help bootp", as I wanted to see what that command was all about. Now my Netgate SG-2100 won't boot up. It just loops at iterations of
      BOOTP broadcast n (where n is an iteration counter), see below :

      Model: Silicom Rogue-2
      Net: eth0: neta@30000 [PRIME], eth1: neta@40000
      Hit any key to stop autoboot: 0
      Setting bus to 1
      ** No partition table - mmc 0 **

      Reset SCSI
      scanning bus for devices...
      ** Bad device scsi 0 **
      resetting USB...
      USB0: Register 2000104 NbrPorts 2
      Starting the controller
      USB XHCI 1.00
      USB1: USB EHCI 1.00
      scanning bus 0 for devices... 1 USB Device(s) found
      scanning bus 1 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
      ** Bad device usb 0 **
      BOOTP broadcast 1
      BOOTP broadcast 2
      BOOTP broadcast 3
      BOOTP broadcast 4
      .....ad nauseum

      Does anyone know how to force it back to booting off the NetGate's internal image software ?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Hmm, well it should run whatever is in the bootcmd env by default.

        You can check that by running at the Marvell prompt printenv.

        B 2 Replies Last reply Reply Quote 0
        • B
          BLolly @stephenw10
          last edited by

          @stephenw10
          Marvell>> printenv
          arch=arm
          baudrate=115200
          board=mvebu_armada-37xx
          board_name=mvebu_armada-37xx
          boot_file=efi/boot/bootaa64.efi
          bootcmd=run setLED; run mmcboot; run scsiboot; run usbboot; run net;
          bootdelay=2
          cpu=armv8
          dmi_board_mfg=Silicom
          dmi_board_name=80500-0205-G00
          dmi_board_serial=1913217814
          dmi_board_ver=R307
          dmi_chassis_mfg=Silicom
          dmi_chassis_serial=1913217814
          dmi_chassis_ver=R307
          dmi_sys_mfg=Silicom
          dmi_sys_name=SG-2100
          dmi_sys_serial=1913217814
          dmi_sys_ver=R307
          dtb_name=armada-3720-sg2100.dtb
          eth1addr=90:EC:77:0A:5A:30
          ethact=neta@30000
          ethaddr=90:EC:77:0A:5A:2F
          ethprime=eth0
          fdt_addr_r=0xc00000
          fdtcontroladdr=7f623360
          gatewayip=10.4.50.254
          ipaddr=0.0.0.0
          kernel_addr_r=0x1000000
          loadaddr=0x1000000
          mmcboot=mmc rescan; setenv load_dev mmc; if fatls ${load_dev} 0:2 /; then run pfsenseboot; fi;
          net=dhcp; tftp ${fdt_addr_r} ${dtb_name}; tftp ${kernel_addr_r} loader.efi; fdt addr ${fdt_addr_r}; fdt set / sn ${dmi_sys_serial}; bootefi ${kernel_addr_r} ${fdt_addr_r};
          netgateid=5cd82c1fcba9a1bc4299
          netmask=255.255.255.0
          pfsenseboot=load ${load_dev} 0:2 ${fdt_addr_r} ${dtb_name}; load ${load_dev} 0:1 ${kernel_addr_r} ${boot_file}; fdt addr ${fdt_addr_r}; fdt set / sn ${dmi_sys_serial}; bootefi ${kernel_addr_r} ${fdt_addr_r};
          pxefile_addr_r=0x2000
          ramdisk_addr_r=0x2000000
          rootpath=/srv/nfs/
          scsiboot=scsi reset; setenv load_dev scsi; if fatls ${load_dev} 0:2 /; then run pfsenseboot; fi;
          serverip=0.0.0.0
          setLED=i2c dev 1; i2c reset; i2c mw 67 ff 0; i2c mw 67 0 1; i2c mw 67 f 20; i2c mw 67 3 40; i2c mw 67 26 0; i2c mw 67 10 0;
          soc=mvebu
          stderr=serial@12000
          stdin=serial@12000
          stdout=serial@12000
          usbboot=usb reset; setenv load_dev usb; if fatls ${load_dev} 0:2 /; then run pfsenseboot; fi;
          usbrecovery=mmc erase 0 400000; run usbboot
          vendor=Marvell
          Environment size: 1851/65531 bytes
          Marvell>>

          1 Reply Last reply Reply Quote 0
          • B
            BLolly @stephenw10
            last edited by

            @stephenw10 ...and thanks for replying !

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              @BLolly said in Netgate SG-2100 boot issue:

              Setting bus to 1
              ** No partition table - mmc 0 **

              Ok that command is correct but you can see it fails to boot from eMMC. And it fails to find an SDD.
              Is this a 2100-MAX with an SSD?

              It's probably going to be quickest to reinstall as long as you have a backup of the config.
              https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html

              B 1 Reply Last reply Reply Quote 0
              • B
                BLolly @stephenw10
                last edited by

                @stephenw10
                No, this is the standard SG-2100.
                That's how this all started. I originally tried to upgrade from the GUI, but it failed with a "EFI partition size is small (800K)," error. So I tried to reinstall the software from the console, using "netgate-installer-aarch64.img" pfSense Plus software version 23.01 I downloaded from the website. I then copied that file to a 30GB formatted Fat32, 64KB allocation unit size USB thumb-drive, with 29+GB of free space on it. But when I run the install w/ that thumb-drive inserted in the SG-2100 USB-A port, I get this partition error :
                Marvell>> run usbrecovery
                MMC erase: dev # 0, block # 0, count 4194304 ... 4194304 blocks erased: OK
                resetting USB...
                USB0: Register 2000104 NbrPorts 2
                Starting the controller
                USB XHCI 1.00
                USB1: USB EHCI 1.00
                scanning bus 0 for devices... 1 USB Device(s) found
                scanning bus 1 for devices... 2 USB Device(s) found
                scanning usb for storage devices... 1 Storage Device(s) found
                ** Invalid partition 2 **
                Marvell>>

                Any idea why that is happening ?
                Thanks.

                stephenw10S 1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator @BLolly
                  last edited by

                  @BLolly said in Netgate SG-2100 boot issue:

                  I then copied that file to a 30GB formatted Fat32, 64KB allocation unit size USB thumb-drive

                  Yes, you can't just copy that image to the USB drive. It has to be bit for bit flashed to the drive so it's bootable:
                  https://docs.netgate.com/pfsense/en/latest/install/write-memstick.html

                  Steve

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BLolly @stephenw10
                    last edited by

                    @stephenw10 Got it, thanks, I'll try that.

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      BLolly @BLolly
                      last edited by

                      @BLolly One last dumb question, sorry....
                      I will be installing this onto and flashing the drive from a Windows 11 laptop, so I assume I use the "ETCHER FOR WINDOWS (X86|X64) (INSTALLER)"
                      installer, even though the flashdrive will ultimately be used in a linux box (the Netgate 2100) ? My choices are :
                      ETCHER FOR WINDOWS (X86|X64) (INSTALLER)
                      ETCHER FOR WINDOWS (X86|X64) (PORTABLE)
                      ETCHER FOR LINUX X64 (64-BIT) (APPIMAGE)
                      ETCHER FOR LINUX (LEGACY 32 BIT) (APPIMAGE)
                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes the x64 Windows installer for Etcher should work there.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          BLolly @stephenw10
                          last edited by

                          @stephenw10 Stephen, you are the MAN ! Your recommendations and advice were spot on, and my Netgate appliance is back on line and working properly. Thanks for all your assistance. Sending you a virtual 6-pack of your favorite beer.👏 👍 😀

                          1 Reply Last reply Reply Quote 1
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            😁

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.