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/002-fix_jffs2.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/002-fix_jffs2.patch')
-rw-r--r-- | package/boot/uboot-omap/patches/002-fix_jffs2.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/boot/uboot-omap/patches/002-fix_jffs2.patch b/package/boot/uboot-omap/patches/002-fix_jffs2.patch deleted file mode 100644 index 849c633221..0000000000 --- a/package/boot/uboot-omap/patches/002-fix_jffs2.patch +++ /dev/null @@ -1,30 +0,0 @@ -Building boards that have JFFS2 support enabled will fail when using -U-Boot's builtin GCC library, for example like this: - -USE_PRIVATE_LIBGCC=yes ./MAKEALL omap3_evm -... -fs/jffs2/libjffs2.o: In function `jffs2_1pass_build_lists': -fs/jffs2/jffs2_1pass.c:1441: undefined reference to `__aeabi_uldivmod' - -This is caused by a u64 / u32 division in jffs2_1pass.c; the problem -can be avoided by using do_div() instead of plain division. - -Signed-off-by: Wolfgang Denk <wd@denx.de> -Reported-by: Chris Ruehl <chris.ruehl@gtsys.com.hk> -Cc: Chris Ruehl <chris.ruehl@gtsys.com.hk> - ---- - fs/jffs2/jffs2_1pass.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/fs/jffs2/jffs2_1pass.c -+++ b/fs/jffs2/jffs2_1pass.c -@@ -1438,7 +1438,7 @@ jffs2_1pass_build_lists(struct part_info - { - struct b_lists *pL; - struct jffs2_unknown_node *node; -- u32 nr_sectors = part->size/part->sector_size; -+ u32 nr_sectors = do_div(part->size, part->sector_size); - u32 i; - u32 counter4 = 0; - u32 counterF = 0; |