Where do I find/build cbmem binary?
Please find attached dmesg.
On 29/07/2013 14:43, Aaron Durbin wrote:
Can you provide the full firmware log and dmesg? 'cbmem -l' should give you the firmware log.
On Sun, Jul 28, 2013 at 7:47 AM, John Lewis jlewis@johnlewis.ie wrote:
Guys, I have noticed that not all the 4 GB or RAM is showing, and I get this message in the kernel: [ 0.000000] Memory: 1914260k/4200448k available (6486k kernel code, 2160136k absent, 126052k reserved, 6780k data, 1412k init) Any idea what the problem is (mrc.bin), and what I might do to workaround? John. -- coreboot mailing list: coreboot@coreboot.org [1] http://www.coreboot.org/mailman/listinfo/coreboot [2]
Links: ------ [1] mailto:coreboot@coreboot.org [2] http://www.coreboot.org/mailman/listinfo/coreboot
Scratch that, found and compiled it in coreboot/util/cbmem. Doesn't output very much though, assume I need to compile debugging and console in.
On 29/07/2013 15:19, John Lewis wrote:
Where do I find/build cbmem binary?
Please find attached dmesg.
On 29/07/2013 14:43, Aaron Durbin wrote:
Can you provide the full firmware log and dmesg? 'cbmem -l' should give you the firmware log. On Sun, Jul 28, 2013 at 7:47 AM, John Lewis <jlewis@johnlewis.ie [3]> wrote:
Guys, I have noticed that not all the 4 GB or RAM is showing, and I get this message in the kernel: [ 0.000000] Memory: 1914260k/4200448k available (6486k kernel code, 2160136k absent, 126052k reserved, 6780k data, 1412k init) Any idea what the problem is (mrc.bin), and what I might do to workaround? John. -- coreboot mailing list: coreboot@coreboot.org [1] [1] http://www.coreboot.org/mailman/listinfo/coreboot [2] [2]
Links:
[1] mailto:coreboot@coreboot.org [2] http://www.coreboot.org/mailman/listinfo/coreboot
Links: ------ [1] mailto:coreboot@coreboot.org [2] http://www.coreboot.org/mailman/listinfo/coreboot [3] mailto:jlewis@johnlewis.ie
It's under the 'util' directory in the coreboot repository:
http://review.coreboot.org/gitweb?p=coreboot.git;a=tree;f=util/cbmem;h=14fbe...
From this:
[ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000040200000-0x000000007c6dffff] usable [ 0.000000] BIOS-e820: [mem 0x000000007c6e0000-0x000000007f1fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f3ffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001005fffff] usable
Adding up the reported usable memory should jive with your expectations. As for needing console, yes, you will need to compile with console.
CONFIG_EARLY_CBMEM_INIT=y CONFIG_CONSOLE_CBMEM=y
On Mon, Jul 29, 2013 at 9:19 AM, John Lewis jlewis@johnlewis.ie wrote:
Where do I find/build cbmem binary?
Please find attached dmesg.
On 29/07/2013 14:43, Aaron Durbin wrote:
Can you provide the full firmware log and dmesg? 'cbmem -l' should give you the firmware log.
On Sun, Jul 28, 2013 at 7:47 AM, John Lewis jlewis@johnlewis.ie wrote:
Guys, I have noticed that not all the 4 GB or RAM is showing, and I get this message in the kernel: [ 0.000000] Memory: 1914260k/4200448k available (6486k kernel code, 2160136k absent, 126052k reserved, 6780k data, 1412k init) Any idea what the problem is (mrc.bin), and what I might do to workaround? John. -- coreboot mailing list: coreboot@coreboot.org [1] http://www.coreboot.org/mailman/listinfo/coreboot [2]
Links:
[1] mailto:coreboot@coreboot.org [2] http://www.coreboot.org/mailman/listinfo/coreboot
On Mon, 2013-07-29 at 15:19 +0100, John Lewis wrote:
Where do I find/build cbmem binary?
Please find attached dmesg.
Hi
I have same issue. Only about 2Gib of 4GiB installed shows. I had not noticed this until You pointed this out. Looks like a problem with the last entry coreboot creates in e820 memory map.
This is from your dmesg, I see same with (close to) current master.
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001005fffff] usable
The coreboot image my Samsung 550 originally shipped with had this:
[ 0.000000] BIOS-e820: 0000000100000000 - 000000014fe00000 (usable)
Kyösti
Kyösti,
I'm not certain it's just the last entry of the e820. mrc is just seeing 2GiB of ram and setting it up that way.
TOUUD 0x100600000 TOLUD 0x7f200000 TOM 0x80000000 MEBASE 0x7f800000 IGD decoded, subtracting 32M UMA and 2M GTT TSEG base 0x7c800000 size 8M Available memory below 4GB: 1992M Available memory above 4GB: 6M
-Aaron
On Mon, Jul 29, 2013 at 10:04 AM, Kyösti Mälkki kyosti.malkki@gmail.com wrote:
On Mon, 2013-07-29 at 15:19 +0100, John Lewis wrote:
Where do I find/build cbmem binary?
Please find attached dmesg.
Hi
I have same issue. Only about 2Gib of 4GiB installed shows. I had not noticed this until You pointed this out. Looks like a problem with the last entry coreboot creates in e820 memory map.
This is from your dmesg, I see same with (close to) current master.
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001005fffff] usable
The coreboot image my Samsung 550 originally shipped with had this:
[ 0.000000] BIOS-e820: 0000000100000000 - 000000014fe00000 (usable)
Kyösti
Hi
Here is my cbmem -c output. And I can actually only see one DIMM with 2 GiB detected here, so you can probably forget about what I wrote about e820..
Kyösti
If one pulls the dimm out of the slot does the machine boot? I'm curious if reading the dimm spd is working or using the on-board spd memory is working. Based on what I am seeing I would expect the board not to boot.
Let me know what you guys find.
-Aaron
On Mon, Jul 29, 2013 at 10:13 AM, Kyösti Mälkki kyosti.malkki@gmail.com wrote:
Hi
Here is my cbmem -c output. And I can actually only see one DIMM with 2 GiB detected here, so you can probably forget about what I wrote about e820..
Kyösti