Commit Graph

929 Commits

Author SHA1 Message Date
XiaoDong Huang
f75e89f761 rk1808: bl31: update version to v1.13
Build from ATF commit:
    877eaebaf plat: rk1808: soc_bus_div_sip_handler: use cfg-val instead of timer-us
update feature:
    877eaebaf plat: rk1808: soc_bus_div_sip_handler: use cfg-val instead of timer-us
    af49f6714 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally
    7c114f10c plat: rockchip: common: fix the error about lpddr4 tccd

Change-Id: I53ee4e86445d57d4a75fe9ec9322c436e6403df7
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-06-11 10:49:42 +08:00
Jason Zhu
c5806fad5b rv1126: loader: update spl thunder boot version to v1.01
Build from next-dev:
	99ca055 common: image-fdt: ignore sysmem alloc for
	        reseved memory at zero address

Build command:
	./make.sh rv1126-emmc-tb

Update feature:
	1.support cold boot
	2.support pass decom limit size

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I030b9268ee134da63b94e563f8f975cb3ca77355
2020-06-05 20:15:33 +08:00
Jon Lin
aaa01cd021 rv1126: loader: update to v1.10
from commit: 4910c7834a05bcbfa94bdc4c6c9a813f2eeec9e8

Update good block searching strategy for open source code

Change-Id: Ic9d803d7e94a849e744f6e9828e09bc5e4d87f8f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-06-05 09:16:30 +08:00
Jon Lin
217b0642fe rv1109: loader: update to v1.10
from commit: 4910c7834a05bcbfa94bdc4c6c9a813f2eeec9e8

Update good block searching strategy for open source code

Change-Id: Ie9ecb6bad8b49669acf13fc2cb1b92d6667a0852
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-06-05 09:16:27 +08:00
Jon Lin
e95c3fc852 rk3032: loader: update to v2.60
from commit: 746da91064019c0fd4ba0d98e1b58146bba7bc9e

Support more SPI Flash devices

Change-Id: I8eb380d42488274a0a8d98ed3e7209a5ec6d1bc3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-06-05 09:16:23 +08:00
Jon Lin
ac052cd0ee rk3036: loader: update to v2.59
from commit: 746da91064019c0fd4ba0d98e1b58146bba7bc9e

Support SPI flash

Change-Id: I0e63511289676a4c43e893f2526ddca6fe09ee47
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-06-05 09:16:10 +08:00
Jon Lin
a9d3583eb4 rk3308: loader: update to v1.20
from commit: 746da91064019c0fd4ba0d98e1b58146bba7bc9e

Update good block searching strategy for open source code

Change-Id: I981c78def314ea40575fe09a9c45b9024196fa56
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-06-04 20:38:06 +08:00
Joseph Chen
277d3c86fe tools: update mkimage
Fix: "Can't set 'totalsize' property for '' node (FDT_ERR_NOSPACE)"

build command: ./make.sh rv1126

from next-dev on:
	664ab5c configs: rv1126: Enable GMAC

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ibd11c4e21aaa66f32a2cffee1acd9b77cf60b6e9
2020-06-02 18:25:01 +08:00
Chen Fen
934d22676e rk3399: loader: fix sd card boot fail.
build from: 08e70b fix sd card boot fail.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: I978f0423dae8b479662e41019886661c9325b035
2020-06-02 15:14:49 +08:00
CanYang He
881159c77f rv110x: ddr: update ddr version to V1.08 20200522
build from:
	24fbb5a Version: DDR Version V1.08 20200522
update feature:
	1. support DC-DC TCS4525 and TCS4526 to set vdd_core 1.15v
	2. update I2C code, can select I2C_0/1/2
	3. unify global data for ddrbin modify tool

Change-Id: I01cdf2d39912459b13754623cb876a73cb301a2f
Signed-off-by: CanYang He <hcy@rock-chips.com>
2020-06-01 11:33:59 +08:00
Hisping Lin
bdffe75ee2 rv1126: tee with ta: update version to v1.03
Build from optee commit in develop-next-32bit branch:
    ce23754a rv1126: conf.mk: increase CFG_CORE_HEAP_SIZE to 128K

Update feature:
    7e023875 core: Use a exited MMU table to support fast boot.
    6f1b727a rockchip: add i2c driver
    1ed9b8ee rockchip: rv1126: add monitor support
    50c8287e rockchip: rv1126: enable pll driver

Change-Id: I0f8cf87725aba4cbe5a2a68f043ac46d722c4e6f
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-05-28 20:13:30 +08:00
XiaoDong Huang
432f8b0eb6 rv1126-tb: update optee version to v1.01
build from optee commit:
    7cd7887c rockchip: rv1126: enable fast boot

Change-Id: Ia5370c87a1ba1070f32f261690bbb04dbe8f153e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-28 20:12:56 +08:00
Jason Zhu
0b59025453 rv1126: loader: update spl thunder boot version to v1.00
Build from next-dev:
	9bddc4c rockchip: dts: rv1109 remove unused files

Build command:
	./make.sh rv1126-emmc-tb

Update feature:
	SPL support thunder boot.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: If7161b226fcc82b4ee77392a6d829f7fc45e82be
2020-05-28 20:12:20 +08:00
Joseph Chen
9d00b70a2e scripts: checkpatch: clean up coding style
Use "{}" for variable.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6432dcaa2ae7e423cd24e0e09be8da0421da8b96
2020-05-26 19:58:52 +08:00
Joseph Chen
7448aaf21d scripts: checkpatch: check dirty files
Check for spl/tpl/usbplug from U-Boot project.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7ed3399c5097f13ac99a9afc1e1f8dee4e25014b
2020-05-26 17:41:26 +08:00
Joseph Chen
458354d2a8 rv1109: loader: update spl to v1.02
Build from next-dev:
	9bddc4c rockchip: dts: rv1109 remove unused files

Build command:
	./make.sh rv1109

Update feature:
	SPL support check otp verified-boot flag.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3bb64714ea15d796755cc855598c2c36b8f7e514
2020-05-26 17:37:57 +08:00
Joseph Chen
04d75baa9d rv1126: loader: update spl to v1.02
Build from next-dev:
	5410c5c clk: rockchip: rv1126: Add clock init for isp and vop

Build command:
	./make.sh rv1126

Update feature:
	SPL support check otp verified-boot flag.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I5fa8aac624edad54896662a99eb8d8490f3ca3dd
2020-05-26 17:37:57 +08:00
Joseph Chen
cf0580ef22 tools: add mkimage tool to make fit image
build with command: ./make.sh rv1126

from next-dev on:
	eaa66b0 tools: fit: add "/totalsize" property for itb size

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I91cf2e1f1553ef351206657ae51109046d1fbc16
2020-05-26 11:43:25 +08:00
XiaoDong Huang
283deb53e1 rv1109: update optee version to v1.01
build from optee commit:
    6f1b727a rockchip: add i2c driver

Change-Id: Iea27bd8b409e75b697bd5c73e20dd29f65b5b7aa
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-25 17:04:59 +08:00
XiaoDong Huang
0e6d48e799 rv1126: update optee version to v1.02
build from optee commit:
    6f1b727a rockchip: add i2c driver

Change-Id: Ibe247e5d3d58568b08737c886d9fce4b228ff60e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-25 16:30:37 +08:00
XiaoDong Huang
a9fdbf9aaf rk3326: bl31: update version to v1.19
Build from ATF commit:
    86096d535 plat: px30: don't open wdt_ns pclk
update feature:
    86096d535 plat: px30: don't open wdt_ns pclk
    af49f6714 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally
    2803a2c8a plat: px30: ddr: add support the LCD MCU mode
    6b9d033f6 plat: px30: ddr: fix get_dclk_rate_mhz
    7c114f10c plat: rockchip: common: fix the error about lpddr4 tccd
    0b93630e1 rockchip: sip: add weak attribute to sip_version_handler
    73ddb151c plat: rockchip: common: update LPDDR4 spec timing
    868b60217 plat: rockchip: common: update dram spec ODT timing
    50f2e2e33 plat: rockchip: fiq_dfs: add isb and dsb after tlbialle3
    7018b4108 rockchip: add a script to commit elf to rkbin

Change-Id: I30dfad792f9e77196e1a245242a438419d0e0b43
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-22 10:44:18 +08:00
XiaoDong Huang
d9cd06514e px30: bl31: update version to v1.19
Build from ATF commit:
    86096d535 plat: px30: don't open wdt_ns pclk
update feature:
    86096d535 plat: px30: don't open wdt_ns pclk
    af49f6714 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally
    2803a2c8a plat: px30: ddr: add support the LCD MCU mode
    6b9d033f6 plat: px30: ddr: fix get_dclk_rate_mhz
    7c114f10c plat: rockchip: common: fix the error about lpddr4 tccd
    0b93630e1 rockchip: sip: add weak attribute to sip_version_handler
    73ddb151c plat: rockchip: common: update LPDDR4 spec timing
    868b60217 plat: rockchip: common: update dram spec ODT timing
    50f2e2e33 plat: rockchip: fiq_dfs: add isb and dsb after tlbialle3
    7018b4108 rockchip: add a script to commit elf to rkbin

Change-Id: I87f4fab9c7851d7e95052107a600a58627bdebf7
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-22 10:42:25 +08:00
shengfei Xu
c613d9e2e4 rk3399: bl31: update version to v1.34
Build from ATF commit:
    af49f671 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally
update feature:
    af49f671 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ibcd4434af4844e36d9f4f0d45c0603768276bc03
2020-05-19 16:55:44 +08:00
Tang Yun ping
a20a4c6a7b px30: ddr: update ddr bin to v1.15
print info: DDR V1.15 20200511

build from:
    cfe1927 rk3326/px30: ddr: updata to v1.15 20200511
update feature:
    fix uart0/uart5 clk select and iomux bug.

Change-Id: I2fbe6d306baa3ee4111e75489b83c50187ed89c3
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2020-05-15 15:02:27 +08:00
Tang Yun ping
2908909e18 rk3326: ddr: update ddr bin to v1.15
print info: DDR V1.15 20200511

build from:
	cfe1927 rk3326/px30: ddr: updata to v1.15 20200511
update feature:
	fix uart0/uart5 clk select and iomux bug.

Change-Id: Ib2b4363f3a078494a64727f2c325e4661fbe5a85
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2020-05-15 15:02:27 +08:00
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