rv1126-uboot/common
Joseph Chen 3c9d2903a9 common: image: fix parse kernel compressed type issue
This issue happens on the SDK version < 8.1. The reason is we don't
read enough blocks from storage for kernel compressed type validation.

ANDROID_ROCKCHIP_LEGACY_PAGE_SIZE(16KB) is defined by rockchip legacy
mkboot tool(SDK version < 8.1) and larger than Google defined.

To compatible this, we malloc enough buffer but only read android
header and kernel image(1 block) from storage.

Change-Id: I9800e4150985adcd5dbd78c28c471604eb403eae
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-11-07 14:58:09 +08:00
..
eeprom
init serial: ns16550: support using pre-loader serial 2018-10-19 17:40:56 +08:00
spl spl: mtd_blk: correct the error parameter 2019-10-09 15:40:27 +08:00
Kconfig common: android: add image hash verify support 2019-08-29 13:03:17 +08:00
Makefile common: Makefile: optimize compile rules for TPL/SPL/U-Boot 2019-07-05 19:01:06 +08:00
android_ab.c android: Implement A/B slot select. 2017-11-14 10:55:46 +08:00
android_bootloader.c android: change the verification mode 2019-11-06 14:41:53 +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: autoboot: using ctrl+c to exit bootdelay and enter hush 2018-12-19 17:08:17 +08:00
bedbug.c
board_f.c common: board_f: set GD_FLG_DISABLE_CONSOLE early before initcall 2019-07-19 11:36:43 +08:00
board_info.c common: board_info: print "AArch32" cpu mode 2019-10-24 10:52:45 +08:00
board_r.c board_r: re-order the board_early_init_r() 2019-08-06 10:28:41 +08:00
boot_fit.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
boot_rkimg.c rockchip: support boot from U-disk 2019-11-04 14:53:45 +08:00
bootm.c common: bootm: skip usb_stop() if usb is boot device 2019-11-04 14:53:45 +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
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
cli_hush.c
cli_readline.c
cli_simple.c
command.c
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 disable console in & out 2019-07-19 11:36:41 +08:00
cros_ec.c
ddr_spd.c
dfu.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
dlmalloc.c UPSTREAM: malloc: don't compare pointers to 0 2018-01-17 15:27:28 +08:00
dlmalloc.src
edid.c drm/rockchip: dw-hdmi: Support hdmi quantization range setting 2019-07-18 14:59:49 +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: add hotkey to dump cmdline 2019-10-14 20:44:48 +08:00
flash.c UPSTREAM: flash: Fix spelling of "ERR_TIMOUT" 2019-07-05 19:33:35 +08:00
hash.c
hwconfig.c
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: image: fix parse kernel compressed type issue 2019-11-07 14:58:09 +08:00
image-fdt.c fdt: fixup: move board_fdt_fixup the earliest than others 2019-08-01 17:46:49 +08:00
image-fit.c UPSTREAM: fit: Introduce methods for applying overlays on fit-load 2018-01-16 18:16:48 +08:00
image-sig.c UPSTREAM: image-sig: use designated initializers for algorithm 2018-01-17 15:27:28 +08:00
image-sparse.c Implement fastboot flash and erase. 2017-11-14 10:55:45 +08:00
image.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
iomux.c
iotrace.c
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_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
main.c
malloc_simple.c
memsize.c
menu.c
miiphyutil.c
s_record.c
splash.c
splash_source.c
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: Read device descriptor after device is addressed for xHCI 2018-01-17 15:27:28 +08:00
usb_hub.c UPSTREAM: usb: Correct use of debug() 2018-01-17 15:27:28 +08:00
usb_kbd.c
usb_storage.c UPSTREAM: usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk() 2018-01-17 15:27:28 +08:00
write_keybox.c common: write_keybox: support write keybox by RKDevInfoWriteTool 2019-10-22 14:48:33 +08:00
xyzModem.c