| 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 ...
|
| fc14b541 | 29-Nov-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: free temporary buffer in image_load()
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0537f30ffa408abe770611f4a59907af05f6d5a0 |
| e99484b8 | 13-Oct-2022 |
Zhichao Guo <zhichao.guo@rock-chips.com> |
common: android_ab: add function ab_update_root_for_env
In addition, common/android_bootloader.c is modified.
Use ab_update_root_for_env instead of ab_update_root_uuid to support both ENV and GPT.
common: android_ab: add function ab_update_root_for_env
In addition, common/android_bootloader.c is modified.
Use ab_update_root_for_env instead of ab_update_root_uuid to support both ENV and GPT.
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com> Change-Id: I295f945fc62d7e2f71a1b19bd5eeec37d558a4b3
show more ...
|
| 28317110 | 21-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
android: avb: Add init_boot support
== init-boot: This new init_boot partition contains the ramdisk the used to live in the boot partition. The boot partition will no longer contain that ramdisk.
i
android: avb: Add init_boot support
== init-boot: This new init_boot partition contains the ramdisk the used to live in the boot partition. The boot partition will no longer contain that ramdisk.
init_boot use android v4 header and is mandory from Android-13.
== avb with unlock: Don't process hash verify. Go pre-loaded path: Loading vendor_boot and init_boot directly to where they should be, while loading the boot/recovery. The boot message tells like: ··· preloaded: distribute image from 'boot_a' preloaded: distribute image from 'init_boot_a' preloaded: distribute image from 'vendor_boot_a' ···
== avb with lock: Process hash verify. Go pre-loaded path: Loading full vendor_boot, init_boot and boot/recovery one by one to verify, and distributing them to where they should be by memcpy at last.
The three images share a large memory buffer that allocated by sysmem_alloc(), it locate at high memory address that just lower than SP bottom. The boot message tells like: ··· preloaded: full image from 'boot_a' at 0xe47f90c0 - 0xe7a4b0c0 preloaded: full image from 'init_boot_a' at 0xeaff90c0 - 0xeb2950c0 preloaded: full image from 'vendor_boot_a' at 0xe87f90c0 - 0xe9f6e0c0 ···
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9c8428eb9777eac81952971cfa97b783a7e71394
show more ...
|
| 415257cf | 21-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: Fix coding style
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I952313db1da9171b42d459b689f24d27adb872db |
| 5d74586a | 03-Nov-2022 |
Joseph Chen <chenjh@rock-chips.com> |
spl: atf: Add AArch32 BL33 SPSR support
SPL is responsible to setup the ep params if BL33 is expected to run as AArch32 mode.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I41ac1eb3
spl: atf: Add AArch32 BL33 SPSR support
SPL is responsible to setup the ep params if BL33 is expected to run as AArch32 mode.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I41ac1eb35c40b1568b3fddae0c9097ee8c098d27
show more ...
|
| 9f68846b | 03-Nov-2022 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: spl: Add arch_fpga_init() call
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibe76088f174cbc28a355195a5e80fac239eeb827 |
| c4bf7455 | 29-Sep-2022 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: Add spl ramboot support
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id8b50c01ca42d9bb1dca30cd9cd02ffa821b1473 |
| 2760efa8 | 15-Sep-2022 |
Algea Cao <algea.cao@rock-chips.com> |
edid: Support parse hdmi2.1 additional function
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I91243868b101016001da2b5c5c40a15789531376 |
| 5283632b | 22-Sep-2022 |
Huibin Hong <huibin.hong@rock-chips.com> |
cmd: atags: add PSTORE
add putc_to_ram to putc
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Change-Id: Idf245676a90a2a104ce3a9dd9a67ee4d6de66b36 |
| 01b3bfc1 | 31-Aug-2022 |
Damon Ding <damon.ding@rock-chips.com> |
common: edid: use drm_display_mode except baseparameter
1. Replace base_drm_display_mode with drm_display_mode in mode whitelist. 2. Add base_drm_display_mode to drm_display_mode conversion func. 3.
common: edid: use drm_display_mode except baseparameter
1. Replace base_drm_display_mode with drm_display_mode in mode whitelist. 2. Add base_drm_display_mode to drm_display_mode conversion func. 3. Replace DRM_BASE_MODE with DRM_MODE.
Fixes: e022625e37 ("video/drm: Add drm_modes.c") Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Ib6a8aaf3bb057f96ee91a412b50036de2273c3c4
show more ...
|
| e022625e | 25-Aug-2022 |
Wyon Bi <bivvy.bi@rock-chips.com> |
video/drm: Add drm_modes.c
Sync from kernel 5.10:
drivers/gpu/drm/drm_modes.c
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com> Change-Id: I721de052bf66ac83483f02c2fe3101b56e6f1ff7 |
| 3f6b9b7d | 27-Jul-2022 |
Algea Cao <algea.cao@rock-chips.com> |
edid: Add HDMI 1.4 4k modes picture_aspect_ratio
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I1a713aff1e8ee78952baaac027a53bf32ea74e73 |
| 25cd3b96 | 17-Jul-2019 |
Heiko Schocher <hs@denx.de> |
BACKPORT: gpio: fixes for gpio-hog support
recently added gpio hog patch was "in discussion" state with Simon Glass. This patch now adds most of comments from Simon Glass.
Signed-off-by: Heiko Scho
BACKPORT: gpio: fixes for gpio-hog support
recently added gpio hog patch was "in discussion" state with Simon Glass. This patch now adds most of comments from Simon Glass.
Signed-off-by: Heiko Schocher <hs@denx.de> (cherry picked from commit 49b10cb4926285b856b207c1f5bb40c75487f08b) Change-Id: I622699122cdb28f3fdede9a3a13de7c25a54b702 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
show more ...
|
| 7e044b9a | 12-Jun-2019 |
Heiko Schocher <hs@denx.de> |
BACKPORT: gpio: add gpio-hog support
add gpio-hog support. GPIO hogging is a mechanism providing automatic GPIO request and configuration as part of the gpio-controller's driver probe function.
for
BACKPORT: gpio: add gpio-hog support
add gpio-hog support. GPIO hogging is a mechanism providing automatic GPIO request and configuration as part of the gpio-controller's driver probe function.
for more infos see: doc/device-tree-bindings/gpio/gpio.txt
Signed-off-by: Heiko Schocher <hs@denx.de> Tested-by: Michal Simek <michal.simek@xilinx.com> (zcu102) Tested-by: Patrick Delaunay <patrick.delaunay@st.com> (cherry picked from commit 5fc7cf8c8e268590f3b0037eecea7f6798209f78) Change-Id: I73dc38ff9f38085d9ed5ee39b28d795f4adc68a0 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
show more ...
|
| 19cde47e | 06-Jul-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: support load meta partition and pass info through cmdline
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I9c01833d7f34ca26b369eb272ca0252f34fc851a |
| 627cf1b4 | 30-Jun-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: support SOC_FLAGS_TDBT
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ica2ac4658b051520334b32a27305ef37be8bc9ef |
| 8d677a76 | 29-Jun-2022 |
Algea Cao <algea.cao@rock-chips.com> |
edid: Fix VIC choose err
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I2ae1967eed0fd2b1a4d25dc031623432d437e38e |
| 4c38776d | 13-Jun-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: fix cannot load loadable firmware
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I9e9a8b3cefb7331193534ce896481b814bb30290 |
| ea99776f | 31-May-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: Add android version limit for crypto calc
Only version < 3 support hash checksum verify.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ib992873e8efce55423b4f91ad9e9
common: android: Add android version limit for crypto calc
Only version < 3 support hash checksum verify.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ib992873e8efce55423b4f91ad9e9820aabca21d0
show more ...
|
| a5d16e51 | 24-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
serial: ns16550: Add serial rx/tx fifo clear support
Correct the implementaion of clear callback, it should be reset action but not flush.
flushc() is only used for debug uart.
Signed-off-by: Jose
serial: ns16550: Add serial rx/tx fifo clear support
Correct the implementaion of clear callback, it should be reset action but not flush.
flushc() is only used for debug uart.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8d38c9753c77bee37e3c4ae6338ff96c6ad0bf30
show more ...
|
| 9c509d55 | 11-May-2022 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "common: image-sig: just print error log if not enable device secure boot"
This reverts commit 15ab68fdce1560beb10f58aec22757a87c1ddf8f.
Change-Id: I313d2cb773d63574301e752a0c63ff15fcb596a1
Revert "common: image-sig: just print error log if not enable device secure boot"
This reverts commit 15ab68fdce1560beb10f58aec22757a87c1ddf8f.
Change-Id: I313d2cb773d63574301e752a0c63ff15fcb596a1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 14e3ca76 | 19-Apr-2022 |
Damon Ding <damon.ding@rock-chips.com> |
edid: add support for 8k display
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I0ddfc53253588f3952ce663c07ed0deb670929c8 |
| 7089e118 | 24-Nov-2021 |
callen.cai <callen.cai@rock-chips.com> |
attestation_key: support print write key result in logs.
Change-Id: I2b6795b42df17d8ae7bba865dad44424336ab815 Signed-off-by: callen.cai <callen.cai@rock-chips.com> |
| 0669f6dc | 20-Apr-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: fix can not bring up uboot without optee
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I4ff4e5b1350c4a16487b24343cb44577417d0ab7 |