<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/meminfo.c, branch next</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>Merge patch series "Add command for getting ramsize in scripts"</title>
<updated>2026-02-07T17:51:43+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-02-07T17:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b887a1c1a1110582d178faad4397a0197938454e'/>
<id>b887a1c1a1110582d178faad4397a0197938454e</id>
<content type='text'>
Frank Wunderlich &lt;frank-w@public-files.de&gt; says:

Add command for getting ramsize in scripts

Link: https://lore.kernel.org/r/20260204184045.111808-1-linux@fw-web.de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Frank Wunderlich &lt;frank-w@public-files.de&gt; says:

Add command for getting ramsize in scripts

Link: https://lore.kernel.org/r/20260204184045.111808-1-linux@fw-web.de
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: mem: add command for getting ram size for use in scripts</title>
<updated>2026-02-07T17:51:33+00:00</updated>
<author>
<name>Frank Wunderlich</name>
<email>frank-w@public-files.de</email>
</author>
<published>2026-02-04T18:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e202eca183b0f1d6747b934482dc6249abdd742b'/>
<id>e202eca183b0f1d6747b934482dc6249abdd742b</id>
<content type='text'>
Add a command for getting detected ram size with possibility to
assign it to an environment variable.

example usage:

BPI-R4&gt; memsize
4096 MiB
BPI-R4&gt; memsize memsz
BPI-R4&gt; printenv memsz
memsz=4096
BPI-R4&gt;

board with 8GB ram:

BPI-R4&gt; memsize
8192 MiB
BPI-R4&gt; memsize memsz
BPI-R4&gt; printenv memsz
memsz=8192
BPI-R4&gt;

Signed-off-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a command for getting detected ram size with possibility to
assign it to an environment variable.

example usage:

BPI-R4&gt; memsize
4096 MiB
BPI-R4&gt; memsize memsz
BPI-R4&gt; printenv memsz
memsz=4096
BPI-R4&gt;

board with 8GB ram:

BPI-R4&gt; memsize
8192 MiB
BPI-R4&gt; memsize memsz
BPI-R4&gt; printenv memsz
memsz=8192
BPI-R4&gt;

Signed-off-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/meminfo: display of addresses above 4 GiB</title>
<updated>2026-01-19T09:31:21+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-12-21T01:58:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=460fba63b5d204d02e5bec5e710b16c41766e3ca'/>
<id>460fba63b5d204d02e5bec5e710b16c41766e3ca</id>
<content type='text'>
Addresses above 4 GiB don't fit into 8 digits.
Use 13 digits which encompass up to 15 TiB.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses above 4 GiB don't fit into 8 digits.
Use 13 digits which encompass up to 15 TiB.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meminfo: correct "free" memory region size</title>
<updated>2025-08-07T17:15:41+00:00</updated>
<author>
<name>Shiji Yang</name>
<email>yangshiji66@outlook.com</email>
</author>
<published>2025-07-27T07:42:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c60898c9c6988e34d33a7c5d5b79c0bcc14da719'/>
<id>c60898c9c6988e34d33a7c5d5b79c0bcc14da719</id>
<content type='text'>
The size of free memory should be $lmb_base - $ram_base.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The size of free memory should be $lmb_base - $ram_base.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meminfo: add memory details for armv8</title>
<updated>2025-03-14T11:30:12+00:00</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2025-02-20T13:54:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e34ecf9d5ef15590c4681c651d508097ebf2b026'/>
<id>e34ecf9d5ef15590c4681c651d508097ebf2b026</id>
<content type='text'>
Upcoming patches are mapping memory with RO, RW^X etc permsissions.
Fix the meminfo command to display them properly

Acked-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upcoming patches are mapping memory with RO, RW^X etc permsissions.
Fix the meminfo command to display them properly

Acked-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meminfo: Show the lmb records</title>
<updated>2024-10-25T20:22:24+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-10-21T08:19:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9252b7f867f7638ba3f6af85058fee7b3993222d'/>
<id>9252b7f867f7638ba3f6af85058fee7b3993222d</id>
<content type='text'>
Add the lmb records onto the end of the memory map.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the lmb records onto the end of the memory map.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: Update the meminfo command to show the memory map</title>
<updated>2024-10-25T20:22:24+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-10-21T08:19:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f18c048e6e6194b4f64d440f514dc158e4eb12a7'/>
<id>f18c048e6e6194b4f64d440f514dc158e4eb12a7</id>
<content type='text'>
U-Boot has a fairly rigid memory map which is normally not visible
unless debugging is enabled in board_f.c

Update the 'meminfo' command to show it. This command does not cover
arch-specific pieces but gives a good overview of where things are.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
U-Boot has a fairly rigid memory map which is normally not visible
unless debugging is enabled in board_f.c

Update the 'meminfo' command to show it. This command does not cover
arch-specific pieces but gives a good overview of where things are.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: Move meminfo command into its own file</title>
<updated>2024-10-25T20:22:24+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-10-21T08:19:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8306c3b035bebce2d4060620d85192a401128bd7'/>
<id>8306c3b035bebce2d4060620d85192a401128bd7</id>
<content type='text'>
In preparation for expanding this command, move it into a separate file.
Rename the function to remove the extra underscore. Update the number of
arguments to 1, since 3 is incorrect.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for expanding this command, move it into a separate file.
Rename the function to remove the extra underscore. Update the number of
arguments to 1, since 3 is incorrect.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
