| c95f09d3 | 07-May-2025 |
xb.wang <xb.wang@rock-chips.com> |
lib: optee_clientApi: add trusty_verify_config_ip
Change-Id: Ic485504c4527315ef56d111af5540edcc73cd566 Signed-off-by: xb.wang <xb.wang@rock-chips.com> |
| 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> |
| 60bee396 | 15-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Add otp revoke pub key support
Change-Id: I73b07c051960813d4e5a8b27ac732672f3bf58b4 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| 8e2679f6 | 15-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Add otp disable upgrade support
Change-Id: Ie18df1ab3650eeb6d39c07eadaa2aaa468045e1e Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| 59992cdc | 15-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Simplify rsa_burn_key_hash func
Use new implementation misc_otp_write_readback.
Change-Id: I14d7df12ce1cf3de1ff79c20eb211e22ebcd9ac8 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| 39d40ad5 | 27-Mar-2025 |
Joseph Chen <chenjh@rock-chips.com> |
lib: fdt: Introduce CONFIG_OF_ADDR_SIZE_AUTO_NOPARENT
In case of 64-bit U-Boot use 32-bit platform dtb.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If3cbde606f3315849be2f366fab052
lib: fdt: Introduce CONFIG_OF_ADDR_SIZE_AUTO_NOPARENT
In case of 64-bit U-Boot use 32-bit platform dtb.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If3cbde606f3315849be2f366fab0521f7b9af39a
show more ...
|
| 437ac8e2 | 12-Mar-2025 |
Lin Jinhan <troy.lin@rock-chips.com> |
lib: optee_clientApi: add trusty_fw_key_cipher support
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> Change-Id: I748966db93ce385d02ca20189fc37a75759ff17b |
| 11b25801 | 12-Mar-2025 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: add support for write fw encrypt key
Change-Id: Ib49f5e666288395e4b438ad53b71a5739ef5a877 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| adcacd54 | 20-Jan-2025 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: support sync flag for synchronize data
Change-Id: I684d39abc1b6af43130c4bbdb35a98c83c64e32c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| d6f8cec4 | 08-Jan-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: xbc: Add cpu armv7 support
Fix compile error when ./make.sh rk3562-aarch32 lib/libxbc/libxbc.c: In function ‘isTrailerPresent’: lib/libxbc/libxbc.c:49:21: error: cast to pointer from integer of
lib: xbc: Add cpu armv7 support
Fix compile error when ./make.sh rk3562-aarch32 lib/libxbc/libxbc.c: In function ‘isTrailerPresent’: lib/libxbc/libxbc.c:49:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] return !strncmp((char*)(bootconfig_end_addr - BOOTCONFIG_MAGIC_SIZE),
Change-Id: I0e1e16533de9f1a03650014d43247f04772ffccf Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 386fb802 | 04-Dec-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: ab: Fix partition uuid support
Change-Id: I7f8723a29b053e181134b4dade16ae7da0468ee4 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| 129777c8 | 25-Nov-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: avb: Add CONFIG_ARMV8_CRYPTO support
Change-Id: I545b0275a1cda5c4872eb4de0627212c14cdcae2 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| cfb52818 | 14-Nov-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Wait for power supply steady only before OTP write
If secureboot enabled, even burn_key flag exists, don't need to delay 3s.
Change-Id: I1a93328295d7757346fd8d73d27393565ebd9122 Signed-of
lib: rsa: Wait for power supply steady only before OTP write
If secureboot enabled, even burn_key flag exists, don't need to delay 3s.
Change-Id: I1a93328295d7757346fd8d73d27393565ebd9122 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 13ceb2af | 06-Nov-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
rockchip: Add arch timer 1Ghz support
Change-Id: I8e58b15be1823e732852a2aa76cc98813e6b4fe9 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> |
| ac6d8253 | 13-Sep-2024 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: add support for esck key
Change-Id: Ibee79c0860f4c80b080a2cc50c35624d58cb1d37 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| b2858095 | 11-Sep-2024 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: do check if security level is 0
developer may set security level to 2, then set security level to 0, we should check security level in the case.
Change-Id: I831e525683646fc0ed
lib: optee_clientApi: do check if security level is 0
developer may set security level to 2, then set security level to 0, we should check security level in the case.
Change-Id: I831e525683646fc0ed0ac1aa8b1e236a5a0264d7 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 6849cc07 | 15-Aug-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Add 3s delay before write secure otp
Delay 3 seconds to make sure power supply is steady.
Change-Id: Ieefae68fa52f23efb7315221d425b31650ae0883 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chi
lib: rsa: Add 3s delay before write secure otp
Delay 3 seconds to make sure power supply is steady.
Change-Id: Ieefae68fa52f23efb7315221d425b31650ae0883 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| f8e13adf | 01-Apr-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Add burn rsa4096 key hash support
1. If burn both flags(0x30ff) into OTP_SECURE_BOOT_ENABLE_ADDR, 0xff will be burned first. If power down happens when burn rsa4096 flag (0xff is already b
lib: rsa: Add burn rsa4096 key hash support
1. If burn both flags(0x30ff) into OTP_SECURE_BOOT_ENABLE_ADDR, 0xff will be burned first. If power down happens when burn rsa4096 flag (0xff is already burned), the device becomes bricked.
2. So, fix all OTP_SECURE_BOOT_ENABLE_SIZE from 2 bytes to 1 byte, only allow to burn 1 byte to open secureboot. Add OTP_RSA4096_ENABLE_ADDR/SIZE definition used for burn rsa4096 flag.
Change-Id: Ifc9767242bc86fd0cf69ff107b4f557bc3a4fdcd Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 406e6b1a | 14-Sep-2024 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: Fix alloc any where fail which return invalid addr 0x00000002
Fixes: (523469f4bf1 lib: sysmem: Bypass alloc check for periph device range)
Signed-off-by: Joseph Chen <chenjh@rock-chips
lib: sysmem: Fix alloc any where fail which return invalid addr 0x00000002
Fixes: (523469f4bf1 lib: sysmem: Bypass alloc check for periph device range)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Idd397dc67dad0d5032d920751fbec35f33dbce36
show more ...
|
| 486ce4e4 | 12-Sep-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
UPSTREAM: dm: core: Add address translation in fdt_get_resource
Today of_address_to_resource() is called only in ofnode_read_resource() for livetree support and fdt_get_resource() is called when liv
UPSTREAM: dm: core: Add address translation in fdt_get_resource
Today of_address_to_resource() is called only in ofnode_read_resource() for livetree support and fdt_get_resource() is called when livetree is not supported.
The fdt_get_resource() doesn't do the address translation so when it is required, but the address translation is done by ofnode_read_resource() caller, for example in drivers/firmware/scmi/smt.c::scmi_dt_get_smt_buffer() { ... ret = ofnode_read_resource(args.node, 0, &resource); if (ret) return ret;
faddr = cpu_to_fdt32(resource.start); paddr = ofnode_translate_address(args.node, &faddr); ...
The both behavior should be aligned and the address translation must be called in fdt_get_resource() and removed for each caller.
Change-Id: Ic4a3a19fe7401fc21e446793f453bbc1a8ab4001 Fixes: a44810123f9e ("dm: core: Add dev_read_resource() to read device resources") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 8d5a6a40 | 19-Aug-2024 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: Use warning but not error for UNCOMP_KERNEL alloc
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I19410ccd250a2d6add594ebe0491b29259ed5e46 |
| 523469f4 | 19-Aug-2024 |
Joseph Chen <chenjh@rock-chips.com> |
lib: sysmem: Bypass alloc check for periph device range
Typical periph device range:
- (CONFIG_SYS_SDRAM_BASE + SDRAM_MAX_SIZE) ~ 4GB: for most platforms. - 0 ~ CONFIG_SYS_SDRAM_BASE: rk3576
Signe
lib: sysmem: Bypass alloc check for periph device range
Typical periph device range:
- (CONFIG_SYS_SDRAM_BASE + SDRAM_MAX_SIZE) ~ 4GB: for most platforms. - 0 ~ CONFIG_SYS_SDRAM_BASE: rk3576
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I7a6d8848e657f8dbbb1676517f0802db32f871e3
show more ...
|
| f3c7fe23 | 08-Jul-2024 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: secure storage compatible with ufs rpmb
Change-Id: Iec343a7ffd66c20805f83001ea9107636e3d5166 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 395c77b5 | 08-Jul-2024 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_clientApi: add support for ufs rpmb
Change-Id: I7fa3d77a33399c5193223c253b18263b06787944 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |