Hello Aaron Durbin, Furquan Shaikh,
I'd like you to do a code review. Please visit
https://review.coreboot.org/19784
to review the following change.
Change subject: rk3399: Reshuffle memlayout to move PRERAM_CBMEM_CONSOLE further back
......................................................................
rk3399: Reshuffle memlayout to move PRERAM_CBMEM_CONSOLE further back
It seems that the BootROM on the RK3399 overwrites some of the earlier
parts of SRAM, including the PRERAM_CBMEM_CONSOLE area. Now that we have
a persistent CBMEM console we want that area to survive in case of an
early (pre-CBMEM) reboot, so shuffle the layout around a bit to move it
further back. (This reduces the stack size to 12KB which should still be
way more than enough.)
Change-Id: Ifc1e568cda334394134bba9eba75088032d2ff13
Signed-off-by: Julius Werner <jwerner(a)chromium.org>
---
M src/soc/rockchip/rk3399/include/soc/memlayout.ld
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/19784/1
diff --git a/src/soc/rockchip/rk3399/include/soc/memlayout.ld b/src/soc/rockchip/rk3399/include/soc/memlayout.ld
index f440dfb..04ffce6 100644
--- a/src/soc/rockchip/rk3399/include/soc/memlayout.ld
+++ b/src/soc/rockchip/rk3399/include/soc/memlayout.ld
@@ -29,13 +29,13 @@
SYMBOL(epmu_sram, 0xFF3B2000)
SRAM_START(0xFF8C0000)
- PRERAM_CBMEM_CONSOLE(0xFF8C0000, 7K)
+ PRERAM_CBFS_CACHE(0xFF8C0000, 7K)
TIMESTAMP(0xFF8C1C00, 1K)
BOOTBLOCK(0xFF8C2004, 36K - 4)
- PRERAM_CBFS_CACHE(0xFF8CB000, 4K)
- OVERLAP_VERSTAGE_ROMSTAGE(0xFF8CC000, 92K)
- VBOOT2_WORK(0XFF8E3000, 12K)
- TTB(0xFF8E6000, 24K)
- STACK(0xFF8EC000, 16K)
+ OVERLAP_VERSTAGE_ROMSTAGE(0xFF8CB000, 92K)
+ VBOOT2_WORK(0XFF8E2000, 12K)
+ TTB(0xFF8E5000, 24K)
+ PRERAM_CBMEM_CONSOLE(0xFF8EB000, 8K)
+ STACK(0xFF8ED000, 12K)
SRAM_END(0xFF8F0000)
}
--
To view, visit https://review.coreboot.org/19784
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc1e568cda334394134bba9eba75088032d2ff13
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Rajat Jain has posted comments on this change. ( https://review.coreboot.org/19783 )
Change subject: google/fizz: Set PL2 to 29 Watts
......................................................................
Patch Set 1:
Can you confirm that this is actually trying to set "PSysPL2" as described in chapter 10 of https://drive.google.com/open?id=0B6xXncMUBsUZR1lEbWVnd3BEMHc ? Isn't 29W very low if the adapter is 90W?
--
To view, visit https://review.coreboot.org/19783
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie152961ea38dce228efac2117928305586120709
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Rajat Jain <rajatja(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: No
Rajat Jain has posted comments on this change. ( https://review.coreboot.org/19783 )
Change subject: google/fizz: Set PL2 to 29 Watts
......................................................................
Patch Set 1:
But what about power over Type-C?
Also, please confirm with Dexter if we are going to have same adapter for all SKU(s) except Celeron.
--
To view, visit https://review.coreboot.org/19783
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie152961ea38dce228efac2117928305586120709
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Rajat Jain <rajatja(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-HasComments: No
Shelley Chen has posted comments on this change. ( https://review.coreboot.org/19783 )
Change subject: google/fizz: Set PL2 to 29 Watts
......................................................................
Patch Set 1:
Yes, this is going to be the same for all SKUs right now per https://buganizer.corp.google.com/issues/37473486#comment10. This is ok for celeron because it doesn't utilize PL2 and all other SKUs will have a 90W charger. Dexter can verify this.
--
To view, visit https://review.coreboot.org/19783
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie152961ea38dce228efac2117928305586120709
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Rajat Jain <rajatja(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-HasComments: No