| #
67776931 |
| 16-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: bidram: Add board_bidram_append_size support
Change-Id: I21dab222296f64331d81f34fbe369772d9801668 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
82a88d5e |
| 08-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: bidram: Add board_bidram_fixup support
Change-Id: I66c2f3dfc40046756e22edf78934e023fa36732b Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
d8e6f8d0 |
| 31-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: ram: support extend ram top
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I1d8a5e9440071194a1c438345c08e7e2c4d0d3dc
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
2fe84ae1 |
| 15-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
bidram: rename "dump_bidram" to "bidram_dump"
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I77601a95daec90b396620ee1f3a3a6e455dcc914
|
| #
c01d4489 |
| 07-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
sysmem: simplify the memblk name
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Icfe908ade21d1d8f568db796298f67ba9f013da6
|
| #
1d09cf29 |
| 12-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: bidram: add 4GB+ memory size support
- On ARMv7: LPAE seems to be not friendly that brings a lot of compile errors.
- On ARMv8: MMU translate table is static defined by mem_map[] and max 4
lib: bidram: add 4GB+ memory size support
- On ARMv7: LPAE seems to be not friendly that brings a lot of compile errors.
- On ARMv8: MMU translate table is static defined by mem_map[] and max 4GB as usual. It is not created dynamically according to real memory size, that is different from ARMv7.
- 4GB memory is enough for U-Boot on both ARMv7 an ARMv8.
Considering all that, we decide to make max 4GB size to be visiable for U-Boot, but still pass the real available memory size to kernel by bidram_fixup() called at late before fixup "/memory" node.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Idd5fa769e940b0618446909f8f9edc39f596f072
show more ...
|
| #
fc7ff0f0 |
| 15-Jul-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: bidram: add bidram_reserved_is_overlap() interface
Check if the region is overlap with reserved regions.
Change-Id: Ifd9b6a4438dcf954b7e48930e31d0c6cd5d1274c Signed-off-by: Joseph Chen <chenjh
lib: bidram: add bidram_reserved_is_overlap() interface
Check if the region is overlap with reserved regions.
Change-Id: Ifd9b6a4438dcf954b7e48930e31d0c6cd5d1274c Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
356575c3 |
| 27-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: bidram: handle only-one dram bank available situation
LMB default init lmb->reserved.region[0] as zero.
Change-Id: Ib46d9630581bb3a03c5846288b16ae805e3e6944 Signed-off-by: Joseph Chen <chenjh@
lib: bidram: handle only-one dram bank available situation
LMB default init lmb->reserved.region[0] as zero.
Change-Id: Ib46d9630581bb3a03c5846288b16ae805e3e6944 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
483d0493 |
| 14-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: introduce bidram for GD board bi_dram[] memory management
Some platform provides more than one dram banks and reserved firmware regions (eg. ATF, OP-TEE, etc) by pre-loader dynamically. It mean
lib: introduce bidram for GD board bi_dram[] memory management
Some platform provides more than one dram banks and reserved firmware regions (eg. ATF, OP-TEE, etc) by pre-loader dynamically. It means there are memory holes in board dram layout. What's more, U-Boot will reserved regions at the late bootflow(eg. firmware reserved for AMP).
So we introduce bidram mechanism to manage GD board bi_dram[], which provides a way to easily manage memory holes and update bi_dram[]. It dpends on LMB which provides a good algorithm to manage memory blocks.
What's different from sysmem? - bidram manage and pass the avaliable memory blocks to kernel; - sysmem is only for U-Boot memory management to avoid ram overlap, it doesn't matter about kernel avaliable memory.
Change-Id: I697cbb80bdc961e4ad5ab94548e2dc93feefde6f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|