diff options
author | John Crispin <john@openwrt.org> | 2015-12-17 09:29:42 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-17 09:29:42 +0000 |
commit | 98b9dfd2b5370b453798a2b7da356b7fef7f9b51 (patch) | |
tree | 6c28d5eb537ce89da3d1ab8dbd8e4b0ddd417b8e /package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch | |
parent | 429ab0113a71841ab5c3c181af6bc3d585743dc6 (diff) | |
download | upstream-98b9dfd2b5370b453798a2b7da356b7fef7f9b51.tar.gz upstream-98b9dfd2b5370b453798a2b7da356b7fef7f9b51.tar.bz2 upstream-98b9dfd2b5370b453798a2b7da356b7fef7f9b51.zip |
uboot-omap: update to 2015.10
- tested on Beagleboard C4
- remove upstream patches
- disable THUMB mode on OMAP3 this increases binary size
(remove CONFIG_SYS_THUMB_BUILD)
- reduce SPL size by disabling EXT feature
(remove CONFIG_SPL_EXT_SUPPORT)
this fixes 2015.07 and 2015.10-rc3
Beagleboard C4 booting
which were broken by upstream commit
with id: bd2c4522c26d535515aebca52d27c004a7e0c05c
Arm THUMB mode is broken because of an yet unknown errata
see: http://lists.denx.de/pipermail/u-boot/2015-August/225793.html
- backport upstream fix that was introduced in 2015.10-rc5
and was not fixed in 2015.10 final
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47924
Diffstat (limited to 'package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch')
-rw-r--r-- | package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch b/package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch new file mode 100644 index 0000000000..b8e65b5005 --- /dev/null +++ b/package/boot/uboot-omap/patches/001-backport_upstream_image_c_fix_non_android_booting.patch @@ -0,0 +1,33 @@ +From c139b5ff0999ec3d44a02ebdb623a92e5782e53e Mon Sep 17 00:00:00 2001 +From: Tom Rini <trini@konsulko.com> +Date: Tue, 27 Oct 2015 19:04:40 -0400 +Subject: [PATCH] image.c: Fix non-Android booting with ramdisk and/or device + tree + +In 1fec3c5 I added a check that if we had an Android image we default to +trying the kernel address for a ramdisk. However when we don't have an +Android image buf is NULL and we oops here. Ensure that we have 'buf' +to check first. + +Reported-by: elipe Balbi <balbi@ti.com> +Signed-off-by: Tom Rini <trini@konsulko.com> +--- + common/image.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/image.c b/common/image.c +index e607109..85c4f39 100644 +--- a/common/image.c ++++ b/common/image.c +@@ -913,7 +913,7 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images, + * Look for an Android boot image. + */ + buf = map_sysmem(images->os.start, 0); +- if (genimg_get_format(buf) == IMAGE_FORMAT_ANDROID) ++ if (buf && genimg_get_format(buf) == IMAGE_FORMAT_ANDROID) + select = argv[0]; + #endif + +-- +1.7.10.4 + |