diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 14:08:14 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 14:08:14 -0400 |
commit | df14f1267545b9c935022584ee1931ea55b4e9b6 (patch) | |
tree | 8309532b8976d8f6db36698f0fa785e87bd6a50e | |
parent | 058ba97f62a4a066440538a5d80b9e2699c397b3 (diff) | |
download | rockbox-df14f1267545b9c935022584ee1931ea55b4e9b6.tar.gz rockbox-df14f1267545b9c935022584ee1931ea55b4e9b6.zip |
mkinfo: Make memory size computation more accurate
* imx233 had disjoint memory map
* hosted binaries not computing start address properly
Change-Id: Ia45571e0c41f07f1d4f34f6e1a0067dcac530148
-rwxr-xr-x | tools/mkinfo.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/mkinfo.pl b/tools/mkinfo.pl index 6b12345305..463a10005e 100755 --- a/tools/mkinfo.pl +++ b/tools/mkinfo.pl | |||
@@ -55,6 +55,12 @@ sub mapscan { | |||
55 | elsif($_ =~ / +0x([0-9a-f]+) *_loadaddress = \./) { | 55 | elsif($_ =~ / +0x([0-9a-f]+) *_loadaddress = \./) { |
56 | $start = $1; | 56 | $start = $1; |
57 | } | 57 | } |
58 | elsif($_ =~ / +0x([0-9a-f]+) *_dramcopystart = \./) { | ||
59 | $start = $1; | ||
60 | } | ||
61 | elsif($_ =~ / +0x([0-9a-f]+) *__start/) { | ||
62 | $start = $1; | ||
63 | } | ||
58 | } | 64 | } |
59 | close(M); | 65 | close(M); |
60 | 66 | ||