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

Real memory question

Scheduled Pinned Locked Moved Official Netgate® Hardware
14 Posts 3 Posters 1.0k 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
    JonathanLee
    last edited by Jan 25, 2024, 4:15 PM

    IMG_0116.png

    Make sure to upvote

    1 Reply Last reply Reply Quote 0
    • J
      JonathanLee
      last edited by Jan 25, 2024, 4:17 PM

      My goal is to get it to add up to 4GB binary value. Anyone ever try to do that?

      Make sure to upvote

      1 Reply Last reply Reply Quote 0
      • J
        JonathanLee
        last edited by Jan 25, 2024, 4:18 PM

        IMG_0117.png

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • J
          JonathanLee
          last edited by Jan 25, 2024, 4:20 PM

          IMG_0118.png

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          • J
            JonathanLee
            last edited by Jan 25, 2024, 4:21 PM

            IMG_0119.jpeg

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Jan 25, 2024, 4:23 PM

              Yes, that's the expected value in the 2100:

              real memory = 3602862080 (3435 MB)
              avail memory = 3462533120 (3302 MB)
              

              The memory map from the SoC provides 32bit access so it sees 3.6GB.

              Steve

              1 Reply Last reply Reply Quote 1
              • J
                JonathanLee
                last edited by Jan 25, 2024, 4:23 PM

                Anyone else know any wicked ram memory commands for freeBSD let me know.

                Make sure to upvote

                S 1 Reply Last reply Jan 25, 2024, 4:41 PM Reply Quote 0
                • S
                  serbus @JonathanLee
                  last edited by Jan 25, 2024, 4:41 PM

                  @JonathanLee

                  Hello!

                  Something like...

                  dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"
                  

                  ...can be useful.

                  John

                  Lex parsimoniae

                  J 1 Reply Last reply Jan 25, 2024, 4:54 PM Reply Quote 0
                  • J
                    JonathanLee
                    last edited by Jan 25, 2024, 4:52 PM

                    Oooo this one is good too

                    Screenshot 2024-01-25 at 08.50.22.png

                    grep memory off of a sysctl -a....

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 0
                    • J
                      JonathanLee @serbus
                      last edited by JonathanLee Jan 25, 2024, 4:56 PM Jan 25, 2024, 4:54 PM

                      @serbus said in Real memory question:

                      dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"

                      Dang that one didn't work on arm for me

                      Screenshot 2024-01-25 at 08.53.39.png

                      Screenshot 2024-01-25 at 08.55.21.png

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • J
                        JonathanLee
                        last edited by Jan 25, 2024, 4:59 PM

                        and you got your GUI monitor nice one..

                        Screenshot 2024-01-25 at 08.58.22.png

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by stephenw10 Jan 25, 2024, 5:37 PM Jan 25, 2024, 5:36 PM

                          There are some things you can see from uboot. Firstly that at boot it reports:

                          Model: Silicom Rogue-2
                                 CPU     1200 [MHz]
                                 L2      800 [MHz]
                                 TClock  200 [MHz]
                                 DDR     750 [MHz]
                          DRAM:  3.4 GiB
                          

                          You can check the board info:

                          Marvell>> bdinfo
                          arch_number = 0x00000000
                          boot_params = 0x00000100
                          DRAM bank   = 0x00000000
                          -> start    = 0x00000000
                          -> size     = 0x04000000
                          DRAM bank   = 0x00000001
                          -> start    = 0x05400000
                          -> size     = 0x7AC00000
                          DRAM bank   = 0x00000002
                          -> start    = 0x80000000
                          -> size     = 0x40000000
                          DRAM bank   = 0x00000003
                          -> start    = 0xC0000000
                          -> size     = 0x10000000
                          DRAM bank   = 0x00000004
                          -> start    = 0xE0000000
                          -> size     = 0x08000000
                          baudrate    = 115200 bps
                          TLB addr    = 0x7FFF0000
                          relocaddr   = 0x7FF36000
                          reloc off   = 0x7FF36000
                          irq_sp      = 0x7F623350
                          sp start    = 0x7F623350
                          Early malloc usage: 228 / 2000
                          fdt_blob = 000000007f623360
                          

                          And adding up those sizes gives 0xD6C00000 = 3602907136 = 3.6GB = 3.35GiB

                          1 Reply Last reply Reply Quote 1
                          14 out of 14
                          • First post
                            14/14
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received