projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b52984
)
dump start of copied memory
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Apr 2022 13:38:25 +0000
(14:38 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Apr 2022 13:38:25 +0000
(14:38 +0100)
coldboot/coldboot.c
patch
|
blob
|
history
diff --git
a/coldboot/coldboot.c
b/coldboot/coldboot.c
index 782049b672dd608b565f743b6493887b527b9c0e..67cb1ee2560a162ec99bf41e3bd381cb725d05f2 100644
(file)
--- a/
coldboot/coldboot.c
+++ b/
coldboot/coldboot.c
@@
-156,6
+156,15
@@
static unsigned long copy_flash(unsigned int offset)
puts("Booting from DRAM at");
uart_writeuint32((unsigned int)ehdr.e_entry);
+ puts("\r\n");
+
+ puts("Dump DRAM\r\n");
+ for (i = 0; i < 64; i++) {
+ uart_writeuint32(ehdr.e_entry+(i*4));
+ if ((i & 7) == 7) puts("\r\n");
+ }
+ puts("\r\n");
+
//flush_cpu_icache();
return ehdr.e_entry;
dump: