| #
7fe881c9 |
| 04-Dec-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl: ab: Add header file support
Change-Id: I3d23101b05cd8b409303f8860bdea27de0feadc2 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
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 ...
|
| #
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 ...
|
| #
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 ...
|
| #
f34b44cf |
| 09-Feb-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: spl: do reset automatically when boot A/B slot fail
Without this patch, spl will hang and wait for reset when slot boot fail. Example: if uboot_a is damaged, user needs to repeat pressing do
common: spl: do reset automatically when boot A/B slot fail
Without this patch, spl will hang and wait for reset when slot boot fail. Example: if uboot_a is damaged, user needs to repeat pressing down reset key, and then spl boot uboot_b. It's really inconvenient.
Now, spl will reset automatically when slot boot fail. If all media and slots boot fail, spl enter maskrom mode.
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: I8a90dd4314434e44dca78e9faa25279631cf4dfb
show more ...
|
| #
093f4d99 |
| 04-Jan-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: ab: support decreasing 1 in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ie3bad33476e25bbcbf9d845abc87c6e075671e0c
|
| #
c6d7f8e4 |
| 28-Dec-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: ab: print a/b info in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I2f1b05a6e12e53988a84b8ac876e80cd722fcaff
|
| #
3eac03e2 |
| 02-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: spl: ab: allow missing misc partition
Return partition name without any slot suffix in this case.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If0692e3e2845f152802632994f5d
common: spl: ab: allow missing misc partition
Return partition name without any slot suffix in this case.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If0692e3e2845f152802632994f5da5a9d3fb1731
show more ...
|
| #
ab6f8011 |
| 06-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
1e33e3cb |
| 27-Apr-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: spl: ab: update new function to support ab system
Add spl_ab_append_part_slot() Delete spl_get_partitions_sector()
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I116d6d7086
common: spl: ab: update new function to support ab system
Add spl_ab_append_part_slot() Delete spl_get_partitions_sector()
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I116d6d708604762203974dc66a39be1a0e7b6bbe
show more ...
|
| #
0cc16201 |
| 26-Jul-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: spl: ab: add ab interface to get slot info
Change-Id: Iffd16dfcf9014b024e522639cbcd851f002b742e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|