[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grub RAM memory model
From: |
Ace Malone |
Subject: |
Grub RAM memory model |
Date: |
Mon, 16 Apr 2018 12:04:52 +0300 |
Hello,
I want to create a module for grub that will do a RAM test.
Before starting this, I need to know how grub sees the RAM.
I have a F26L board fom MEN. It has an Intel Atom E3900 and 8 GB RAM.
If I look at the output from lsmmap, the last available block of ram is 6GB and
starts at address 4G. I see also some reserved areas of RAM.
How a RAM test shall be implemented having this memory mapping?
Thanks,
Adrian
This is what grub shows:
grub> lsmmap
base_addr = 0x0, length = 0x8000, available RAM
base_addr = 0x8000, length = 0x36000, available RAM
base_addr = 0x3e000, length = 0x1000, available RAM
base_addr = 0x3f000, length = 0x1000, reserved RAM
base_addr = 0x40000, length = 0x5f000, available RAM
base_addr = 0x9f000, length = 0x61000, reserved RAM
base_addr = 0x100000, length = 0xff00000, available RAM
base_addr = 0x12151000, length = 0x3d600000, available RAM
base_addr = 0x4f751000, length = 0x1b8af000, available RAM
base_addr = 0x6b000000, length = 0x20000, available RAM
base_addr = 0x6b020000, length = 0x5262000, available RAM
base_addr = 0x70282000, length = 0xa9000, available RAM
base_addr = 0x7032b000, length = 0x54f2000, available RAM
base_addr = 0x7581d000, length = 0x1d3000, available RAM
base_addr = 0x759f0000, length = 0x42d000, available RAM
base_addr = 0x75e1d000, length = 0x3b3a000, reserved RAM
base_addr = 0x79957000, length = 0xde000, available RAM
base_addr = 0x79a35000, length = 0x354000, ACPI non-volatile storage RAM
base_addr = 0x79d89000, length = 0x340000, reserved RAM
base_addr = 0x7a0c9000, length = 0x53000, RAM holding firmware code
base_addr = 0x7a11c000, length = 0x379000, available RAM
base_addr = 0x7a495000, length = 0x1000, ACPI non-volatile storage RAM
base_addr = 0x7a496000, length = 0x2a000, reserved RAM
base_addr = 0x7a4c0000, length = 0x624000, available RAM
base_addr = 0x7aae4000, length = 0x2000, reserved RAM
base_addr = 0x7aae6000, length = 0x51a000, available RAM
base_addr = 0x100000000, length = 0x180000000, available RAM
base_addr = 0x10000000, length = 0x2151000, reserved RAM
base_addr = 0x7b000000, length = 0x5000000, reserved RAM
base_addr = 0xd0000000, length = 0x1000000, reserved RAM
base_addr = 0xe0000000, length = 0x10000000, reserved RAM
base_addr = 0xfe042000, length = 0x1000, reserved RAM
base_addr = 0xfe043000, length = 0x1000, reserved RAM
base_addr = 0xfe044000, length = 0x1000, reserved RAM
base_addr = 0xfe900000, length = 0x3000, reserved RAM
base_addr = 0xfec00000, length = 0x1000, reserved RAM
base_addr = 0xfed01000, length = 0x1000, reserved RAM
base_addr = 0xfee00000, length = 0x1000, reserved RAM
base_addr = 0xff000000, length = 0x1000000, reserved RAM
grub> lsefimmap
Type Physical start - end #Pages Size Attributes
BS-code 0000000000000000-0000000000007fff 00000008 32KiB UC WC WT WB
conv-mem 0000000000008000-000000000003dfff 00000036 216KiB UC WC WT WB
BS-data 000000000003e000-000000000003efff 00000001 4KiB UC WC WT WB
reserved 000000000003f000-000000000003ffff 00000001 4KiB UC WC WT WB
BS-code 0000000000040000-000000000009efff 0000005f 380KiB UC WC WT WB
reserved 000000000009f000-00000000000fffff 00000061 388KiB UC WC WT WB
conv-mem 0000000000100000-000000000fffffff 0000ff00 255MiB UC WC WT WB
conv-mem 0000000012151000-000000004f750fff 0003d600 982MiB UC WC WT WB
ldr-data 000000004f751000-000000006affffff 0001b8af 451260KiB UC WC WT WB
BS-data 000000006b000000-000000006b01ffff 00000020 128KiB UC WC WT WB
conv-mem 000000006b020000-0000000070281fff 00005262 84360KiB UC WC WT WB
ldr-code 0000000070282000-000000007032afff 000000a9 676KiB UC WC WT WB
BS-data 000000007032b000-000000007581cfff 000054f2 86984KiB UC WC WT WB
conv-mem 000000007581d000-00000000759effff 000001d3 1868KiB UC WC WT WB
BS-code 00000000759f0000-0000000075e1cfff 0000042d 4276KiB UC WC WT WB
reserved 0000000075e1d000-0000000079956fff 00003b3a 60648KiB UC WC WT WB
conv-mem 0000000079957000-0000000079a34fff 000000de 888KiB UC WC WT WB
ACPI-nvs 0000000079a35000-0000000079d88fff 00000354 3408KiB UC WC WT WB
RT-data 0000000079d89000-000000007a0c8fff 00000340 3328KiB RT UC WC WT WB
RT-code 000000007a0c9000-000000007a11bfff 00000053 332KiB RT UC WC WT WB
BS-data 000000007a11c000-000000007a494fff 00000379 3556KiB UC WC WT WB
ACPI-nvs 000000007a495000-000000007a495fff 00000001 4KiB UC WC WT WB
RT-data 000000007a496000-000000007a4bffff 0000002a 168KiB RT UC WC WT WB
BS-data 000000007a4c0000-000000007aae3fff 00000624 6288KiB UC WC WT WB
RT-data 000000007aae4000-000000007aae5fff 00000002 8KiB RT UC WC WT WB
BS-data 000000007aae6000-000000007affffff 0000051a 5224KiB UC WC WT WB
conv-mem 0000000100000000-000000027fffffff 00180000 6GiB UC WC WT WB
reserved 0000000010000000-0000000012150fff 00002151 34116KiB UC WC WT WB
reserved 000000007b000000-000000007fffffff 00005000 80MiB UC WC WT WB
MMIO 00000000d0000000-00000000d0ffffff 00001000 16MiB RT UC
MMIO 00000000e0000000-00000000efffffff 00010000 256MiB RT UC
MMIO 00000000fe042000-00000000fe042fff 00000001 4KiB RT UC
MMIO 00000000fe043000-00000000fe043fff 00000001 4KiB RT UC WT WB WP
MMIO 00000000fe044000-00000000fe044fff 00000001 4KiB RT UC
MMIO 00000000fe900000-00000000fe902fff 00000003 12KiB RT UC
MMIO 00000000fec00000-00000000fec00fff 00000001 4KiB RT UC
MMIO 00000000fed01000-00000000fed01fff 00000001 4KiB RT UC
MMIO 00000000fee00000-00000000fee00fff 00000001 4KiB RT UC
MMIO 00000000ff000000-00000000ffffffff 00001000 16MiB RT UC
Sent from Mail for Windows 10
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Grub RAM memory model,
Ace Malone <=