Commit 2ca916e
committed
tool: loader map spin table page for BCM2711
The previous commit restricts the loader to only mapping
itself rather than the first 1GB of memory. This is fine
for most platforms as the only other thing they need to
access is the UART which is now also separately mapped in.
The one exception is the BCM2711/Raspberry Pi 4B where the
a spin table is used for SMP booting which is located in
the first page of memory, so we need to explicitly map
that in as well.
This code is a bit of hack since it assumes the CPU release
addrs are always in the first 2MB of memory but the only
platform we have right now that uses spin tables is the
Raspberry Pi 4B.
So we can merge the previous patch, we add this so that we
don't have to regress the Raspberry Pi 4B.
Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>1 parent 5aa5ef6 commit 2ca916e
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
550 | 567 | | |
551 | 568 | | |
552 | 569 | | |
| |||
0 commit comments