Commit Graph

904 Commits

Author SHA1 Message Date
Joseph Chen
42016b5959 Merge branch 'rv1109' 2020-05-12 10:43:55 +08:00
Jon Lin
aee25926d0 rk3032: loader: update loader bin to 2.59
build from:
	9ed0c7d6 update to ver 2.59
update feature:
        Support RK3032 SPI Nand cvl firmware

Change-Id: I41d21945b86d2d2c008ed59715b6d5dace633a59
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-05-07 18:09:51 +08:00
Jon Lin
686969bafc rk3032: loader: update loader bin to 2.58
build from:
	859321d update to ver 2.58
update feature:
	support SPI Nand

Change-Id: I677068c6b5a34de5b4cbfb502217cb2de1b7331a
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-05-07 10:08:42 +08:00
XiaoDong Huang
52e3b32271 rv1126: update optee version to v1.01
build from optee commit in develop-next-32bit branch:
    42d3bbaf update some feature

Change-Id: I68409ae5da06631391aaf31be4de3d24953d6f96
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-04-29 21:14:48 +08:00
Jason Zhu
b9b1f13c93 rv1126: add ddr.bin to v1.00 for thunder boot
Seperate lp3 and ddr3 for thunder boot which has smaller firmware
and start-up with less time.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ic04ff098bbd160f8dca0190b9cddcdec979b1ef9
2020-04-29 21:14:48 +08:00
Jason Zhu
9b416d05cf rv1126: update spl version to 1.01
Build from thunder-boot branch:
    00c95c49 rockchip: spl: implement fit_board_verify_required_sigs()

Update feature:
    support load fit firmware

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I9c6bb0ec4da2547a6c4b57237cad2c456adb6eaf
2020-04-29 21:14:48 +08:00
Tang Yun ping
bbdcb00ad3 rv1126: ddr: update to v1.00 20200426_ps26
Change-Id: Ifcca3891dbd5c4bfed9dc269028e4fbc03208618
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2020-04-29 21:14:48 +08:00
XiaoDong Huang
769af58320 rv1126: add rv1126 mcu firmware v1.00
The firmware support rt-thread.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I9abeb54bf402dde9518da4fa2e83520ea49d33f5
2020-04-29 21:14:39 +08:00
Jason Zhu
6aa99c5533 rv1126: add loader v1.00.100
usbplug: commit 0f9c7a6d0
miniloader: uboot spl
ddr: first version

Change-Id: I29ef05e21100fd29eec85fae55c5c053a3aee486
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2020-04-29 21:11:04 +08:00
Yifeng Zhao
a90710ca53 rv1109: add loader v1.00.100
usbplug: commit 0f9c7a6d0
miniloader: uboot spl
ddr: first version

Change-Id: I1375fa06563e01d799cee4ee42119bf68fae2108
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2020-04-29 21:11:04 +08:00
Zhichao Yu
236375c536 tools: loaderimage: support pack kernel image for rv110x
Build from next-dev with command ./make.sh evb-rv1108

on commit:
    (c64e256218d tools: add pack kernel tool for rv1108)

Signed-off-by: Zhichao Yu <zhichao.yu@rock-chips.com>
Change-Id: Ie843bfb5386a18735638b8ee22effe8b5b05ac72
2020-04-29 17:00:53 +08:00
Elon Zhang
2d7cd259fd rk3399pro: bl32: update version to 1.24
Build from optee commit in develop branch:
	ebb61ff5 core: arm64.S: spectre workaround

Update feature:
	f8d366cb core: arm64: pad vector with illegal instruction
	8ed4c89a core: thread_a64.S: cleanup vector entries

Change-Id: I2ac5fd8917bb7807b9bb68744f66337d63138481
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
2020-04-27 14:27:40 +08:00
Elon Zhang
cc30c9a0bf rk3399: bl32: update version to 1.24
Build from optee commit in develop branch:
	ebb61ff5 core: arm64.S: spectre workaround

Update feature:
	f8d366cb core: arm64: pad vector with illegal instruction
	8ed4c89a core: thread_a64.S: cleanup vector entries

Change-Id: I4feadff2755f1e923e92687804e8ca1550f53790
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
2020-04-27 14:27:40 +08:00
zain wang
66c72f7806 tools: trust_merger: copy ImageSize from Component to ComponentData
build for next-dev with command ./make.sh rk3399

on commit:
(5033bc62fe tools: trust_merger: copy ImageSize from Component to
ComponentData)

Signed-off-by: zain wang <wzz@rock-chips.com>
Change-Id: Ibeadc46c915dea4ad05aefd4bebc290d6a8076d0
2020-04-24 15:45:44 +08:00
Chen Fen
533f07f387 rk3399: miniloader: fix some security hole.
Build from rk_boot_all commit:
	8fabdb07 fix some security hole.
update feature:
	8fabdb07 fix some security hole.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: I4fabc32d1eb0df1c8f408882ccc6aff7fa795183
2020-04-23 18:36:29 +08:00
Elon Zhang
463233e254 rk3399pro: bl32: update version to 1.23
Build from optee commit in develop branch:
	43ff2abe UPSTREAM: core: tlbi_asid() handle kernel mode ASID too

Update feature:
	458e41c4 UPSTREAM: core: review TLB invalidation sequences
	5e7d8fe3 UPSTREAM: ecc_sign_hash blinding CVE-2018-12437

Change-Id: I74b109e01998a0ad85d1421ac794b777991e0eb1
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
2020-04-21 09:34:07 +08:00
Elon Zhang
37d4b213ba rk3399: bl32: update version to 1.23
Build from optee commit in develop branch:
	43ff2abe UPSTREAM: core: tlbi_asid() handle kernel mode ASID too

Update feature:
	458e41c4 UPSTREAM: core: review TLB invalidation sequences
	5e7d8fe3 UPSTREAM: ecc_sign_hash blinding CVE-2018-12437

Change-Id: I2fb5dbc5b93b53e107996115561d4bafcc5b370b
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
2020-04-21 09:32:10 +08:00
shengfei Xu
bcb8bff526 rk3399: bl31: update version to v1.33
Build from ATF commit:
    51fa19792 plat: rk3399: enable stimer1
update feature:
    51fa19792 plat: rk3399: enable stimer1

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ie745d04990ae8c2414dadc523aa1a94bd9fc5268
2020-03-24 08:38:41 +08:00
Hisping Lin
d5a9e3de63 npu: lion: bl32: update version to v1.13
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: I0a7230ecd7ba8737b9fbe4f746dfc870eebfdfdc
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:44:25 +08:00
Hisping Lin
cfd347c51a rk1808: bl32: update version to v1.14
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: Ib9247227927b313b39a491475ae559cde127dbc4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:42:31 +08:00
Hisping Lin
882bc8b433 rk3308: bl32: update version to v1.14
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: I69c732cb912aedf2e2e1c9425271201a58034583
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:39:20 +08:00
Hisping Lin
0a4eb91893 px30: bl32: update version to v1.14
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: I36b4074544adbbcffc4cbb9400716b6e0a73bcd8
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:35:32 +08:00
Hisping Lin
b45af27501 rk3326: bl32: update version to v1.14
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: I8d2d44f92a9b28673233ca60b567eb76f64df52e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:33:30 +08:00
Hisping Lin
95f962e4e6 rk3399pro: bl32: update version to 1.22
Build from optee commit in develop branch:
    3b0152ca static ta: modify length judgement in uboot storedata

Update feature:
    f73ba4e3 static ta: add support write data from user ta
    9e5e3953 rk3228H: change SRAM secure region size
    804069a6 rk3228H: fix SRAM address config error

Change-Id: Ic508268618faab4b931f80ab6da812f132f65325
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:23:34 +08:00
Hisping Lin
79f80de48e rk3399: bl32: update version to 1.22
Build from optee commit in develop branch:
    3b0152ca static ta: modify length judgement in uboot storedata

Update feature:
    f73ba4e3 static ta: add support write data from user ta
    9e5e3953 rk3228H: change SRAM secure region size
    804069a6 rk3228H: fix SRAM address config error

Change-Id: Ia07f54b33a2fc07080bff7fad6d0be5e601a9162
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:21:45 +08:00
Hisping Lin
7dfcfa6efe rk3368: bl32: update version to 1.30
Build from optee commit in develop branch:
    3b0152ca static ta: modify length judgement in uboot storedata

Update feature:
    f73ba4e3 static ta: add support write data from user ta
    9e5e3953 rk3228H: change SRAM secure region size
    804069a6 rk3228H: fix SRAM address config error

Change-Id: I79fd7a86c71b997582dcb68dd2a8744b586a9878
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:10:45 +08:00
Hisping Lin
fe56d31424 rk3228h/rk3328: bl32: update version to 1.54
Build from optee commit in develop branch:
    3b0152ca static ta: modify length judgement in uboot storedata

Update feature:
    f73ba4e3 static ta: add support write data from user ta
    9e5e3953 rk3228H: change SRAM secure region size
    804069a6 rk3228H: fix SRAM address config error

Change-Id: I6caae5b53e4827352a0d37687ba79ef8ab36dae4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:04:17 +08:00
Hisping Lin
b572f0f8e5 rk3288: tee with ta: update optee version to v1.45
build from optee commit in develop-rk3228 branch:
    6a30fc35 static ta: modify length judgement in uboot storedata

update feature:
    05fb3282 static ta: add support write data from user ta
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB
    ad25cd57 static ta: return error if tee fs read data len is zero

Change-Id: I863db5b36753ea5262257a55f5780962b46be573
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 09:58:04 +08:00
Hisping Lin
e8a5bfcb84 rk3128x: tee with ta: update optee version to v2.08
build from optee commit in develop-rk3228 branch:
    6a30fc35 static ta: modify length judgement in uboot storedata

update feature:
    05fb3282 static ta: add support write data from user ta
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB
    ad25cd57 static ta: return error if tee fs read data len is zero

Change-Id: I62bd912f7438880a312397654231b828182e0d0d
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 09:53:54 +08:00
Hisping Lin
9434d77a24 rk322x: tee with ta: update optee version to v2.07
build from optee commit in develop-rk3228 branch:
    6a30fc35 static ta: modify length judgement in uboot storedata

update feature:
    05fb3282 static ta: add support write data from user ta
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB
    ad25cd57 static ta: return error if tee fs read data len is zero

Change-Id: I9683c8e5050574904fdce4c5334e89a46c319c70
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 09:51:10 +08:00
Hisping Lin
14c41e9c4a rk312x: tee with ta: update optee version to v1.45
build from optee commit in develop-rk3228 branch:
    6a30fc35 static ta: modify length judgement in uboot storedata

update feature:
    05fb3282 static ta: add support write data from user ta
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB
    ad25cd57 static ta: return error if tee fs read data len is zero

Change-Id: Ia7f3887cce67de1bba5e2ba1cc431ae4d3aee5cd
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 09:44:24 +08:00
XiaoDong Huang
fe207dadf7 rk3368h: bl31: update version to v2.25
Build from ATF commit:
    5346a36a6 plat: rk3368: fix mcu suspend/resume flow
update feature:
    5346a36a6 plat: rk3368: fix mcu suspend/resume flow
    0b93630e1 rockchip: sip: add weak attribute to sip_version_handler

Change-Id: Id97d9fbf25cbd383830af9be3df2585ba2b30948
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-03-05 18:25:26 +08:00
Jon Lin
34c52386a5 rk3036: support upgrade firmware in usbplug
from commit: 7f7d480a47de7a3103fb091c54c46baa61b31e8f

Change-Id: I85947a30b6833026ac44981d3789c44ff53ea3a5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-03-02 10:36:52 +08:00
Hisping Lin
d2c797dbea rk3288: tee with ta: update optee version to v1.44
build from optee commit in develop-rk3228 branch:
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB

update feature:
    ad25cd57 static ta: return error if tee fs read data len is zero
    ef321390 plat: rk3288: suspend: support default suspend mode
    5e3b27cf rk312x: ddr freq: fix bug about 2T

Change-Id: I8bd74e6421c71a0ecb48dbd5e9ca4eaa9ac5ff8e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-02-20 09:31:01 +08:00
Hisping Lin
f9867cc98f rk3128x: tee with ta: update optee version to v2.07
build from optee commit in develop-rk3228 branch:
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB

update feature:
    ad25cd57 static ta: return error if tee fs read data len is zero
    ef321390 plat: rk3288: suspend: support default suspend mode
    5e3b27cf rk312x: ddr freq: fix bug about 2T

Change-Id: I7061f7c476d2b3988022a524c93585b7edb35737
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-02-20 09:15:20 +08:00
Hisping Lin
5c4914c8d2 rk322x: tee with ta: update optee version to v2.06
build from optee commit in develop-rk3228 branch:
    d098c6d2 rk322x/rk3128x/rk3288: increase shm size from 1MB to 2MB

update feature:
    ad25cd57 static ta: return error if tee fs read data len is zero
    ef321390 plat: rk3288: suspend: support default suspend mode
    5e3b27cf rk312x: ddr freq: fix bug about 2T

Change-Id: I979be93eb1597f0f1f472f7de76aa1c13249f5a9
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-02-20 09:10:33 +08:00
Zhihuan He
2820321c69 tool: ddrbin_tool: update to v1.02 20200108
1. If setup no value, it will not update ddr bin's info.
   example: if "baudrate=", the baudrate will keep the
   same with ddr bin's config.
2. add ddr_2t info modify

Change-Id: I180e729f5d45d2dbfa16b98041a9523c47c5c7b7
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2020-01-10 14:56:04 +08:00
shengfei Xu
fa5f5e9d13 rk3399: bl31: update version to v1.32
Build from ATF commit:
    57824cc2 plat: rk3399: suspend: support default suspend mode
update feature:
    57824cc2 plat: rk3399: suspend: support default suspend mode

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ib678470bd8821a741c3d91eeefb94c62d2049a0a
2020-01-06 11:06:44 +08:00
shengfei Xu
a4d73914fa rk3288: tee with ta: update optee version to v1.43
build from optee commit in develop-rk3228 branch:
    ad25cd57 static ta: return error if tee fs read data len is zero

update feature:
    ad25cd57 static ta: return error if tee fs read data len is zero
    ef321390 plat: rk3288: suspend: support default suspend mode

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I61251f8a8ccaccbe44cd1092cc71fcc4457a5ef0
2020-01-06 11:05:58 +08:00
Joseph Chen
a8d7ec023c RKTRUST: ini: update bl31 address to 0x40000
Forgot to update it but it actually makes no effect since
trust_merger parses the reall address from elf header.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4b4e87c9a684b9f02e30b7ec84859e6493a09b13
2019-12-26 15:38:54 +08:00
Joseph Chen
ca16ad743c rk322xh/3328: bl31: update version to v1.43
Build from commit:
	734d842 plat: rk3399: ddr: fix the bug about generate noc timing
Update feature:
	1b8c570 plat: rk322xh: change bl31_base to 0x40000

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Id6006d300ab0fa47bf099d47142ce251c840ff68
2019-12-26 15:32:48 +08:00
Chen Fen
cf40232310 rk3036: loader: update loader bin to 2.56.
build from:
	67c868 update rk3036 loader to 2.56.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: I4b483189dedfd3b9f07fd67be1604a7d3123e509
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2019-12-25 21:42:40 +08:00
Chen Fen
ec1f2ddf07 rk3032: loader: update loader bin to 2.56.
build from:
	67c868 update rk3032 loader to 2.56.
update feature:
	1.commit first version.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: I5d1b1b70c0ae3c8fe5ee309c87364f4e1ea78e11
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2019-12-25 18:18:12 +08:00
Chen Fen
27a8424a1a rk3399: loader: update loader bin to 1.24.
build from:
	67c868 update rk3399 loader to 1.24.
update feature:
	1.Add program key to efuse in miniloader.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: Ifb2172ac600f59c4b4dff25dea97019370e17047
2019-12-25 09:13:47 +08:00
Hans Yang
fee6c71094 RKBOOT: add RK3032MINIALL.ini for RK3032
Change-Id: Icccadb8bb6e92e109347d5e541cf36add851a9e9
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2019-12-24 17:58:19 +08:00
Jon Lin
a419401af5 rk3036: loader: update miniloader and usbplug to v2.55
build from commit:
	a23125: src: platform: rk3036: support sfc
update feature:
	support SFC SPI Nor

Change-Id: I07623819569cb7a9ea9f1883309647dfe5bc0e20
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-12-20 09:16:48 +08:00
XiaoDong Huang
f679c3044a rknpu_lion: bl31: update version to v1.11
Build from ATF commit:
    2a138bbaa plat: rk1808: monitor: config npu'rate to 297M if rk1806
update feature:
    2a138bbaa plat: rk1808: monitor: config npu'rate to 297M if rk1806

Change-Id: I05bb251e163de59a0574baceb5f3674ef1300d79
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-12-13 15:16:04 +08:00
XiaoDong Huang
2f9dc8c691 rk3399: bl31: update version to v1.31
Build from ATF commit:
    734d84297 plat: rk3399: ddr: fix the bug about generate noc timing
update feature:
    734d84297 plat: rk3399: ddr: fix the bug about generate noc timing
    0b93630e1 rockchip: sip: add weak attribute to sip_version_handler

Change-Id: If0df9f780daf28af4d3fb7efbb880e0fabd8a774
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-12-12 15:31:14 +08:00
Lin Huang
891c24aab1 rk1806: update loader v1.04.105 and trust v1.12
Change-Id: I0f3e744426d21e38184e70f2b8bc175a6fae870b
Signed-off-by: Lin Huang <hl@rock-chips.com>
2019-12-10 14:57:45 +08:00
Chen Fen
2dc6f14146 rk1808: loader: update loader bin to 1.05.
build from:
	adfdc9 update rk1808 loader to 1.05.
update feature:
	Add rk1806 boot support.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: Iaf491a9b5274948e925ca8da1c8cf2ef8e285326
2019-12-10 13:58:33 +08:00