Change DRAM message and add RAM doc
v2 cover Change DRAM message and add RAM doc
This short series is an ongoing effort to make RAM utilization clearer for easier debugging and understanding of code. Intention is for users to quickly be able to identify the CONFIGs needed to modify for their RAM usecase.
Neha Malcom Francis (2):
board_f: Modify DRAM message
doc: memory: Add documentation for system RAM
.gitattributes | 1 + common/board_f.c | 2 +- doc/develop/memory.rst | 158 +++++++++++++++++++++++++- doc/develop/pics/spl_after_reloc.svg | Bin 0 -> 193600 bytes doc/develop/pics/spl_before_reloc.svg | Bin 0 -> 224608 bytes 5 files changed, 159 insertions(+), 2 deletions(-) create mode 100644 doc/develop/pics/spl_after_reloc.svg create mode 100644 doc/develop/pics/spl_before_reloc.svg
Signature · 1 line
2.34.1
PATCH v2 1/2 board_f: Modify DRAM message
The message "DRAM: 2 GiB (effective 32 GiB)" can be a little confusing, modify the message s/effective/total to make it more evident.
--- common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/board_f.c +1 -1
@@ -254,7 +254,7 @@ static int show_dram_config(void)print_size (gd->ram_size,"" );if (!sizes_near (gd->ram_size, size)) { -printf (" (effective " ); +printf (" (total " );print_size (size,")" ); }board_add_ram_info (0 );
Signature · 1 line
2.34.1
PATCH v2 2/2 doc: memory: Add documentation for system RAM
In reply to Neha Malcom FrancisAdd documentation for system RAM utilization in U-Boot.
--- .gitattributes | 1 + doc/develop/memory.rst | 158 +++++++++++++++++++++++++- doc/develop/pics/spl_after_reloc.svg | Bin 0 -> 193600 bytes doc/develop/pics/spl_before_reloc.svg | Bin 0 -> 224608 bytes 4 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 doc/develop/pics/spl_after_reloc.svg create mode 100644 doc/develop/pics/spl_before_reloc.svg
.gitattributes +1 -0
@@ -6,3 +6,4 @@ *.ttf binary *.gz binary *.png binary +*.svg binary
doc/develop/memory.rst +157 -1
167 lines not on this page · raw message
doc/develop/pics/spl_after_reloc.svg new file binary +0 -0
doc/develop/pics/spl_before_reloc.svg new file binary +0 -0
Signature · 1 line
2.34.1
Alexander Dahl
NAKRe: [PATCH v2 2/2] doc: memory: Add documentation for system RAM
Moin,
Am Wed, Mar 19, 2025 at 07:33:27PM +0530 schrieb Neha Malcom Francis:
Quoted 8 lines
Add documentation for system RAM utilization in U-Boot.
Signed-off-by Neha Malcom Francis <[email protected]>--- .gitattributes | 1 + doc/develop/memory.rst | 158 +++++++++++++++++++++++++- doc/develop/pics/spl_after_reloc.svg | Bin 0 -> 193600 bytes doc/develop/pics/spl_before_reloc.svg | Bin 0 -> 224608 bytes
Had a look at the first svg. It's just some rectangles, arrows, and text. This should _not_ be ~200k but really small not much more than 20k! Actually there are pixel images embedded in your grahipcs instead of just using text. This is contradicting a vector image format, please invest some time for proper graphics instead of throwing bmp cloaked as svg to git as binary.
.gitattributes line 9
Quoted 13 lines
4 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 doc/develop/pics/spl_after_reloc.svg create mode 100644 doc/develop/pics/spl_before_reloc.svg.gitattributes +1
-0@@ -6,3 +6,4 @@ *.ttf binary *.gz binary *.png binary +*.svg binary
nack, svg is by definition no binary format.
Greets
Alex
Quoted 9 lines · Neha Malcom Francis
This short series is an ongoing effort to make RAM utilization clearer for easier debugging and understanding of code. Intention is for users to quickly be able to identify the CONFIGs needed to modify for their RAM usecase.
Neha Malcom Francis (2):
board_f: Modify DRAM message
doc: memory: Add documentation for system RAM[...]
Applied to u-boot/master, thanks!
[1/2] board_f: Modify DRAM message
commit: 7dfe3cdc6c58f428803b0f1698bbd4b283103adf
[2/2] doc: memory: Add documentation for system RAM
commit: 284ef1bbcefcf3180592ed48f522c79618099bd6Signature · 1 line
Tom
Hello Tom,
Am Wed, Apr 09, 2025 at 07:46:16PM -0600 schrieb Tom Rini:
Quoted 10 lines · Neha Malcom Francis
Quoted 9 lines
This short series is an ongoing effort to make RAM utilization clearer for easier debugging and understanding of code. Intention is for users to quickly be able to identify the CONFIGs needed to modify for their RAM usecase.
Neha Malcom Francis (2):
board_f: Modify DRAM message
doc: memory: Add documentation for system RAM
Quoted 8 lines
Quoted 1 line
[...]
Applied to u-boot/master, thanks!
[1/2]
board_f: Modify DRAM messagecommit: 7dfe3cdc6c58f428803b0f1698bbd4b283103adf [2/2] doc: memory: Add documentation for system RAM commit: 284ef1bbcefcf3180592ed48f522c79618099bd6
Something went wrong here. We have a file 'spl_before_reloc.svg' with size zero now in patch doc/develop/pics …
Greets
Alex
Quoted 17 lines · Alexander Dahl
Hello Tom,
Am Wed, Apr 09, 2025 at 07:46:16PM -0600 schrieb Tom Rini:
Quoted 14 lines · Neha Malcom Francis
Quoted 10 lines
This short series is an ongoing effort to make RAM utilization clearer for easier debugging and understanding of code. Intention is for users to quickly be able to identify the CONFIGs needed to modify for their RAM usecase.
Neha Malcom Francis (2):
board_f: Modify DRAM message
doc: memory: Add documentation for system RAM[...]
Applied to u-boot/master, thanks!
Quoted 7 lines
Quoted 4 lines
[1/2]
board_f: Modify DRAM messagecommit: 7dfe3cdc6c58f428803b0f1698bbd4b283103adf [2/2] doc: memory: Add documentation for system RAM commit: 284ef1bbcefcf3180592ed48f522c79618099bd6Something went wrong here. We have a file 'spl_before_reloc.svg' with size zero now in patch doc/develop/pics …
Sigh, I thought I caught the problems there, but it seems not. Neha can you address Alex's other feedback too and post new before/after svg files? Thanks.
Signature · 1 line
Tom
Hi Alexander, Tom
Quoted 23 lines · Tom Rini
Quoted 22 lines · Alexander Dahl
Hello Tom,
Am Wed, Apr 09, 2025 at 07:46:16PM -0600 schrieb Tom Rini:
Quoted 18 lines · Neha Malcom Francis
Quoted 10 lines
This short series is an ongoing effort to make RAM utilization clearer for easier debugging and understanding of code. Intention is for users to quickly be able to identify the CONFIGs needed to modify for their RAM usecase.
Neha Malcom Francis (2):
board_f: Modify DRAM message
doc: memory: Add documentation for system RAM[...]
Applied to u-boot/master, thanks!
[1/2]
board_f: Modify DRAM messagecommit: 7dfe3cdc6c58f428803b0f1698bbd4b283103adf [2/2] doc: memory: Add documentation for system RAM commit: 284ef1bbcefcf3180592ed48f522c79618099bd6
Quoted 7 lines
Quoted 2 lines
Something went wrong here. We have a file 'spl_before_reloc.svg' with size zero now in patch doc/develop/pics …
Sigh, I thought I caught the problems there, but it seems not. Neha can you address Alex's other feedback too and post new before/after svg files? Thanks.
Will do that, thanks!
Signature · 2 lines
Thanking You Neha Malcom Francis