History log of /rk3399_rockchip-uboot/common/spl/spl_fit.c (Results 26 – 50 of 92)
Revision Date Author Comments
# 3e9875cd 30-Dec-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: assume the max size of U-Boot/tee/atf is 2MB

RK3568 U-Boot is over 1MB size.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I743cf403ddfb63d9452a2d6781d99ebdd5313e9c


# 39b9f515 25-Nov-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: update U-Boot entry point by image info

Otherwise it depends on static value CONFIG_SYS_TEXT_BASE
if the image node can't be found in "/fit-images".

Signed-off-by: Joseph Chen <chenjh@roc

spl: fit: update U-Boot entry point by image info

Otherwise it depends on static value CONFIG_SYS_TEXT_BASE
if the image node can't be found in "/fit-images".

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I103bd3467baaefb816ab34d7a2bf37547113e431

show more ...


# a741b19c 25-Aug-2020 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: map the bad block table depending on the image's size

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I6a257327fce16c8bf5ce10c8cbae0b60e044eb88


# 9d23fbe3 12-Nov-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: load kernel dtb if need

kernel FDT is for U-Boot if there is not valid one from images,
ie: resource.img, boot.img or recovery.img. It is put right
after U-Boot FDT.

This is used for U-di

spl: fit: load kernel dtb if need

kernel FDT is for U-Boot if there is not valid one from images,
ie: resource.img, boot.img or recovery.img. It is put right
after U-Boot FDT.

This is used for U-disk bing up.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I348b6ea5736f46c091284c501e7e0f9c64cd2f78

show more ...


# 29725e85 20-Aug-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: print invalid fit magic

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I89da3797e444bb12e58cf99f902cb758c6fd82f9


# a00b516f 12-Aug-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: use CONFIG_SPL_KERNEL_BOOT for thunder-boot

This option was added by RKFW boot flow, let's reuse it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Id4625a783747ce2e4ebaf69

spl: fit: use CONFIG_SPL_KERNEL_BOOT for thunder-boot

This option was added by RKFW boot flow, let's reuse it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Id4625a783747ce2e4ebaf69a5fa3812077a79639

show more ...


# 50466f58 27-Jul-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: update newline position

Adding newline after board_fit_image_post_process() message.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I325f26bfb33638a4dfe8fef473d6c5062e566158


# d3bfb68b 28-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: seperate compress and decompress address

Address definition:
comp = <0x...>: compress image address;
load = <0x...>: decompress image address;

We default reserve 1MB size for decompress

spl: fit: seperate compress and decompress address

Address definition:
comp = <0x...>: compress image address;
load = <0x...>: decompress image address;

We default reserve 1MB size for decompress if there is
no "comp = <0x...>", assuming it's enough for U-Boot,
tee and atf, etc.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ic82f69551301121f08fba88ff433ad5789859b70

show more ...


# e12dde2d 28-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: support load kernel fit

Support load kernel fit image from boot/recovery partition
and ignore U-Boot proper if we expect to boot kernel in SPL.

Signed-off-by: Joseph Chen <chenjh@rock-chi

spl: fit: support load kernel fit

Support load kernel fit image from boot/recovery partition
and ignore U-Boot proper if we expect to boot kernel in SPL.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I220c70c784e2327feea591756cbbde97ada8335f

show more ...


# 569a1737 23-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: add spl_fit_load_blob()

Move code to a function in order to be shared with other code.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0d54ea7bb28a54a54eb313cda11c33f4d4564

spl: fit: add spl_fit_load_blob()

Move code to a function in order to be shared with other code.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0d54ea7bb28a54a54eb313cda11c33f4d4564a84

show more ...


# 9c633288 22-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

common: fit: update board_fit_image_post_process() args

Add more args for the function to parse more fit information.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9be6607e5f7eb9b9

common: fit: update board_fit_image_post_process() args

Add more args for the function to parse more fit information.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9be6607e5f7eb9b9912eb570f765dc6f634f956e

show more ...


# a7560f55 13-Jul-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: not allow default configure node miss

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I07af21fdc371dcfdc55115febfc3e99ff41ee8d4


# e49e7bf9 07-Jul-2020 Joseph Chen <chenjh@rock-chips.com>

spl: remove unused variable "rollback_index"

We prefer use "gd->rollback_index".

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I45bc64e38224064797d8d8bd89d9d3881f8793b5


# e5ca21e8 28-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

common: fit: add more info for otp index

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9360d3d4bc16c1c1f5e4a2310e79858d38413eb8


# 9a65720b 23-Jun-2020 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: release and run mcu address depended on entry_point

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ibbd28c604c6f6bf558f74c4b5a8064d894492015


# 35176ccb 29-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

Revert "spl: fit: check image length"

This reverts commit 359ed52cc25ad2538aba327e49570a2270e6d643.

This early return causes variable "image_info" not initialized.
spl_load_fit_image() should retur

Revert "spl: fit: check image length"

This reverts commit 359ed52cc25ad2538aba327e49570a2270e6d643.

This early return causes variable "image_info" not initialized.
spl_load_fit_image() should return 0 only at the end.

Change-Id: I7dba24826758763e6e4da56579546cb50b9cb984
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 359ed52c 12-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: check image length

Do not go further if it is 0.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I1d4c07303a4998a9c112986ee4efda39c1d55d63


# 98894c73 21-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 1f452cbf 16-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

fit: support board sig verify require

Not allow non-signature image to boot if board requires
signature verify.

The board signature verify usually depends on otp/efuse
key is enabled or disabled.

fit: support board sig verify require

Not allow non-signature image to boot if board requires
signature verify.

The board signature verify usually depends on otp/efuse
key is enabled or disabled.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4e4dd201e74712a53cb0f481463b48532e30bb40

show more ...


# c637f232 16-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot

Change-Id: I22ac688008080eac49169d752a94b66668f890fc

Conflicts:
drivers/phy/Kconfig
drivers/phy/Makefile


# a515b6d2 16-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

fit: spl: verify hashes of images by default

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Iea4eabcd87ea612eeeb7cb5e34ce26adee053557


# a873a532 14-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 342d050e 12-Apr-2020 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: support boot standalone firmware

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ib3e35cfba0bb52141c8948de994f5e6c9661887f


# f8f8bbc6 10-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 22c7c1a8 04-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

spl: fit: support load multiple backup of images

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I29bce60f1b958baedbd2b45e86a611b89547c0d8


1234