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

    USB recovery problems on SG1100

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    4 Posts 3 Posters 590 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.
    • G
      garyd
      last edited by stephenw10

      My trouble began with a botched upgrade from 23.05.1 to 23.09. I was able to find and boot back to 23.05.1 but found that power cycle would still try to load the broken 23.09. So I decided to "run usbrecovery" and that worked partially the first time but now I can't seem to get the USB image to load:

      >> FreeBSD EFI boot block
         Loader path: /boot/loader.efi
      
         Initializing modules: ZFS UFS
         Load Path: /\armada-3720-sg1100.dtb
         Probing 1 block devices...not supported
       done
          ZFS found no pools
          UFS found no partitions
      Failed to load '/boot/loader.efi'
      panic: No bootable partitions found!
      ## Application terminated, r = 1
      

      Please help as I am offline and can't wait to have another one shipped to me. Here is my boot env:

      baudrate=115200
      boot_file=efi/boot/bootaa64.efi
      bootcmd=run emmcboot; run scsiboot; run net;
      bootdelay=2
      console=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
      dtb=armada-3720-sg1100.dtb
      dtb_name=armada-3720-netgate-1100.dtb
      dtb_name_old=armada-3720-sg1100.dtb
      efi_8be4df61-93ca-11d2-aa0d-00e098032b8c_OsIndicationsSupported={ro,boot}(blob)0000000000000000
      efi_cfee69ad-a0de-47a9-93a8-f63106f8ae99_Boot1Path={boot,run}(blob)2f005c00610072006d006100640061002d0033003700320030002d007300670031003100300030002e006400740062000000
      emmcboot=mmc rescan; setenv loaddev mmc; setenv loadunit 1; if fatls $loaddev $loadunit:2 /; then run pfsenseboot; fi;
      eth1addr=00:51:82:11:22:01
      eth2addr=00:51:82:11:22:02
      eth3addr=00:51:82:11:22:03
      ethact=neta@30000
      ethaddr=f0:ad:4e:0b:46:e8
      ethprime=eth0
      fdt_addr=0x4f00000
      fdt_addr_r=0x6f00000
      fdt_high=0xffffffffffffffff
      fdt_name=fdt.dtb
      fdtaddr=6f00000
      fdtcontroladdr=3f62d490
      fileaddr=6f00000
      filesize=4666
      gatewayip=10.4.50.254
      get_images=tftpboot $kernel_addr $image_name; tftpboot $fdt_addr $fdt_name; run get_ramfs
      get_ramfs=if test "${ramfs_name}" != "-"; then setenv ramfs_addr 0x8000000; tftpboot $ramfs_addr $ramfs_name; else setenv ramfs_addr -;fi
      hostname=marvell
      image_name=Image
      initrd_addr=0xa00000
      initrd_size=0x2000000
      ipaddr=0.0.0.0
      kernel_addr=0x7000000
      kernel_addr_r=0x7000000
      loadaddr=0x7000000
      loaddev=usb
      loadunit=0
      net=dhcp; tftp $fdt_addr_r $dtb_name; tftp $kernel_addr_r loader.efi; fdt addr $fdt_addr_r; fdt set / sn $serial; fdt set /soc/internal-regs/ethernet local-mac-address $ethaddr; bootefi $kernel_addr_r $fdt_addr_r;
      netdev=eth0
      netmask=255.255.255.0
      pfsenseboot=if fatls $loaddev $loadunit:2 /armada-3720-netgate-1100.dtb ; then setenv dtb $dtb_name; else setenv dtb $dtb_name_old; fi; load $loaddev $loadunit:1 $kernel_addr_r $boot_file; load $loaddev $loadunit:2 $fdt_addr_r $dtb; fdt addr $fdt_addr_r; fdt set / sn $serial; fdt set /soc/internal-regs/ethernet local-mac-address $ethaddr; bootefi $kernel_addr_r $fdt_addr_r;
      ramfs_addr=0x8000000
      ramfs_name=-
      recovery=run usbboot;
      root=root=/dev/nfs rw
      rootpath=/srv/nfs/
      scsiboot=scsi reset; setenv loaddev scsi; setenv loadunit 0; if fatls $loaddev $loadunit:2 /; then run pfsenseboot; fi;
      sdboot=setenv loaddev mmc; setenv loadunit 0; run pfsenseboot;
      serial=NTG1926000636
      serverip=0.0.0.0
      set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath $extra_params
      stderr=serial@12000
      stdin=serial@12000
      stdout=serial@12000
      usbboot=usb reset; setenv loaddev usb; setenv loadunit 0; if fatls $loaddev $loadunit:2 /; then run pfsenseboot; fi;
      usbrecovery=mmc dev 1; mmc erase 0 400000; run usbboot;
      
      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @garyd
        last edited by

        @garyd Not sure if it’s the message or mobile formatting but I can’t see what you quoted…? Are you in the middle of a reinstall?
        https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html
        Try the “usb reset” per the note there. Possibly try a different USB stick?

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        G 1 Reply Last reply Reply Quote 0
        • G
          garyd @SteveITS
          last edited by stephenw10

          @SteveITS a brand new USB drive has the same problem:

          >> FreeBSD EFI boot block
             Loader path: /boot/loader.efi
          
             Initializing modules: ZFS UFS
             Load Path: /\armada-3720-sg1100.dtb
             Probing 1 block devices...not supported
           done
              ZFS found no pools
              UFS found no partitions
          Failed to load '/boot/loader.efi'
          panic: No bootable partitions found!
          ## Application terminated, r = 1
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            What image are you using on the USB stick?

            Please show all the console output from run usbrecovery to where it stops.

            Try using the other USB port.

            Steve

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