rv1126-uboot/common
Joseph Chen 745aeb1a7d common: android: add boot_img_hdr_v3 and vendor boot support
Android Header v3 and vendor boot partition are introduced
from Android-11(R).

Header populate:
  Header v3 is no longer compatible with v0/1/2 header, we
  add populate_andr_img_hdr() to merge boot and vendor_boot
  partition header into struct andr_img_hdr in order to
  compatible with v0/1/2 header.

resource.img:
  The second_addr and second_size fields are removed in v3,
  so we require resource partition to restore resource.img.

A/B system:
  If not A/B system, the boot.img header version is 3 and
  recovery header is version 2.

AVB load image:
  - If allow verification error: the image is loaded by
    ops->get_preloaded_partition() which auto populates
    boot_img_hdr_v3.
  - If not allow verification error: the image is full loaded
    by ops->read_from_partition() which doesn't populate
    boot_img_hdr_v3, we need to fix it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2afce53c43d782fc57baa01acf9c05518b580840
2020-09-18 14:41:37 +08:00
..
eeprom
init serial: ns16550: support using pre-loader serial 2018-10-19 17:40:56 +08:00
spl spl: fit: add file spl_fit_tb_arm_v7.S 2020-09-07 16:26:04 +08:00
usbplug common: add usbplug support 2020-05-22 16:58:04 +08:00
Kconfig common: iotrace: do optimize 2020-06-22 20:02:15 +08:00
Makefile common: iotrace: do optimize 2020-06-22 20:02:15 +08:00
android_ab.c android: Implement A/B slot select. 2017-11-14 10:55:46 +08:00
android_bootloader.c common: android: add boot_img_hdr_v3 and vendor boot support 2020-09-18 14:41:37 +08:00
attestation_key.c common: write_keybox: fix write attestation key compatibility error 2019-03-05 15:09:17 +08:00
autoboot.c common: support disable CLI for verified-boot 2020-03-28 18:21:16 +08:00
bedbug.c
board_f.c common: add usbplug support 2020-05-22 16:58:04 +08:00
board_info.c common: board_info: print "AArch32" cpu mode 2019-10-24 10:52:45 +08:00
board_r.c common: board_r: fix mtd blk compile error 2020-05-27 11:42:03 +08:00
boot_fit.c common: fit: unify fit image align size 2020-03-16 11:42:38 +08:00
bootm.c common: bootm: support host sign check for armv7 fit image 2020-04-03 17:54:19 +08:00
bootm_os.c common: bootm: add bootm state param for arch_preboot_os() 2019-08-23 12:48:57 +08:00
bootretry.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bootstage.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
bouncebuf.c
cli.c common: cli: allow fall back to simple cli 2020-05-22 16:46:40 +08:00
cli_hush.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cli_readline.c
cli_simple.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
command.c common: cli: allow fall back to simple cli 2020-05-22 16:46:40 +08:00
common_fit.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
console.c common: console: support enable timestamp in SPL 2020-09-02 16:35:17 +08:00
cros_ec.c
ddr_spd.c
dfu.c UPSTREAM: usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers 2020-01-07 17:24:53 +08:00
dlmalloc.c UPSTREAM: malloc: don't compare pointers to 0 2018-01-17 15:27:28 +08:00
dlmalloc.src
edid.c common: edid: fix the mode flag for interlaced 2020-07-16 16:21:18 +08:00
exports.c
fb_common.c Handle slow MMC writes 2017-11-14 10:55:45 +08:00
fb_mmc.c fastboot: get mmc erase group size for fastboot 2018-08-13 09:58:31 +08:00
fb_nand.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
fdt_support.c common: fdt_support: update code wrap by configure 2020-05-22 16:46:40 +08:00
flash.c UPSTREAM: flash: Fix spelling of "ERR_TIMOUT" 2019-07-05 19:33:35 +08:00
hash.c hash: Compile only hardware or software versions of SHA algorithms 2017-08-20 09:53:13 -04:00
hwconfig.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
image-android-dt.c image: android-dt: add dt_for_each_entry() to iterate over all dt entry of DT image 2018-08-06 11:15:19 +08:00
image-android.c common: android: add boot_img_hdr_v3 and vendor boot support 2020-09-18 14:41:37 +08:00
image-fdt.c common: image-fdt: ignore sysmem alloc for reseved memory at zero address 2020-06-05 14:36:13 +08:00
image-fit.c common: fit: add fit_image_is_preload() 2020-09-07 14:53:06 +08:00
image-sig.c UPSTREAM: rsa: add support of padding pss 2020-07-15 10:33:36 +08:00
image-sparse.c Implement fastboot flash and erase. 2017-11-14 10:55:45 +08:00
image.c UPSTREAM: tools: mkimage: Support RISC-V arch 2020-04-14 12:45:33 +08:00
iomux.c console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL 2017-02-06 11:38:46 +08:00
iotrace.c common: iotrace: do optimize 2020-06-22 20:02:15 +08:00
kallsyms.c
keymaster.c lib: optee_client: Extract keymaster CA module 2019-01-18 09:09:34 +08:00
kgdb.c
kgdb_stubs.c
lcd.c lcd: avoid possible NULL dereference 2017-08-19 20:42:20 +02:00
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
log.c UPSTREAM: log: Plumb logging into the init sequence 2018-01-17 15:27:28 +08:00
log_console.c UPSTREAM: log: Add a console driver 2018-01-17 15:27:28 +08:00
lynxkdi.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
main.c common: add autoboot_command_fail_handle() callback 2020-03-28 18:21:16 +08:00
malloc_simple.c common: malloc simple: enable space exhausted message 2020-09-17 20:03:01 +08:00
memsize.c
menu.c
miiphyutil.c common: miiphyutil: Add helper function for mdio bus name 2016-12-20 07:40:04 +01:00
s_record.c
splash.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
splash_source.c common: fit: unify fit image align size 2020-03-16 11:42:38 +08:00
stdio.c dm: console/serial: fix flushc() doesn't work 2019-08-01 10:05:41 +08:00
system_map.c
update.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
usb.c UPSTREAM: usb: Add nonblock argument to submit_int_msg 2020-01-07 17:25:00 +08:00
usb_hub.c UPSTREAM: usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ 2020-01-07 17:24:53 +08:00
usb_kbd.c UPSTREAM: usb: Add nonblock argument to submit_int_msg 2020-01-07 17:25:00 +08:00
usb_storage.c UPSTREAM: usb: Add nonblock argument to submit_int_msg 2020-01-07 17:25:00 +08:00
write_keybox.c common: write keybox: always write storage flag to security sorage 2019-11-27 11:31:04 +08:00
xyzModem.c common/xyzModem.c: Do not use hard-coded address for debug buffer 2017-04-08 09:26:55 -04:00