Add support code for dealing with U-Boot uImages

Adds a loader for the legacy uImage format that is commonly used on
embedded Linux systems. It verifies checksums and supports uncompressed
and gzipped images. Supports arbitrary reader functions to allow the
images to be streamed off any storage device, for optimal RAM use.

Change-Id: I93c35f9a6f323999a22a07300e05627fabfcbd2c
This commit is contained in:
Aidan MacDonald 2022-02-21 17:52:58 +00:00
parent d541a3a191
commit ee87bfb933
3 changed files with 408 additions and 1 deletions

View file

@ -33,6 +33,7 @@ logf.c
#endif /* ROCKBOX_HAS_LOGF */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
load_code.c
linuxboot.c
#ifdef RB_PROFILE
profile.c
#endif /* RB_PROFILE */
@ -46,7 +47,6 @@ timer.c
debug.c
#endif /* PLATFORM_NATIVE */
panic.c
#if (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(BOOTFILE)
target/hosted/rolo.c
#endif