| efda1f1d | 29-Apr-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: support M_ATTR_PEEK for memblk
- always return successful for M_ATTR_PEEK; - add code comments;
Change-Id: I3c7f939ac61d8da5948978de4e70f17576748c91 Signed-off-by: Joseph Chen <chenjh@
lib: sysmem: support M_ATTR_PEEK for memblk
- always return successful for M_ATTR_PEEK; - add code comments;
Change-Id: I3c7f939ac61d8da5948978de4e70f17576748c91 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| efb93541 | 25-Mar-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add module name in print func
Change-Id: I6cdcb0870bf5a3915009421e5c8b09584ac2bb6c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 4f2523c3 | 28-Apr-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: load full partition if allow verification error
Change-Id: I506676512a46ec09d6c617f555f735a24fc4a594 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 813227ad | 12-Apr-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add init ab metadata interface
Change-Id: Ifad6c8ca70568c2dc8eea0a4ead23e3e7a2a0e74 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 305d8903 | 28-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: improve kernel reserved-memory alloc
- If the region is out of avaiable dram bank, return success; - region can override allocated memblk with attr M_ATTR_OVERLAP;
Change-Id: I02171cdb
lib: sysmem: improve kernel reserved-memory alloc
- If the region is out of avaiable dram bank, return success; - region can override allocated memblk with attr M_ATTR_OVERLAP;
Change-Id: I02171cdb51462e9cec3dd955ae3e0aaaa0ee7afd Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 2cb995bc | 29-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: allow alloc subset of an allocated memblk
Change-Id: I171c5978faf6fc1b3e95cc46c55a2adfe6df0176 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 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 ...
|
| b8613785 | 22-Mar-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: change condition for file exist
file not exist if ret < 0, file exist if ret >=0
Change-Id: I1a70b0a41773f03d552c5f6cda82b745d6e81421 Signed-off-by: Hisping Lin <hisping.lin@rock
lib: optee_client: change condition for file exist
file not exist if ret < 0, file exist if ret >=0
Change-Id: I1a70b0a41773f03d552c5f6cda82b745d6e81421 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| a90f2861 | 26-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: fix NULL attr.name
Change-Id: I93744c28668d1533ec2bcdaafc9198d8557284a1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 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 ...
|
| 6e15146e | 14-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: refactor code
- import memblk id to manage memory blocks; - change "sysmem_property" to generic "memblock"; - use alloc instead of reserve for all memory blocks; - clean up and fix some
lib: sysmem: refactor code
- import memblk id to manage memory blocks; - change "sysmem_property" to generic "memblock"; - use alloc instead of reserve for all memory blocks; - clean up and fix some logic; - add U-Boot cmd for sysmem;
Change-Id: I614223ce3bf97a7b3566412a9d1864fb30b68fd8 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| ee561e34 | 08-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: avb: AVB_VBMETA_PUBLIC_KEY_VALIDATE select CONSOLE_DISABLE_CTRLC
Clean coding style by the way.
Change-Id: Ib614175e9ea7ceebc49030235b66d82adc57d3a0 Signed-off-by: Joseph Chen <chenjh@rock-chi
lib: avb: AVB_VBMETA_PUBLIC_KEY_VALIDATE select CONSOLE_DISABLE_CTRLC
Clean coding style by the way.
Change-Id: Ib614175e9ea7ceebc49030235b66d82adc57d3a0 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| b4a0434f | 08-Mar-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: do not init RK FS if security not exist
Change-Id: I91e780448cee7884c7477cb0b5720f962b2df00d Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 472ddf73 | 23-Jan-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add support for power-off protection
Change-Id: I4babcc1989563a3c707a1cac7e93069031f033dd Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| e217fe3c | 21-Dec-2018 |
Keerthy <j-keerthy@ti.com> |
lib: fdtdec: fdtdec_get_addr_size_fixed remove checks
With 8 bytes addressing even on 32 bit machines these checks are no longer valid. Remove them.
Signed-off-by: Keerthy <j-keerthy@ti.com> Review
lib: fdtdec: fdtdec_get_addr_size_fixed remove checks
With 8 bytes addressing even on 32 bit machines these checks are no longer valid. Remove them.
Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit f51f6715a5013f37620c38f0430e21d4736e235a) Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I07d143dbd4dfeff1ce99d081d1279c4f70fa4e8f
show more ...
|
| 74b485fb | 23-Jan-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
fastboot: delete write perm-attr hash if use pre-loader pub_key
Since we use the pre-loader public key to verify permanent attribute, then we do not need to write permanent attribute hash to otp & e
fastboot: delete write perm-attr hash if use pre-loader pub_key
Since we use the pre-loader public key to verify permanent attribute, then we do not need to write permanent attribute hash to otp & efuse.
Change-Id: Ic5e19fed2fc9405ab5bc7504dd930fd5f02d847c Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 65f0143b | 26-Dec-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: verify the perm attr by root public key
Change-Id: I7e06152a21325ffcd785223952fe8ffaff4d5f08 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 1f670f7c | 06-Mar-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: get public key by atags
Change-Id: I0d77229585263e81e8be4f5c67a02080c07b0e55 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 9b83ce70 | 26-Dec-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add get&set perm-attr cer
Change-Id: I89d3a30f43659ae8c9d107ede5db1590b022440d Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| f4e1db95 | 04-Mar-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add judgment of return value
Change-Id: If616f89ffb2c3ea30afb7bced56a1ca28b1232b2 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 7cca3dd4 | 28-Feb-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: support last boot
Change-Id: I803e3deda068be34061a302c27009db5e444f290 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 4454e90b | 28-Feb-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: change the output memssage I/O
Since the stderr is not used in uboot, use printf to print the message.
Change-Id: Ib522609e783acf8f407e2f9fb3805b553c543cba Signed-off-by: Jason Zhu <jason
lib: avb: change the output memssage I/O
Since the stderr is not used in uboot, use printf to print the message.
Change-Id: Ib522609e783acf8f407e2f9fb3805b553c543cba Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 727ebf6d | 01-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: alloc base and size must be 4-byte aligned
Change-Id: Icf59ee6522f2e0793605b03b0bcf05b58585069f Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 0a53d515 | 20-Feb-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: initcall: add system total boot time debug
Change-Id: I3d4cd151acf699b25c9caab0452e40fddb6c31e1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 595f057c | 19-Feb-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: Kconfig: set SYS_STACK_SIZE 2MB size
128KB maybe not enough at sometimes.
Change-Id: I06746b98e005955d4b88904c04ed0af753db6acf Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |