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

    boot/device.hints

    Scheduled Pinned Locked Moved Hardware
    20 Posts 4 Posters 2.7k 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.
    • C
      cgi2099 @stephenw10
      last edited by

      @stephenw10

      This is what I do to get it to boot initially and then edit the device.hints for future reboots but it doesn't stick through upgrades/updates.

      Here is the link I found to help me to get it to bootup the first time. It was a head scratcher for a little while:

      https://www.neelc.org/posts/hp-t740-freebsd/

      I was just checking to see if there was a way to not have to do this through upgrades. I'm not even sure what those are for lol

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

        Ok, well I would try:

        hint.uart.0.at="0"
        hint.uart.1.at="0"
        

        But setting it disabled there is probably just as good. There is probably some resource conflict caused by the serial ports on the device for some reason.

        Steve

        C 1 Reply Last reply Reply Quote 1
        • C
          cgi2099 @stephenw10
          last edited by

          @stephenw10

          Yes these work for first boot if you interrupt no problem, they just don't persist without commenting out the above lines and those don't persist through updates/upgrades.

          Just a pain because this is setup in a closet without a keyboard and monitor, so there is no way to update/upgrade without taking it out of the closet etc...

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

            Right which is why you need to put them in /boot/loader.conf.local which is maintained across an upgrade.

            C ? 2 Replies Last reply Reply Quote 1
            • C
              cgi2099 @stephenw10
              last edited by cgi2099

              @stephenw10

              Ohhh okay, took me a while to get there lol

              So just add:

              hint.uart.0.disabled="1"
              hint.uart.1.disabled="1"
              

              to the loader.conf.local and all should be good?

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

                You'll have to test to know if that works. Be sure to have console access in case it doesn't boot! ๐Ÿ˜‰

                C 2 Replies Last reply Reply Quote 1
                • C
                  cgi2099 @stephenw10
                  last edited by

                  @stephenw10

                  I will give it a shot this evening

                  Thank you so much :)

                  1 Reply Last reply Reply Quote 0
                  • C
                    cgi2099 @stephenw10
                    last edited by

                    @stephenw10
                    This did work!

                    Thank you so much :)

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

                      Great to hear. ๐Ÿ‘

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @stephenw10
                        last edited by

                        @stephenw10 said in boot/device.hints:

                        Right which is why you need to put them in /boot/loader.conf.local which is maintained across an upgrade.

                        Would you please so friendly and take a minute on top to this file called /boot/loader.conf.local please.

                        If I write something in, like the thread opener his line,
                        and I have several different line to put in for several things
                        and I want comment this line for what they are standing,
                        how to do this without problems? as an example:

                        set CPU Frequent high up to 1400 MHz
                        hint.p4tcc.0.disabled=1
                        hint.acpi_throttle.0.disabled=1
                        hint.acpi_perf.0.disabled=1
                        
                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          The octothorpe # indicates a comment so you could do:

                          # CPU Power and Frequency settings
                          set CPU Frequent high up to 1400 MHz
                          hint.p4tcc.0.disabled=1
                          hint.acpi_throttle.0.disabled=1
                          hint.acpi_perf.0.disabled=1
                          
                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @stephenw10
                            last edited by

                            @stephenw10
                            Thank you!

                            Here is none active and;

                            # set CPU Frequent high up to 1400 MHz
                            #hint.p4tcc.0.disabled=1
                            #hint.acpi_throttle.0.disabled=1
                            #hint.acpi_perf.0.disabled=1
                            

                            here are all active, is this rigt?

                            # set CPU Frequent high up to 1400 MHz
                            hint.p4tcc.0.disabled=1
                            hint.acpi_throttle.0.disabled=1
                            hint.acpi_perf.0.disabled=1
                            

                            I will try out this for my new installation on CP Engines APU to tune the CPU is able going something between
                            1000Mhz and 1400Mhz against default 600Mhz to 1000Mhz.

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

                              That's correct.

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @stephenw10
                                last edited by

                                @stephenw10

                                Thank you very much for that information.

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