| f39aacfa | 30-Apr-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
spl: fit tb: Add standalone ramdisk partition support
Update: fa81071353 spl: fit tb: Add standalone ramdisk partition support
Build from commit id fa81071353 under u-boot-tb repo with additional c
spl: fit tb: Add standalone ramdisk partition support
Update: fa81071353 spl: fit tb: Add standalone ramdisk partition support
Build from commit id fa81071353 under u-boot-tb repo with additional configs as follows based on rv1106-spi-nor-tb.config:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x200 CONFIG_RSA_E_SIZE=0x10 CONFIG_RSA_C_SIZE=0x20 CONFIG_SPL_OPTEE=y CONFIG_SPL_GZIP=y
Change-Id: I572d83e333e28f2b9fa93288d46c31794a069a25 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| be9d6521 | 29-Apr-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: android_bootloader: Abandon preload data when boot_partition changed
1. Handle the case: "avb lock + (vbus = 0) + recovery key pressed". 2. Need to clean preload data, when boot_partition ch
common: android_bootloader: Abandon preload data when boot_partition changed
1. Handle the case: "avb lock + (vbus = 0) + recovery key pressed". 2. Need to clean preload data, when boot_partition change. 3. Saved boot_partition shouldn't have _a or _b suffix because they should be saved in const char *slot_suffix.
Change-Id: Ia6354ef037ea0d205b1dc95e0ea8007925e652a3 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| afc5def0 | 29-Apr-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Support append sys_bootargs into kernel fdt bootargs
Update: bee57f9617 common: spl_fit_tb: Support append sys_bootargs into kernel fdt bootargs fd004d5f65 common: spl_ab: Re-org
common: spl_fit_tb: Support append sys_bootargs into kernel fdt bootargs
Update: bee57f9617 common: spl_fit_tb: Support append sys_bootargs into kernel fdt bootargs fd004d5f65 common: spl_ab: Re-organize coding style about appending bootargs
Build from commit id 63cea019a9 under u-boot-tb repo with additional configs as follows based on rv1106-spi-nor-tb.config:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x200 CONFIG_RSA_E_SIZE=0x10 CONFIG_RSA_C_SIZE=0x20 CONFIG_SPL_OPTEE=y CONFIG_SPL_GZIP=y
Change-Id: I49096fb506c3e0f7df8b2b930514079ee6f583a3 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 2d51105d | 20-Mar-2024 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
spl: ufs: add U-Boot loading error checking
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Ic0c55001920c8b001b08624cd94b6b2c63310c4c |
| a9368cb8 | 13-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Not allow append fdt fail for rv1126
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional config
common: spl_fit_tb: Not allow append fdt fail for rv1126
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1126-spi-nor-tb.config:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x100 CONFIG_RSA_E_SIZE=0x100 CONFIG_RSA_C_SIZE=0x14 CONFIG_SPL_GZIP=y
Change-Id: Ibb57d4a707a07a3d2b3c4f231029c84c03ba7c4d Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 36df4e8a | 13-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Not allow append fdt fail for px30
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs
common: spl_fit_tb: Not allow append fdt fail for px30
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on px30-tb_defconfig:
CONFIG_FIT_SIGNATURE=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x100 CONFIG_RSA_E_SIZE=0x100 CONFIG_RSA_C_SIZE=0x14 CONFIG_SPL_GZIP=y CONFIG_SPL_RSA=y CONFIG_RSA=y
Change-Id: I3fc545b65610f9d5f0b044f9e468d40eac46787f Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| af667ccb | 13-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Not allow append fdt fail for rv1106
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional config
common: spl_fit_tb: Not allow append fdt fail for rv1106
Mainly update: 23f139f243 spl: fit_tb: Not allow append fdt fail
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1106-spi-nor-tb_defconfig:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x200 CONFIG_RSA_E_SIZE=0x10 CONFIG_RSA_C_SIZE=0x20 CONFIG_SPL_OPTEE=y CONFIG_SPL_GZIP=y
Change-Id: I9e5c73dc7907eb3b93b9a20883b0a08149a15e7d Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| c975ea71 | 05-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Update SPL_AB support for rv1126
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1126-spi-nor-tb.config:
CONFIG_FIT_SIGNATURE=
common: spl_fit_tb: Update SPL_AB support for rv1126
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1126-spi-nor-tb.config:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x100 CONFIG_RSA_E_SIZE=0x100 CONFIG_RSA_C_SIZE=0x14 CONFIG_SPL_GZIP=y
Change-Id: I91cc883091343f0821922b9d2f4cff5df277730e Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 52bc37c3 | 05-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Update SPL_AB support for rv1106
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1106-spi-nor-tb_defconfig:
CONFIG_FIT_SIGNATU
common: spl_fit_tb: Update SPL_AB support for rv1106
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on rv1106-spi-nor-tb_defconfig:
CONFIG_FIT_SIGNATURE=y CONFIG_DM_CRYPTO=y CONFIG_FIT_HW_CRYPTO=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x200 CONFIG_RSA_E_SIZE=0x10 CONFIG_RSA_C_SIZE=0x20 CONFIG_SPL_OPTEE=y CONFIG_SPL_GZIP=y
Change-Id: Ie58f69c253b68ae60c1c6b9a61439607da2d8ca7 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 21b519b4 | 05-Mar-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_fit_tb: Update SPL_AB support for px30
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on px30-tb_defconfig:
CONFIG_FIT_SIGNATURE=y CONFIG_
common: spl_fit_tb: Update SPL_AB support for px30
Build from commit id 7d735feb7c under u-boot-tb repo with additional configs as follows based on px30-tb_defconfig:
CONFIG_FIT_SIGNATURE=y CONFIG_SPL_FIT_SIGNATURE=y CONFIG_SPL_FIT_ROLLBACK_PROTECT=y CONFIG_SPL_AB=y CONFIG_RSA_N_SIZE=0x100 CONFIG_RSA_E_SIZE=0x100 CONFIG_RSA_C_SIZE=0x14 CONFIG_SPL_GZIP=y CONFIG_SPL_RSA=y CONFIG_RSA=y
Change-Id: I183d347b4ed9d8eaffa2cb7904f079eb58f2479c Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 3a00cba2 | 04-Mar-2024 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
rockchip: ufs: remove additional scsi scans operate
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: If0ab8b0116ced1be829b91485221198ae15fa25f |
| f749a034 | 27-Feb-2024 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
spl: add support ufs boot
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I52da725df705d82925548e57203a0aaa2d020cae |
| 4e0a26e7 | 15-Sep-2023 |
Joseph Chen <chenjh@rock-chips.com> |
common/cmd: Use sha1/256 lib API
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5bce6cdc46956d9009ae66e054b23f3e2cefd9fe |
| 32fd3901 | 19-Feb-2024 |
Joseph Chen <chenjh@rock-chips.com> |
common: board: Add affinity mask for mpidr
Print only once before relocation.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I3050543eaf78bec323177465a161ff1eba5f3b81 |
| 8d9d4619 | 18-Feb-2024 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: Print image sha1 hash
...... preloaded: distribute image from 'boot ANDROID: sha1(0a222d029e...) + OK Could not find "system" partition Booting IMAGE kernel at 0x40400000 with fdt a
common: android: Print image sha1 hash
...... preloaded: distribute image from 'boot ANDROID: sha1(0a222d029e...) + OK Could not find "system" partition Booting IMAGE kernel at 0x40400000 with fdt at 0x4a000000...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ifa95778ffd83cd6173e0534ce04a471b5af79992
show more ...
|
| 47ad70d1 | 29-Feb-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: malloc_simple: Fix printf format
Mostly, use "#define DEBUG" to check malloc information and forget to close CONFIG_USE_TINY_PRINTF. It will cause printf() misplace and make us misunderstand
common: malloc_simple: Fix printf format
Mostly, use "#define DEBUG" to check malloc information and forget to close CONFIG_USE_TINY_PRINTF. It will cause printf() misplace and make us misunderstand especially print "limit".
For example:
With CONFIG_USE_TINY_PRINTF: malloc_simple: size=x, ptr=a0, limit=e0d8: 43f6e038
Without CONFIG_USE_TINY_PRINTF, without this commit: malloc_simple: size=a0, ptr=e0d8, limit=80000: 43f6e038
Without CONFIG_USE_TINY_PRINTF, with this commit: malloc_simple: size=0xa0, ptr=0xe0d8, limit=0x80000: 0x43f6e038
Change-Id: Ief57e7817474686e53af7e2575803b5a831b16c9 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| 362b6cb3 | 29-Feb-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_ab: Record first slot_suffix when early ab_decrease is required
1. Call spl_ab_decrease_tries() before load kernel to be compatible with the case when storage is eMMC, because preload im
common: spl_ab: Record first slot_suffix when early ab_decrease is required
1. Call spl_ab_decrease_tries() before load kernel to be compatible with the case when storage is eMMC, because preload image will occupy eMMC.
2. (For solving Boundary problem) Need to record slot_suffix before ab_decrease, otherwise when boot kernel, it will use the result after decrease.
3. For example, current slot_suffix is _a, tries-remaining is 1. Without recording slot_suffix before decrease, after decrease, slot_suffix is _b, tries-remaining is 7. SPL will parse boot_b instead of boot_a that expected.
Change-Id: I526d5a9f91d7820f165ada0174719d5a06da6768 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| ef777ce6 | 22-Jan-2024 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: Fix 'os_version' not assigned when android(>=13) image full load
'os_version' is missing on locked device, This will cause init_ramdisk data corruption.
Error log: rootfs image is
common: android: Fix 'os_version' not assigned when android(>=13) image full load
'os_version' is missing on locked device, This will cause init_ramdisk data corruption.
Error log: rootfs image is not initramfs (Decoding failed); looks like an initrd
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com> Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibfc1969af05b6e0d28f2979a16758a0ad9f39be7
show more ...
|
| 67d79ab2 | 22-Nov-2023 |
callen.cai <callen.cai@rock-chips.com> |
id_attestation : support id attestation provision.
Signed-off-by: callen.cai <callen.cai@rock-chips.com> Change-Id: If63bd5a2e2c1c82473175e62d202ae4ed93f241d |
| f3803074 | 14-Dec-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl_ab: Update slot_set_unbootable from U-Boot
When use thunderboot, SPL need to set priority to 0 if that slot is unbootable.
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id:
common: spl_ab: Update slot_set_unbootable from U-Boot
When use thunderboot, SPL need to set priority to 0 if that slot is unbootable.
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: I4cff928250859015a5bb5a7c091946e3cc433e17
show more ...
|
| b77c257e | 19-Oct-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: rsa: Add support for rsa key repair
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: I79828d8e268accf2e691f047107b3af3d2b35179 |
| 5395ac06 | 12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
UPSTREAM: dm: treewide: Do not use the return value of simple uclass iterator
uclass_first_device/uclass_next_device return value will be removed, don't use it.
With the current implementation dev
UPSTREAM: dm: treewide: Do not use the return value of simple uclass iterator
uclass_first_device/uclass_next_device return value will be removed, don't use it.
With the current implementation dev is equivalent to !ret. It is redundant to check both, ret check can be replaced with dev check, and ret check inside the iteration is dead code.
Change-Id: Ie500bbed46f8d08721b14b1db7a7be94ea601799 Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 4954937d922840c212b7eba297cc2d4779f087ad) Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
show more ...
|
| 7cab2ee9 | 22-Sep-2023 |
Joseph Chen <chenjh@rock-chips.com> |
common: console: Call debug uart print after console record
Allow the character to be stored in record buffer.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I20ba147081707be0fe3fe38
common: console: Call debug uart print after console record
Allow the character to be stored in record buffer.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I20ba147081707be0fe3fe3825ac7eadd3e11e751
show more ...
|
| 0fc24c5c | 25-Sep-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl: Kconfig: Add MTD_WRITE/MMC_WRITE support for SPL_AB
When ab_data doesn't exist in misc, need to initialize ab_data and write ab_data into misc partition.
Signed-off-by: Xuhui Lin <xuhu
common: spl: Kconfig: Add MTD_WRITE/MMC_WRITE support for SPL_AB
When ab_data doesn't exist in misc, need to initialize ab_data and write ab_data into misc partition.
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: I9d3220e5397192ab08cd11a0ea18d5bdf08eee95
show more ...
|
| a226b2d4 | 12-Sep-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl: Support ab with more partition tables
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: Ic112a93e176f9f86906e7b18ae1ba9d5e51a8e82 |