Hello community, here is the log from the commit of package u-boot for openSUSE:Factory checked in at 2015-06-23 11:56:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/u-boot (Old) and /work/SRC/openSUSE:Factory/.u-boot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot" Changes: -------- --- /work/SRC/openSUSE:Factory/u-boot/u-boot-a10-olinuxino-lime.changes 2015-06-11 08:23:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-a10-olinuxino-lime.changes 2015-06-23 11:56:53.000000000 +0200 @@ -1,0 +2,9 @@ +Thu Jun 18 12:07:10 UTC 2015 - [email protected] + +- Add fix_slow_mmc_on_rpi.patch to speed up MMC load on RPi +- Rework patches (to be upstreamable): + * enable_spl_ext_support_for_ti_armv7.patch + * mx53loco-bootscr.patch +- Remove fix_beagle_spl_build.patch + +------------------------------------------------------------------- u-boot-a13-olinuxino.changes: same change u-boot-a13-olinuxinom.changes: same change u-boot-a20-olinuxino-lime.changes: same change u-boot-a20-olinuxino-lime2.changes: same change u-boot-a20-olinuxinomicro.changes: same change u-boot-am335xevm.changes: same change u-boot-arndale.changes: same change u-boot-bananapi.changes: same change u-boot-colibrit20.changes: same change u-boot-cubieboard.changes: same change u-boot-cubieboard2.changes: same change u-boot-cubietruck.changes: same change u-boot-highbank.changes: same change u-boot-melea1000.changes: same change u-boot-mx53loco.changes: same change u-boot-mx6qsabrelite.changes: same change u-boot-omap3beagle.changes: same change u-boot-omap4panda.changes: same change u-boot-paz00.changes: same change u-boot-pcm051rev3.changes: same change u-boot-rpi.changes: same change u-boot-rpi2.changes: same change u-boot-snow.changes: same change u-boot.changes: same change Old: ---- fix_beagle_spl_build.patch New: ---- fix_slow_mmc_on_rpi.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ u-boot-a10-olinuxino-lime.spec ++++++ --- /var/tmp/diff_new_pack.8FisuO/_old 2015-06-23 11:56:55.000000000 +0200 +++ /var/tmp/diff_new_pack.8FisuO/_new 2015-06-23 11:56:55.000000000 +0200 @@ -35,9 +35,9 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2015.07-rc2.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc +Patch0: fix_slow_mmc_on_rpi.patch Patch1: enable_spl_ext_support_for_ti_armv7.patch -Patch2: fix_beagle_spl_build.patch -Patch3: mx53loco-bootscr.patch +Patch2: mx53loco-bootscr.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -70,9 +70,9 @@ # is non-free licensed, and we don't need it (bnc#773824) rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot -%patch1 +%patch0 -p1 +%patch1 -p1 %patch2 -p1 -%patch3 %patch99 -p1 %build u-boot-a13-olinuxino.spec: same change u-boot-a13-olinuxinom.spec: same change u-boot-a20-olinuxino-lime.spec: same change u-boot-a20-olinuxino-lime2.spec: same change u-boot-a20-olinuxinomicro.spec: same change u-boot-am335xevm.spec: same change u-boot-arndale.spec: same change u-boot-bananapi.spec: same change u-boot-colibrit20.spec: same change u-boot-cubieboard.spec: same change u-boot-cubieboard2.spec: same change u-boot-cubietruck.spec: same change u-boot-highbank.spec: same change u-boot-melea1000.spec: same change u-boot-mx53loco.spec: same change u-boot-mx6qsabrelite.spec: same change u-boot-omap3beagle.spec: same change u-boot-omap4panda.spec: same change u-boot-paz00.spec: same change u-boot-pcm051rev3.spec: same change u-boot-rpi.spec: same change u-boot-rpi2.spec: same change u-boot-snow.spec: same change ++++++ enable_spl_ext_support_for_ti_armv7.patch ++++++ --- /var/tmp/diff_new_pack.8FisuO/_old 2015-06-23 11:56:56.000000000 +0200 +++ /var/tmp/diff_new_pack.8FisuO/_new 2015-06-23 11:56:56.000000000 +0200 @@ -1,10 +1,35 @@ ---- include/configs/ti_armv7_common.h.orig 2014-08-21 10:41:47.979045987 +0200 -+++ include/configs/ti_armv7_common.h 2014-08-21 10:42:12.325045125 +0200 -@@ -250,6 +250,7 @@ +From 06b07abc2932582fceeb87d8888dff1d5853df83 Mon Sep 17 00:00:00 2001 +From: Guillaume GARDET <[email protected]> +Date: Tue, 16 Jun 2015 12:26:52 +0200 +Subject: [U-Boot] [PATCH 1/2] ti: armv7: enable EXT support in SPL + (using ti_armv7_common.h) + +Tested on Pandaboard (rev. A3) and Beagleboard xM (rev. B). +Compilation tested on TI armv7 boards and OMAP boards from other vendors. + +Signed-off-by: Guillaume GARDET <[email protected]> +Cc: Tom Rini <[email protected]> + +--- + include/configs/ti_armv7_common.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h +index 2bd1164..8762930 100644 +--- a/include/configs/ti_armv7_common.h ++++ b/include/configs/ti_armv7_common.h +@@ -256,6 +256,11 @@ #define CONFIG_SPL_LIBDISK_SUPPORT #define CONFIG_SPL_MMC_SUPPORT #define CONFIG_SPL_FAT_SUPPORT +#define CONFIG_SPL_EXT_SUPPORT ++#endif ++ ++#ifdef CONFIG_SPL_BUILD ++#define CONFIG_SYS_THUMB_BUILD /* Thumbs mode to save space in SPL */ #endif /* General parts of the framework, required. */ +-- +1.8.4.5 + ++++++ fix_slow_mmc_on_rpi.patch ++++++ diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c index 078ef05..74b497e 100644 --- a/drivers/mmc/bcm2835_sdhci.c +++ b/drivers/mmc/bcm2835_sdhci.c @@ -69,11 +69,11 @@ static inline void bcm2835_sdhci_raw_writel(struct sdhci_host *host, u32 val, * (Which is just as well - otherwise we'd have to nobble the DMA engine * too) */ - while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay) + while (timer_get_us() < bcm_host->last_write + bcm_host->twoticks_delay) ; writel(val, host->ioaddr + reg); - bcm_host->last_write = get_timer(0); + bcm_host->last_write = timer_get_us(); } static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg) ++++++ mx53loco-bootscr.patch ++++++ --- /var/tmp/diff_new_pack.8FisuO/_old 2015-06-23 11:56:56.000000000 +0200 +++ /var/tmp/diff_new_pack.8FisuO/_new 2015-06-23 11:56:56.000000000 +0200 @@ -1,19 +1,48 @@ -Index: include/configs/mx53loco.h -=================================================================== ---- include/configs/mx53loco.h.orig -+++ include/configs/mx53loco.h +From eb1f4cea895bcb8edcb58548ba395329783ddd8b Mon Sep 17 00:00:00 2001 +From: Guillaume GARDET <[email protected]> +Date: Tue, 16 Jun 2015 11:38:07 +0200 +Subject: [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload' + +This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board. + +This allows to use EXT partition instead of FAT, while keeping FAT compatibility. + +Signed-off-by: Guillaume GARDET <[email protected]> + +Cc: Jason Liu <[email protected]> +Cc: Stefano Babic <[email protected]> + +--- + include/configs/mx53loco.h | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h +index db551a9..b3ac5e2 100644 +--- a/include/configs/mx53loco.h ++++ b/include/configs/mx53loco.h +@@ -43,6 +43,7 @@ + #define CONFIG_MMC + #define CONFIG_CMD_MMC + #define CONFIG_GENERIC_MMC ++#define CONFIG_CMD_FS_GENERIC + #define CONFIG_CMD_FAT + #define CONFIG_CMD_EXT2 + #define CONFIG_DOS_PARTITION @@ -116,11 +117,11 @@ "mmcroot=/dev/mmcblk0p2 rw rootwait\0" \ "mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \ "loadbootscript=" \ - "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ -+ "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ ++ "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ "bootscript=echo Running bootscript from mmc ...; " \ "source\0" \ - "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ - "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ -+ "loadimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ -+ "loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ ++ "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ ++ "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ "mmcboot=echo Booting from mmc ...; " \ "run mmcargs; " \ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ +-- +1.8.4.5 + ++++++ u-boot.spec.in ++++++ --- /var/tmp/diff_new_pack.8FisuO/_old 2015-06-23 11:56:56.000000000 +0200 +++ /var/tmp/diff_new_pack.8FisuO/_new 2015-06-23 11:56:56.000000000 +0200 @@ -35,9 +35,9 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2015.07-rc2.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc +Patch0: fix_slow_mmc_on_rpi.patch Patch1: enable_spl_ext_support_for_ti_armv7.patch -Patch2: fix_beagle_spl_build.patch -Patch3: mx53loco-bootscr.patch +Patch2: mx53loco-bootscr.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -70,9 +70,9 @@ # is non-free licensed, and we don't need it (bnc#773824) rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot -%patch1 +%patch0 -p1 +%patch1 -p1 %patch2 -p1 -%patch3 %patch99 -p1 %build
