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

Watchguard XTM 5 Series

Hardware
130
1.1k
1.4m
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.
  • D
    DaveAngel
    last edited by Oct 20, 2020, 6:33 PM

    The original Watchguard CF card OS boot is able to start Recovery Mode (SysB) or Safe Mode (SysA Safe) from LCD Keys
    I think is something embedded in MBR or in GRUB stage...

    I had a crazy idea... how shall be hard making a multiboot like that to choice via LCD keys which disk / partition will have to start ?

    Obviously i think who should be the right one for the answer...
    Stephen i'm very cold about ASM or C coding...
    I can only give an original Watchguard CF image and no more right now.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Oct 20, 2020, 6:56 PM

      I believe that code is in BIOS and passed to GRUB. You will still see it try to boot recovery even without a CF card present.

      Steve

      D 1 Reply Last reply Nov 11, 2020, 12:51 PM Reply Quote 0
      • D
        DaveAngel @stephenw10
        last edited by Nov 11, 2020, 12:51 PM

        @stephenw10 sorry for the delay... i tried without the CF Card and nothing happens during the startup phase on the LCD pressing UP or DOWN button of the case keypad... only the WG BIOS V 1.2 stay.
        But you could be in right and some code could be embedded in bios too to storage a flag value somewhere...

        I'm affascinating by bios and i wish spend time investigating.. please may you give me some hints about software you used to modding the XTM5's AMI Bios ?
        I tried to search on the web but i found only recent software that don't recognize this 1024k ROM.

        D 1 Reply Last reply Nov 11, 2020, 1:16 PM Reply Quote 0
        • D
          Dufflepod @DaveAngel
          last edited by Nov 11, 2020, 1:16 PM

          @DaveAngel

          [1] Install the flashrom tool

          pkg
          pkg install flashrom
          rehash
          

          [2] Download the new flash image

          cd /tmp
          fetch https://sites.google.com/site/pfsensefirebox/home/xtm5_83.rom
          md5sum xtm5_83.rom
          

          The MD5 has should be: e75bc93ca2db547a3facb8d611f0d441

          [3] Reprogram the flash

          Read and save the original/current flash image

          flashrom -r rom.original –programmer internal
          

          Write the new image

          flashrom -w xtm5_83.rom –programmer internal
          

          Verify the write was successful

          flashrom -v xtm5_83.rom –programmer internal
          

          Pull the CMOS battery & mains power, wait a few minutes, reboot & voilà.
          If everything's OK you can delete the new image file with:

          rm /tmp/xtm5_83.rom
          
          D 1 Reply Last reply Nov 11, 2020, 3:56 PM Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by stephenw10 Nov 11, 2020, 1:31 PM Nov 11, 2020, 1:31 PM

            For actually editing the image there are a number of tools that can open and modify the older pre-uefi AMI BIOSes. Including AMIs own proprietary tool amibcp. You'll have to go searching for that if you want to use it.
            Bare in mind it's very easy to make an image that doesn't POST and then you need to reflash the chip directly. I did it several times! 😉
            https://forum.netgate.com/post/336712

            Steve

            1 Reply Last reply Reply Quote 0
            • D
              DaveAngel @Dufflepod
              last edited by Nov 11, 2020, 3:56 PM

              @Dufflepod thanks i'm aware about that procedure. I wish to edit the .ROM file not just to push it on the CHIP as is.

              @stephenw10 i found the right (i think) 3.51 version of the amibcp tools but it seems to have a partial control on the bios. I think you found some more specific tool... to be able to change Arm/Disarm LED status and to change the LCD text during bios...
              If you could help me at least telling me the name of the right software ;)
              I know after that i have to do my hard work on my own...
              Thanks

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Nov 11, 2020, 4:18 PM

                The ARM LED is set by setting the appropriate SIO registers.
                The LCD message I changed by hex editing the right module directly. Which is why it had to be the same number of characters. 😉

                D V 2 Replies Last reply Nov 11, 2020, 7:43 PM Reply Quote 0
                • D
                  DaveAngel @stephenw10
                  last edited by Nov 11, 2020, 7:43 PM

                  @stephenw10

                  👍 thx

                  1 Reply Last reply Reply Quote 0
                  • V
                    valepe69 @stephenw10
                    last edited by Nov 20, 2020, 11:03 AM

                    @stephenw10 Hi, I bought two XTM 5, they have same motherboard (MB-7580W v1.0, CK: 9A80 2010-02-03).
                    They differ by the flash bios: one (I'll call it A) has a label with YK12 1046, the other (I'll call it B) has this label with YJ96 3493.
                    So I installed pfsense on a CF and I flashed unit A with flashrom. All fine, on boot I see the new string and the red led.
                    I wasn't able to do the same with unit B, flashrom was unable to find the device to write. So I loaded freedos with afudos in a cf and flashed this way. All fine on boot I see the new string but red led doesn't come up.
                    I can enter the bios and chenge settings but this led doesn't turn on during boot.
                    What happens?

                    Ps: I unmounted the lcd assembly and mounted on the unit A and red led works.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Nov 20, 2020, 1:50 PM

                      Hmm, are they the same model xtm5? There were two generation but they were almost identical as far as I know.
                      Can you you set the LED using WGXepc?

                      Steve

                      V 1 Reply Last reply Nov 20, 2020, 3:50 PM Reply Quote 0
                      • V
                        valepe69 @stephenw10
                        last edited by Nov 20, 2020, 3:50 PM

                        @stephenw10 Just tryed, WGXepc64 changes the led. I tryed with green and red.
                        Any ideas why the bios don't turn on the led?

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Nov 20, 2020, 3:59 PM

                          I don't. It should, it uses the same set of register changes in the SuperIO chip that WGXepc does.

                          1 Reply Last reply Reply Quote 0
                          • T
                            t-rexky
                            last edited by Nov 20, 2020, 4:14 PM

                            Consider the possibility that the BIOS was previously flashed with a custom image...

                            V 1 Reply Last reply Nov 20, 2020, 4:17 PM Reply Quote 0
                            • V
                              valepe69 @t-rexky
                              last edited by Nov 20, 2020, 4:17 PM

                              @t-rexky Before the flashing the bios was the stock one

                              1 Reply Last reply Reply Quote 0
                              • chpalmerC
                                chpalmer
                                last edited by Nov 20, 2020, 4:56 PM

                                My very new unit at the time (year old display model) did not turn on the red light either.

                                Triggering snowflakes one by one..
                                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                                V 1 Reply Last reply Nov 20, 2020, 5:10 PM Reply Quote 0
                                • V
                                  valepe69 @chpalmer
                                  last edited by valepe69 Nov 20, 2020, 5:12 PM Nov 20, 2020, 5:10 PM

                                  @chpalmer but with the modded bios it should.
                                  Infact the other unit ("same" as this one) turns on the red led.
                                  I can't find the differences between them. Adding that the led works with WXGepc package.

                                  chpalmerC 1 Reply Last reply Nov 20, 2020, 5:17 PM Reply Quote 0
                                  • chpalmerC
                                    chpalmer @valepe69
                                    last edited by Nov 20, 2020, 5:17 PM

                                    @valepe69 said in Watchguard XTM 5 Series:

                                    @chpalmer but with the modded bios it should.
                                    Infact the other unit ("same" as this one) turns on the red led

                                    Yes. it did. :) Watchguard must have made changes at some point.. Ive had several stock units (which I put pfsense on for friends) come through and noted the earlier ones had the red LED whereas mine and a later unit did not.

                                    I always change the firmware on them when I get them.

                                    Triggering snowflakes one by one..
                                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by stephenw10 Nov 20, 2020, 5:38 PM Nov 20, 2020, 5:38 PM

                                      Hmm, that my bios or t-rexky's? Or am I misremembering? 😉

                                      There are a number of things required to enable the red arm led. I'm pretty sure I set all of them....

                                      If you run WGXepc at the command line after rebooting does it show it's having to set the GPIO pins?
                                      https://github.com/stephenw10/WGXepc/blob/master/WGXepc.c#L1398

                                      The BIOS has to set those up for the LED to work so boxes running a modded BIOS should never show those messages.

                                      Steve

                                      V 1 Reply Last reply Nov 20, 2020, 6:40 PM Reply Quote 0
                                      • V
                                        valepe69 @stephenw10
                                        last edited by Nov 20, 2020, 6:40 PM

                                        @stephenw10 I used your one. When I run WGXepc I don't remeber messages. Only the the led operation.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by Nov 20, 2020, 8:19 PM

                                          Hmm, well I would try rebooting it and running WGXepc from the CLI again. If you do see one or more of those it will show the BIOS is not setting up the SIO device as expected.

                                          Steve

                                          V 1 Reply Last reply Nov 21, 2020, 9:25 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.