forked from pool/u-boot
Accepting request 435542 from Base:System
Update to v2016.09.01 and fix aarch64 efistub boot OBS-URL: https://build.opensuse.org/request/show/435542 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=82
This commit is contained in:
parent
08d4d6f365
commit
39c34ab531
@ -1,4 +1,4 @@
|
||||
From 257d552be83fd5507780e1f4c09545aab9ea7689 Mon Sep 17 00:00:00 2001
|
||||
From c6a4032662a9b676f1b68af6e9edd691acfa2233 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Wed, 13 Apr 2016 13:44:29 +0200
|
||||
Subject: [PATCH] XXX openSUSE XXX: Load dtb from partition 2
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 78d8516550063ab336ea3aba0906237e8d0ae843 Mon Sep 17 00:00:00 2001
|
||||
From a94ba70d3ca32820575bc772c7f9aa5a73e6424a Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Tue, 1 Mar 2016 10:05:10 +0100
|
||||
Subject: [PATCH] XXX openSUSE XXX: omap3: Move to distro bootcmd
|
||||
@ -13,10 +13,10 @@ Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
1 file changed, 13 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index 4dbe2b6..1979d84 100644
|
||||
index c17dcf5..f5c65c8 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -113,9 +113,12 @@
|
||||
@@ -112,9 +112,12 @@
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"loadaddr=0x80200000\0" \
|
||||
@ -30,7 +30,7 @@ index 4dbe2b6..1979d84 100644
|
||||
"usbtty=cdc_acm\0" \
|
||||
"bootfile=uImage\0" \
|
||||
"ramdisk=ramdisk.gz\0" \
|
||||
@@ -210,39 +213,17 @@
|
||||
@@ -209,39 +212,17 @@
|
||||
"userbutton=if gpio input 173; then run userbutton_xm; " \
|
||||
"else run userbutton_nonxm; fi;\0" \
|
||||
"userbutton_xm=gpio input 4;\0" \
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 7b4e6dd052a467c2cbd305822881d5aedb22a198 Mon Sep 17 00:00:00 2001
|
||||
From e93d7fe650378425c7e0c59b0819a7438eb1a3f7 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Mon, 2 May 2016 23:25:07 +0200
|
||||
Subject: [PATCH] Revert "Revert "omap3: Use raw SPL by default for mmc1""
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 55b8f99ab597bdc6d67579d3b9cb66b2297b0e57 Mon Sep 17 00:00:00 2001
|
||||
From 12c4c666591e9d671201b53d9c310b16cab848c4 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 5 Jun 2016 13:05:08 +0200
|
||||
Subject: [PATCH] efi_loader: Allow boards to implement get_time and
|
||||
@ -23,10 +23,10 @@ Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
3 files changed, 112 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
|
||||
index 011f62c..a80ed48 100644
|
||||
index 21fe42c..38c3b41 100644
|
||||
--- a/cmd/bootefi.c
|
||||
+++ b/cmd/bootefi.c
|
||||
@@ -205,6 +205,10 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
|
||||
@@ -206,6 +206,10 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
|
||||
loaded_image_info.device_handle = nethandle;
|
||||
#endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 3e064db81016a875d338fa9e9fd3cd35336a1c18 Mon Sep 17 00:00:00 2001
|
||||
From 5103e7d2bf4b144f2e706f1d642f88cf0b610d68 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 5 Jun 2016 13:07:44 +0200
|
||||
Subject: [PATCH] ARM: bcm283x: Implement EFI RTS reset_system
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 91c624a0bb3e400b28b3ac7ed3382ef9d5c0f752 Mon Sep 17 00:00:00 2001
|
||||
From 9dca5c94e20c8939368352d337a27d37260d3e42 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Mon, 6 Jun 2016 17:35:10 +0200
|
||||
Subject: [PATCH] efi_loader: gop: Expose fb when 32bpp
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 27c54843fb6a277fe54006544b4bc6fe0cea7ed0 Mon Sep 17 00:00:00 2001
|
||||
From 1e867e1e0075b17bd8e2d6fb76ff8201863dd350 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Mon, 6 Jun 2016 18:23:37 +0200
|
||||
Subject: [PATCH] bcm2835 video: Map frame buffer as 32bpp
|
||||
@ -38,10 +38,10 @@ index cd605e6..cc6454f 100644
|
||||
gd->fb_base = bus_to_phys(
|
||||
msg_setup->allocate_buffer.body.resp.fb_address);
|
||||
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
|
||||
index dbbb81e..b5543f4 100644
|
||||
index 8d4ad5d..2bda9a7 100644
|
||||
--- a/include/configs/rpi.h
|
||||
+++ b/include/configs/rpi.h
|
||||
@@ -78,7 +78,7 @@
|
||||
@@ -73,7 +73,7 @@
|
||||
/* LCD */
|
||||
#define CONFIG_LCD
|
||||
#define CONFIG_LCD_DT_SIMPLEFB
|
||||
|
@ -1,4 +1,4 @@
|
||||
From d4c57d4d395e9d0d6a5fb87b9a584b4070d4fadc Mon Sep 17 00:00:00 2001
|
||||
From 2e7d8ddd41ef6e32daaed670264bcdd0148a04e5 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Mon, 6 Jun 2016 23:55:33 +0200
|
||||
Subject: [PATCH] bcm2835: Reserve the spin table in efi memory map
|
||||
@ -12,7 +12,7 @@ Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
|
||||
index c45ddb1..a2336fc 100644
|
||||
index 6245b36..7f057e1 100644
|
||||
--- a/board/raspberrypi/rpi/rpi.c
|
||||
+++ b/board/raspberrypi/rpi/rpi.c
|
||||
@@ -8,6 +8,7 @@
|
||||
@ -23,7 +23,7 @@ index c45ddb1..a2336fc 100644
|
||||
#include <fdt_support.h>
|
||||
#include <fdt_simplefb.h>
|
||||
#include <lcd.h>
|
||||
@@ -480,5 +481,10 @@ int ft_board_setup(void *blob, bd_t *bd)
|
||||
@@ -514,5 +515,10 @@ int ft_board_setup(void *blob, bd_t *bd)
|
||||
*/
|
||||
lcd_dt_simplefb_add_node(blob);
|
||||
|
||||
|
@ -1,39 +0,0 @@
|
||||
From 607baf77917bf079758ec6d60abf283cc701638c Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@konsulko.com>
|
||||
Date: Thu, 14 Jul 2016 17:36:18 -0400
|
||||
Subject: [PATCH] Revert "armv8: Enable CPUECTLR.SMPEN for coherency"
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upon further review this breaks most other platforms as we need to check
|
||||
what core we're running on before touching it at all.
|
||||
|
||||
This reverts commit d73718f3236c520a92efa401084c658e6cc067f3.
|
||||
|
||||
Signed-off-by: Tom Rini <trini@konsulko.com>
|
||||
(cherry picked from commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897)
|
||||
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
||||
---
|
||||
arch/arm/cpu/armv8/start.S | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S
|
||||
index dfce469..670e323 100644
|
||||
--- a/arch/arm/cpu/armv8/start.S
|
||||
+++ b/arch/arm/cpu/armv8/start.S
|
||||
@@ -81,14 +81,6 @@ reset:
|
||||
msr cpacr_el1, x0 /* Enable FP/SIMD */
|
||||
0:
|
||||
|
||||
- /* Enalbe SMPEN bit for coherency.
|
||||
- * This register is not architectural but at the moment
|
||||
- * this bit should be set for A53/A57/A72.
|
||||
- */
|
||||
- mrs x0, S3_1_c15_c2_1 /* cpuactlr_el1 */
|
||||
- orr x0, x0, #0x40
|
||||
- msr S3_1_c15_c2_1, x0
|
||||
-
|
||||
/* Apply ARM core specific erratas */
|
||||
bl apply_core_errata
|
||||
|
@ -1,4 +1,4 @@
|
||||
From d3be4adda0bb701a4eb823f0410ad7978a099cf5 Mon Sep 17 00:00:00 2001
|
||||
From 8accb8c7c5726274df0a8cf078d133f1189d7833 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 12:33:30 +0200
|
||||
Subject: [PATCH] x86: Move table csum into separate header
|
@ -1,81 +0,0 @@
|
||||
From a58d1d13c48333a9a1aceb253d6932e4aad2790d Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Thu, 11 Aug 2016 12:12:09 +0200
|
||||
Subject: [PATCH] bcm2835_gpio: Implement GPIOF_FUNC
|
||||
|
||||
So far we could only tell the gpio framework that a GPIO was mapped as input or
|
||||
output, not as alternative function.
|
||||
|
||||
This patch adds support for determining whether a function is mapped as
|
||||
alternative.
|
||||
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
arch/arm/mach-bcm283x/include/mach/gpio.h | 2 ++
|
||||
drivers/gpio/bcm2835_gpio.c | 30 +++++++++++++++++-------------
|
||||
2 files changed, 19 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/mach-bcm283x/include/mach/gpio.h b/arch/arm/mach-bcm283x/include/mach/gpio.h
|
||||
index e6e5d16..b2df75a 100644
|
||||
--- a/arch/arm/mach-bcm283x/include/mach/gpio.h
|
||||
+++ b/arch/arm/mach-bcm283x/include/mach/gpio.h
|
||||
@@ -66,4 +66,6 @@ struct bcm2835_gpio_platdata {
|
||||
unsigned long base;
|
||||
};
|
||||
|
||||
+int bcm2835_gpio_get_func_id(struct udevice *dev, unsigned gpio);
|
||||
+
|
||||
#endif /* _BCM2835_GPIO_H_ */
|
||||
diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c
|
||||
index fbc641d..8b88d79 100644
|
||||
--- a/drivers/gpio/bcm2835_gpio.c
|
||||
+++ b/drivers/gpio/bcm2835_gpio.c
|
||||
@@ -44,15 +44,6 @@ static int bcm2835_gpio_direction_output(struct udevice *dev, unsigned gpio,
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static bool bcm2835_gpio_is_output(const struct bcm2835_gpios *gpios, int gpio)
|
||||
-{
|
||||
- u32 val;
|
||||
-
|
||||
- val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]);
|
||||
- val &= BCM2835_GPIO_FSEL_MASK << BCM2835_GPIO_FSEL_SHIFT(gpio);
|
||||
- return val ? true : false;
|
||||
-}
|
||||
-
|
||||
static int bcm2835_get_value(const struct bcm2835_gpios *gpios, unsigned gpio)
|
||||
{
|
||||
unsigned val;
|
||||
@@ -81,15 +72,28 @@ static int bcm2835_gpio_set_value(struct udevice *dev, unsigned gpio,
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int bcm2835_gpio_get_function(struct udevice *dev, unsigned offset)
|
||||
+int bcm2835_gpio_get_func_id(struct udevice *dev, unsigned gpio)
|
||||
{
|
||||
struct bcm2835_gpios *gpios = dev_get_priv(dev);
|
||||
+ u32 val;
|
||||
+
|
||||
+ val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]);
|
||||
+
|
||||
+ return (val >> BCM2835_GPIO_FSEL_SHIFT(gpio) & BCM2835_GPIO_FSEL_MASK);
|
||||
+}
|
||||
+
|
||||
+static int bcm2835_gpio_get_function(struct udevice *dev, unsigned offset)
|
||||
+{
|
||||
+ int funcid = bcm2835_gpio_get_func_id(dev, offset);
|
||||
|
||||
- /* GPIOF_FUNC is not implemented yet */
|
||||
- if (bcm2835_gpio_is_output(gpios, offset))
|
||||
+ switch (funcid) {
|
||||
+ case BCM2835_GPIO_OUTPUT:
|
||||
return GPIOF_OUTPUT;
|
||||
- else
|
||||
+ case BCM2835_GPIO_INPUT:
|
||||
return GPIOF_INPUT;
|
||||
+ default:
|
||||
+ return GPIOF_FUNC;
|
||||
+ }
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 77426a40be72c7ee38f6d42da1ef9951044cdca0 Mon Sep 17 00:00:00 2001
|
||||
From 7715189eea7f5e90675a087f4c086342a4352c04 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 12:20:57 +0200
|
||||
Subject: [PATCH] x86: Move smbios generation into arch independent directory
|
||||
@ -20,10 +20,10 @@ Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
rename {arch/x86/lib => lib}/smbios.c (99%)
|
||||
|
||||
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
|
||||
index 29d2307..265cea9 100644
|
||||
index 5193ee7..d058aca 100644
|
||||
--- a/arch/x86/Kconfig
|
||||
+++ b/arch/x86/Kconfig
|
||||
@@ -453,33 +453,6 @@ config GENERATE_ACPI_TABLE
|
||||
@@ -461,33 +461,6 @@ config GENERATE_ACPI_TABLE
|
||||
by the operating system. It defines platform-independent interfaces
|
||||
for configuration and power management monitoring.
|
||||
|
||||
@ -89,10 +89,10 @@ similarity index 100%
|
||||
rename from arch/x86/include/asm/smbios.h
|
||||
rename to include/smbios.h
|
||||
diff --git a/lib/Kconfig b/lib/Kconfig
|
||||
index 02ca405..5a14530 100644
|
||||
index 16ff01a..bb83235 100644
|
||||
--- a/lib/Kconfig
|
||||
+++ b/lib/Kconfig
|
||||
@@ -149,6 +149,39 @@ config SPL_OF_LIBFDT
|
||||
@@ -154,6 +154,39 @@ config SPL_OF_LIBFDT
|
||||
particular compatible nodes. The library operates on a flattened
|
||||
version of the device tree.
|
||||
|
||||
@ -133,7 +133,7 @@ index 02ca405..5a14530 100644
|
||||
source lib/efi_loader/Kconfig
|
||||
|
||||
diff --git a/lib/Makefile b/lib/Makefile
|
||||
index f48d901..c026a9e 100644
|
||||
index f6a8ba1..8801b8e 100644
|
||||
--- a/lib/Makefile
|
||||
+++ b/lib/Makefile
|
||||
@@ -27,6 +27,7 @@ obj-$(CONFIG_FIT) += fdtdec_common.o
|
@ -1,4 +1,4 @@
|
||||
From 5ce2f1f686c5e8ee5de054affc9ec48f7f782db5 Mon Sep 17 00:00:00 2001
|
||||
From 9377c4b2635e8fd508b0cea35f93e2a98fb48718 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 13:05:24 +0200
|
||||
Subject: [PATCH] efi_loader: Expose efi_install_configuration_table
|
@ -1,103 +0,0 @@
|
||||
From 44febd54d6cd3b5d8c2957fc30c1d17d79bebf56 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Thu, 4 Aug 2016 09:04:18 +0200
|
||||
Subject: [PATCH] serial: bcm283x_mu: Detect disabled serial device
|
||||
|
||||
On the raspberry pi, you can disable the serial port to gain dynamic frequency
|
||||
scaling which can get handy at times.
|
||||
|
||||
However, in such a configuration the serial controller gets its rx queue filled
|
||||
up with zero bytes which then happily get transmitted on to whoever calls
|
||||
getc() today.
|
||||
|
||||
This patch adds detection logic for that case by checking whether the RX pin is
|
||||
mapped to GPIO15 and disables the mini uart if it is not mapped properly.
|
||||
|
||||
That way we can leave the driver enabled in the tree and can determine during
|
||||
runtime whether serial is usable or not, having a single binary that allows for
|
||||
uart and non-uart operation.
|
||||
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
|
||||
---
|
||||
|
||||
v2 -> v3:
|
||||
|
||||
- Disable and detect pinmux in board file
|
||||
---
|
||||
board/raspberrypi/rpi/rpi.c | 29 +++++++++++++++++++++++++++++
|
||||
configs/rpi_3_32b_defconfig | 1 +
|
||||
configs/rpi_3_defconfig | 1 +
|
||||
include/configs/rpi.h | 1 +
|
||||
4 files changed, 32 insertions(+)
|
||||
|
||||
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
|
||||
index a2336fc..feaa21e 100644
|
||||
--- a/board/raspberrypi/rpi/rpi.c
|
||||
+++ b/board/raspberrypi/rpi/rpi.c
|
||||
@@ -451,6 +451,35 @@ int board_init(void)
|
||||
return power_on_module(BCM2835_MBOX_POWER_DEVID_USB_HCD);
|
||||
}
|
||||
|
||||
+static bool rpi_is_serial_active(void)
|
||||
+{
|
||||
+#ifndef CONFIG_PL01X_SERIAL
|
||||
+ int serial_gpio = 15;
|
||||
+ struct udevice *dev;
|
||||
+
|
||||
+ /*
|
||||
+ * The RPi3 disables the mini uart by default. The easiest way to find
|
||||
+ * out whether it is available is to check if the pin is muxed.
|
||||
+ */
|
||||
+ if (uclass_first_device(UCLASS_GPIO, &dev) || !dev)
|
||||
+ return true;
|
||||
+
|
||||
+ if (bcm2835_gpio_get_func_id(dev, serial_gpio) != BCM2835_GPIO_ALT5)
|
||||
+ return false;
|
||||
+#endif
|
||||
+
|
||||
+ return true;
|
||||
+}
|
||||
+
|
||||
+int board_late_init(void)
|
||||
+{
|
||||
+ /* Disable mini-UART I/O if it's not pinmuxed to our pins */
|
||||
+ if (!rpi_is_serial_active())
|
||||
+ gd->cur_serial_dev = NULL;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
int board_mmc_init(bd_t *bis)
|
||||
{
|
||||
ALLOC_CACHE_ALIGN_BUFFER(struct msg_get_clock_rate, msg_clk, 1);
|
||||
diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
|
||||
index 922e01b..4c2f106 100644
|
||||
--- a/configs/rpi_3_32b_defconfig
|
||||
+++ b/configs/rpi_3_32b_defconfig
|
||||
@@ -20,3 +20,4 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
+# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||
diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
|
||||
index bff92df..288214c 100644
|
||||
--- a/configs/rpi_3_defconfig
|
||||
+++ b/configs/rpi_3_defconfig
|
||||
@@ -19,3 +19,4 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
+# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
|
||||
index b5543f4..e3b890a 100644
|
||||
--- a/include/configs/rpi.h
|
||||
+++ b/include/configs/rpi.h
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
/* Architecture, CPU, etc.*/
|
||||
#define CONFIG_ARCH_CPU_INIT
|
||||
+#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* Use SoC timer for AArch32, but architected timer for AArch64 */
|
||||
#ifndef CONFIG_ARM64
|
@ -1,4 +1,4 @@
|
||||
From 93751660f58a6286e019e580e3aecc27d4853a16 Mon Sep 17 00:00:00 2001
|
||||
From 167f987d5b5960ec1a2abfb8a42202259b25115e Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 13:15:23 +0200
|
||||
Subject: [PATCH] smbios: Allow compilation on 64bit systems
|
@ -1,4 +1,4 @@
|
||||
From 0cf473210474a7b3dd11de4de82ef8fc3a2516e2 Mon Sep 17 00:00:00 2001
|
||||
From 10a3b9fdb4cdf8d24541222bd8fb065bee88d284 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 13:18:56 +0200
|
||||
Subject: [PATCH] smbios: Expose in efi_loader as table
|
||||
@ -26,10 +26,10 @@ v1 -> v2:
|
||||
6 files changed, 48 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
|
||||
index a80ed48..ca144ff 100644
|
||||
index 38c3b41..aa5a01e 100644
|
||||
--- a/cmd/bootefi.c
|
||||
+++ b/cmd/bootefi.c
|
||||
@@ -204,6 +204,9 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
|
||||
@@ -205,6 +205,9 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
|
||||
if (!memcmp(bootefi_device_path[0].str, "N\0e\0t", 6))
|
||||
loaded_image_info.device_handle = nethandle;
|
||||
#endif
|
||||
@ -80,10 +80,10 @@ index 5962d4c..fb6396a 100644
|
||||
|
||||
struct __packed smbios_type0 {
|
||||
diff --git a/lib/Kconfig b/lib/Kconfig
|
||||
index 5a14530..d7f75fe 100644
|
||||
index bb83235..40a69a6 100644
|
||||
--- a/lib/Kconfig
|
||||
+++ b/lib/Kconfig
|
||||
@@ -150,12 +150,12 @@ config SPL_OF_LIBFDT
|
||||
@@ -155,12 +155,12 @@ config SPL_OF_LIBFDT
|
||||
version of the device tree.
|
||||
|
||||
menu "System tables"
|
@ -1,4 +1,4 @@
|
||||
From e84c4ada85f7faad7aa5be4bc0478d5695ce657b Mon Sep 17 00:00:00 2001
|
||||
From d4ad623cfc71e4bc4f86bd93c97aeffbd265e8b5 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 18:18:10 +0200
|
||||
Subject: [PATCH] efi_loader: Fix efi_install_configuration_table
|
@ -1,4 +1,4 @@
|
||||
From 10f3bcd0ae173e5fdab71127374c719851a8dddf Mon Sep 17 00:00:00 2001
|
||||
From a4a5608aaea4293dd9928c27fe8fb49dd449cd5e Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Graf <agraf@suse.de>
|
||||
Date: Sun, 7 Aug 2016 18:29:12 +0200
|
||||
Subject: [PATCH] smbios: Provide serial number
|
43
0016-efi_loader-Update-description-of-in.patch
Normal file
43
0016-efi_loader-Update-description-of-in.patch
Normal file
@ -0,0 +1,43 @@
|
||||
From 66154a62ce8e08bd3cd06f21379ffd80b1b29804 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sat, 1 Oct 2016 23:32:23 +0200
|
||||
Subject: [PATCH] efi_loader: Update description of internal efi_mem_carve_out
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where
|
||||
changed, but the description was kept.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
lib/efi_loader/efi_memory.c | 14 +++++++++++---
|
||||
1 file changed, 11 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index 80e4e26..ebe8e94 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -62,9 +62,17 @@ static void efi_mem_sort(void)
|
||||
* Unmaps all memory occupied by the carve_desc region from the
|
||||
* list entry pointed to by map.
|
||||
*
|
||||
- * Returns 1 if carving was performed or 0 if the regions don't overlap.
|
||||
- * Returns -1 if it would affect non-RAM regions but overlap_only_ram is set.
|
||||
- * Carving is only guaranteed to complete when all regions return 0.
|
||||
+ * Returns EFI_CARVE_NO_OVERLAP if the regions don't overlap.
|
||||
+ * Returns EFI_CARVE_OVERLAPS_NONRAM if the carve and map overlap,
|
||||
+ * and the map contains anything but free ram.
|
||||
+ * (only when overlap_only_ram is true)
|
||||
+ * Returns EFI_CARVE_LOOP_AGAIN if the mapping list should be traversed
|
||||
+ * again, as it has been altered
|
||||
+ * Returns the number of overlapping pages. The pages are removed from
|
||||
+ * the mapping list.
|
||||
+ *
|
||||
+ * In case of EFI_CARVE_OVERLAPS_NONRAM it is the callers responsibility
|
||||
+ * to readd the already carved out pages to the mapping.
|
||||
*/
|
||||
static int efi_mem_carve_out(struct efi_mem_list *map,
|
||||
struct efi_mem_desc *carve_desc,
|
51
0017-efi_loader-Fix-memory-map-size-chec.patch
Normal file
51
0017-efi_loader-Fix-memory-map-size-chec.patch
Normal file
@ -0,0 +1,51 @@
|
||||
From d8c0aafcdfb413eb414801c58c23a528f4e0a8b7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sun, 9 Oct 2016 22:17:07 +0200
|
||||
Subject: [PATCH] efi_loader: Fix memory map size check to avoid out-of-bounds
|
||||
access
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The current efi_get_memory_map() function overwrites the map_size
|
||||
property before reading its value. That way the sanity check whether our
|
||||
memory map fits into the given array always succeeds, potentially
|
||||
overwriting arbitrary payload memory.
|
||||
|
||||
This patch moves the property update write after its sanity check, so
|
||||
that the check actually verifies the correct value.
|
||||
|
||||
So far this has not triggered any known bugs, but we're better off safe
|
||||
than sorry.
|
||||
|
||||
If the buffer is to small, the returned memory_map_size indicates the
|
||||
required size to the caller.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
lib/efi_loader/efi_memory.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index ebe8e94..1d23783 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -336,6 +336,7 @@ efi_status_t efi_get_memory_map(unsigned long *memory_map_size,
|
||||
ulong map_size = 0;
|
||||
int map_entries = 0;
|
||||
struct list_head *lhandle;
|
||||
+ unsigned long provided_map_size = *memory_map_size;
|
||||
|
||||
list_for_each(lhandle, &efi_mem)
|
||||
map_entries++;
|
||||
@@ -350,7 +351,7 @@ efi_status_t efi_get_memory_map(unsigned long *memory_map_size,
|
||||
if (descriptor_version)
|
||||
*descriptor_version = EFI_MEMORY_DESCRIPTOR_VERSION;
|
||||
|
||||
- if (*memory_map_size < map_size)
|
||||
+ if (provided_map_size < map_size)
|
||||
return EFI_BUFFER_TOO_SMALL;
|
||||
|
||||
/* Copy list into array */
|
60
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
Normal file
60
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
Normal file
@ -0,0 +1,60 @@
|
||||
From 26a4e5caf8a7ce95ac19c6876f2aaf0ecf5c1ed4 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Randhawa <robin.randhawa@arm.com>
|
||||
Date: Tue, 13 Sep 2016 18:36:53 +0100
|
||||
Subject: [PATCH] efi_loader: Fix crash on 32-bit systems
|
||||
|
||||
A type mismatch in the efi_allocate_pool boot service flow causes
|
||||
hazardous memory scribbling on 32-bit systems.
|
||||
|
||||
This is efi_allocate_pool's prototype:
|
||||
|
||||
static efi_status_t EFIAPI efi_allocate_pool(int pool_type,
|
||||
unsigned long size,
|
||||
void **buffer);
|
||||
|
||||
Internally, it invokes efi_allocate_pages as follows:
|
||||
|
||||
efi_allocate_pages(0, pool_type, (size + 0xfff) >> 12,
|
||||
(void*)buffer);
|
||||
|
||||
This is efi_allocate_pages' prototype:
|
||||
|
||||
efi_status_t efi_allocate_pages(int type, int memory_type,
|
||||
unsigned long pages,
|
||||
uint64_t *memory);
|
||||
|
||||
The problem: efi_allocate_pages does this internally:
|
||||
|
||||
*memory = addr;
|
||||
|
||||
This fix in efi_allocate_pool uses a transitional uintptr_t cast to
|
||||
ensure the correct outcome, irrespective of the system's native word
|
||||
size.
|
||||
|
||||
This was observed when bootefi'ing the EFI instance of FreeBSD's first
|
||||
stage bootstrap (boot1.efi) on a 32-bit ARM platform (Qemu VExpress +
|
||||
Cortex-a9).
|
||||
|
||||
Signed-off-by: Robin Randhawa <robin.randhawa@arm.com>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
lib/efi_loader/efi_boottime.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
|
||||
index 4d0e077..63f6b09 100644
|
||||
--- a/lib/efi_loader/efi_boottime.c
|
||||
+++ b/lib/efi_loader/efi_boottime.c
|
||||
@@ -134,9 +134,11 @@ static efi_status_t EFIAPI efi_allocate_pool(int pool_type, unsigned long size,
|
||||
void **buffer)
|
||||
{
|
||||
efi_status_t r;
|
||||
+ efi_physical_addr_t t;
|
||||
|
||||
EFI_ENTRY("%d, %ld, %p", pool_type, size, buffer);
|
||||
- r = efi_allocate_pages(0, pool_type, (size + 0xfff) >> 12, (void*)buffer);
|
||||
+ r = efi_allocate_pages(0, pool_type, (size + 0xfff) >> 12, &t);
|
||||
+ *buffer = (void *)(uintptr_t)t;
|
||||
return EFI_EXIT(r);
|
||||
}
|
||||
|
@ -1,62 +0,0 @@
|
||||
From db288b9701692c38f6fd614b7c1011d22c1d6781 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@konsulko.com>
|
||||
Date: Mon, 15 Aug 2016 13:02:15 -0400
|
||||
Subject: [PATCH] common: env_nand: Ensure that we have nand_info[0] prior to
|
||||
use
|
||||
|
||||
Now that nand_info[] is an array of pointers we need to ensure that it's
|
||||
been populated prior to use. We may for example have ENV in NAND set in
|
||||
configurations that run on boards with and without NAND (where default
|
||||
env is fine enough, such as omap3_beagle and beagleboard (NAND) vs
|
||||
beagle xM (no NAND)).
|
||||
|
||||
Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip")
|
||||
Cc: Scott Wood <oss@buserror.net>
|
||||
Signed-off-by: Tom Rini <trini@konsulko.com>
|
||||
Acked-by: Scott Wood <oss@buserror.net>
|
||||
---
|
||||
common/env_nand.c | 11 +++++++----
|
||||
1 file changed, 7 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/common/env_nand.c b/common/env_nand.c
|
||||
index fc99a5e..2e28171 100644
|
||||
--- a/common/env_nand.c
|
||||
+++ b/common/env_nand.c
|
||||
@@ -163,6 +163,9 @@ static int erase_and_write_env(const struct env_location *location,
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
+ if (!nand_info[0])
|
||||
+ return 1;
|
||||
+
|
||||
printf("Erasing %s...\n", location->name);
|
||||
if (nand_erase_opts(nand_info[0], &location->erase_opts))
|
||||
return 1;
|
||||
@@ -247,10 +250,10 @@ static int readenv(size_t offset, u_char *buf)
|
||||
size_t blocksize, len;
|
||||
u_char *char_ptr;
|
||||
|
||||
- blocksize = nand_info[0]->erasesize;
|
||||
- if (!blocksize)
|
||||
+ if (!nand_info[0])
|
||||
return 1;
|
||||
|
||||
+ blocksize = nand_info[0]->erasesize;
|
||||
len = min(blocksize, (size_t)CONFIG_ENV_SIZE);
|
||||
|
||||
while (amount_loaded < CONFIG_ENV_SIZE && offset < end) {
|
||||
@@ -387,12 +390,12 @@ void env_relocate_spec(void)
|
||||
ALLOC_CACHE_ALIGN_BUFFER(char, buf, CONFIG_ENV_SIZE);
|
||||
|
||||
#if defined(CONFIG_ENV_OFFSET_OOB)
|
||||
- ret = get_nand_env_oob(nand_info[0], &nand_env_oob_offset);
|
||||
/*
|
||||
* If unable to read environment offset from NAND OOB then fall through
|
||||
* to the normal environment reading code below
|
||||
*/
|
||||
- if (!ret) {
|
||||
+ if (nand_info[0] && !get_nand_env_oob(nand_info[0],
|
||||
+ &nand_env_oob_offset)) {
|
||||
printf("Found Environment offset in OOB..\n");
|
||||
} else {
|
||||
set_default_env("!no env offset in OOB");
|
101
0019-efi_loader-Move-efi_allocate_pool-i.patch
Normal file
101
0019-efi_loader-Move-efi_allocate_pool-i.patch
Normal file
@ -0,0 +1,101 @@
|
||||
From 0fb9e016dc83f2946d1e0d291e945dbf9a25bddc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sun, 9 Oct 2016 22:17:18 +0200
|
||||
Subject: [PATCH] efi_loader: Move efi_allocate_pool implementation to
|
||||
efi_memory.c
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
We currently handle efi_allocate_pool() in our boot time service
|
||||
file. In the following patch, pool allocation will receive additional
|
||||
internal semantics that we should preserve inside efi_memory.c instead.
|
||||
|
||||
As foundation for those changes, split the function into an externally
|
||||
facing efi_allocate_pool_ext() for use by payloads and an internal helper
|
||||
efi_allocate_pool() in efi_memory.c that handles the actual allocation.
|
||||
|
||||
While at it, change the magic 0xfff / 12 constants to the more obvious
|
||||
EFI_PAGE_MASK/SHIFT defines.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
include/efi_loader.h | 3 +++
|
||||
lib/efi_loader/efi_boottime.c | 11 +++++------
|
||||
lib/efi_loader/efi_memory.c | 14 ++++++++++++++
|
||||
3 files changed, 22 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/efi_loader.h b/include/efi_loader.h
|
||||
index b0e8a7f..62ff09b 100644
|
||||
--- a/include/efi_loader.h
|
||||
+++ b/include/efi_loader.h
|
||||
@@ -121,6 +121,9 @@ efi_status_t efi_allocate_pages(int type, int memory_type, unsigned long pages,
|
||||
uint64_t *memory);
|
||||
/* EFI memory free function. Not implemented today */
|
||||
efi_status_t efi_free_pages(uint64_t memory, unsigned long pages);
|
||||
+/* EFI memory allocator for small allocations */
|
||||
+efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
||||
+ void **buffer);
|
||||
/* Returns the EFI memory map */
|
||||
efi_status_t efi_get_memory_map(unsigned long *memory_map_size,
|
||||
struct efi_mem_desc *memory_map,
|
||||
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
|
||||
index 63f6b09..03ad5ce 100644
|
||||
--- a/lib/efi_loader/efi_boottime.c
|
||||
+++ b/lib/efi_loader/efi_boottime.c
|
||||
@@ -130,15 +130,14 @@ efi_status_t EFIAPI efi_get_memory_map_ext(unsigned long *memory_map_size,
|
||||
return EFI_EXIT(r);
|
||||
}
|
||||
|
||||
-static efi_status_t EFIAPI efi_allocate_pool(int pool_type, unsigned long size,
|
||||
- void **buffer)
|
||||
+static efi_status_t EFIAPI efi_allocate_pool_ext(int pool_type,
|
||||
+ unsigned long size,
|
||||
+ void **buffer)
|
||||
{
|
||||
efi_status_t r;
|
||||
- efi_physical_addr_t t;
|
||||
|
||||
EFI_ENTRY("%d, %ld, %p", pool_type, size, buffer);
|
||||
- r = efi_allocate_pages(0, pool_type, (size + 0xfff) >> 12, &t);
|
||||
- *buffer = (void *)(uintptr_t)t;
|
||||
+ r = efi_allocate_pool(pool_type, size, buffer);
|
||||
return EFI_EXIT(r);
|
||||
}
|
||||
|
||||
@@ -740,7 +739,7 @@ static const struct efi_boot_services efi_boot_services = {
|
||||
.allocate_pages = efi_allocate_pages_ext,
|
||||
.free_pages = efi_free_pages_ext,
|
||||
.get_memory_map = efi_get_memory_map_ext,
|
||||
- .allocate_pool = efi_allocate_pool,
|
||||
+ .allocate_pool = efi_allocate_pool_ext,
|
||||
.free_pool = efi_free_pool,
|
||||
.create_event = efi_create_event,
|
||||
.set_timer = efi_set_timer,
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index 1d23783..be642f1 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -327,6 +327,20 @@ efi_status_t efi_free_pages(uint64_t memory, unsigned long pages)
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
+efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
||||
+ void **buffer)
|
||||
+{
|
||||
+ efi_status_t r;
|
||||
+ efi_physical_addr_t t;
|
||||
+ u64 num_pages = (size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT;
|
||||
+
|
||||
+ r = efi_allocate_pages(0, pool_type, num_pages, &t);
|
||||
+ if (r == EFI_SUCCESS)
|
||||
+ *buffer = (void *)(uintptr_t)t;
|
||||
+
|
||||
+ return r;
|
||||
+}
|
||||
+
|
||||
efi_status_t efi_get_memory_map(unsigned long *memory_map_size,
|
||||
struct efi_mem_desc *memory_map,
|
||||
unsigned long *map_key,
|
139
0020-efi_loader-Track-size-of-pool-alloc.patch
Normal file
139
0020-efi_loader-Track-size-of-pool-alloc.patch
Normal file
@ -0,0 +1,139 @@
|
||||
From 23cc3f149001c50942fd9e0412040bfa9a50dd3a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sun, 9 Oct 2016 22:17:26 +0200
|
||||
Subject: [PATCH] efi_loader: Track size of pool allocations to allow freeing
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
We need a functional free_pool implementation, as otherwise each
|
||||
allocate_pool causes growth of the memory descriptor table.
|
||||
|
||||
Different to free_pages, free_pool does not provide the size for the
|
||||
to be freed allocation, thus we have to track the size ourselves.
|
||||
|
||||
As the only EFI requirement for pool allocation is an alignment of
|
||||
8 bytes, we can keep allocating a range using the page allocator,
|
||||
reserve the first 8 bytes for our bookkeeping and hand out the
|
||||
remainder to the caller. This saves us from having to use any
|
||||
independent data structures for tracking.
|
||||
|
||||
To simplify the conversion between pool allocations and the corresponding
|
||||
page allocation, we create an auxiliary struct efi_pool_allocation.
|
||||
|
||||
Given the allocation size free_pool size can handoff freeing the page
|
||||
range, which was indirectly allocated by a call to allocate_pool,
|
||||
to free_pages.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
include/efi_loader.h | 2 ++
|
||||
lib/efi_loader/efi_boottime.c | 6 +++---
|
||||
lib/efi_loader/efi_memory.c | 42 +++++++++++++++++++++++++++++++++++++++---
|
||||
3 files changed, 44 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/efi_loader.h b/include/efi_loader.h
|
||||
index 62ff09b..cb53a57 100644
|
||||
--- a/include/efi_loader.h
|
||||
+++ b/include/efi_loader.h
|
||||
@@ -124,6 +124,8 @@ efi_status_t efi_free_pages(uint64_t memory, unsigned long pages);
|
||||
/* EFI memory allocator for small allocations */
|
||||
efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
||||
void **buffer);
|
||||
+/* EFI pool memory free function. */
|
||||
+efi_status_t efi_free_pool(void *buffer);
|
||||
/* Returns the EFI memory map */
|
||||
efi_status_t efi_get_memory_map(unsigned long *memory_map_size,
|
||||
struct efi_mem_desc *memory_map,
|
||||
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
|
||||
index 03ad5ce..68f99fb 100644
|
||||
--- a/lib/efi_loader/efi_boottime.c
|
||||
+++ b/lib/efi_loader/efi_boottime.c
|
||||
@@ -141,12 +141,12 @@ static efi_status_t EFIAPI efi_allocate_pool_ext(int pool_type,
|
||||
return EFI_EXIT(r);
|
||||
}
|
||||
|
||||
-static efi_status_t EFIAPI efi_free_pool(void *buffer)
|
||||
+static efi_status_t EFIAPI efi_free_pool_ext(void *buffer)
|
||||
{
|
||||
efi_status_t r;
|
||||
|
||||
EFI_ENTRY("%p", buffer);
|
||||
- r = efi_free_pages((ulong)buffer, 0);
|
||||
+ r = efi_free_pool(buffer);
|
||||
return EFI_EXIT(r);
|
||||
}
|
||||
|
||||
@@ -740,7 +740,7 @@ static const struct efi_boot_services efi_boot_services = {
|
||||
.free_pages = efi_free_pages_ext,
|
||||
.get_memory_map = efi_get_memory_map_ext,
|
||||
.allocate_pool = efi_allocate_pool_ext,
|
||||
- .free_pool = efi_free_pool,
|
||||
+ .free_pool = efi_free_pool_ext,
|
||||
.create_event = efi_create_event,
|
||||
.set_timer = efi_set_timer,
|
||||
.wait_for_event = efi_wait_for_event,
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index be642f1..de28db6 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -34,6 +34,19 @@ void *efi_bounce_buffer;
|
||||
#endif
|
||||
|
||||
/*
|
||||
+ * U-Boot services each EFI AllocatePool request as a separate
|
||||
+ * (multiple) page allocation. We have to track the number of pages
|
||||
+ * to be able to free the correct amount later.
|
||||
+ * EFI requires 8 byte alignment for pool allocations, so we can
|
||||
+ * prepend each allocation with an 64 bit header tracking the
|
||||
+ * allocation size, and hand out the remainder to the caller.
|
||||
+ */
|
||||
+struct efi_pool_allocation {
|
||||
+ u64 num_pages;
|
||||
+ char data[];
|
||||
+};
|
||||
+
|
||||
+/*
|
||||
* Sorts the memory list from highest address to lowest address
|
||||
*
|
||||
* When allocating memory we should always start from the highest
|
||||
@@ -332,11 +345,34 @@ efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
||||
{
|
||||
efi_status_t r;
|
||||
efi_physical_addr_t t;
|
||||
- u64 num_pages = (size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT;
|
||||
+ u64 num_pages = (size + sizeof(u64) + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT;
|
||||
+
|
||||
+ if (size == 0) {
|
||||
+ *buffer = NULL;
|
||||
+ return EFI_SUCCESS;
|
||||
+ }
|
||||
|
||||
r = efi_allocate_pages(0, pool_type, num_pages, &t);
|
||||
- if (r == EFI_SUCCESS)
|
||||
- *buffer = (void *)(uintptr_t)t;
|
||||
+
|
||||
+ if (r == EFI_SUCCESS) {
|
||||
+ struct efi_pool_allocation *alloc = (void *)(uintptr_t)t;
|
||||
+ alloc->num_pages = num_pages;
|
||||
+ *buffer = alloc->data;
|
||||
+ }
|
||||
+
|
||||
+ return r;
|
||||
+}
|
||||
+
|
||||
+efi_status_t efi_free_pool(void *buffer)
|
||||
+{
|
||||
+ efi_status_t r;
|
||||
+ struct efi_pool_allocation *alloc;
|
||||
+
|
||||
+ alloc = container_of(buffer, struct efi_pool_allocation, data);
|
||||
+ /* Sanity check, was the supplied address returned by allocate_pool */
|
||||
+ assert(((uintptr_t)alloc & EFI_PAGE_MASK) == 0);
|
||||
+
|
||||
+ r = efi_free_pages((uintptr_t)alloc, alloc->num_pages);
|
||||
|
||||
return r;
|
||||
}
|
67
0021-efi_loader-Readd-freed-pages-to-mem.patch
Normal file
67
0021-efi_loader-Readd-freed-pages-to-mem.patch
Normal file
@ -0,0 +1,67 @@
|
||||
From 564a16541420fcece9591b402702c066dafd5764 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sat, 1 Oct 2016 23:32:27 +0200
|
||||
Subject: [PATCH] efi_loader: Readd freed pages to memory pool
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Currently each allocation creates a new mapping. Readding the mapping
|
||||
as free memory (EFI_CONVENTIONAL_MEMORY) potentially allows to hand out
|
||||
an existing mapping, thus limiting the number of mapping descriptors in
|
||||
the memory map.
|
||||
|
||||
Mitigates a problem with current (4.8rc7) linux kernels when doing an
|
||||
efi_get_memory map, resulting in an infinite loop. Space for the memory
|
||||
map is reserved with allocate_pool (implicitly creating a new mapping) and
|
||||
filled. If there is insufficient slack space (8 entries) in the map, the
|
||||
space is freed and a new round is started, with space for one more entry.
|
||||
As each round increases requirement and allocation by exactly one, there
|
||||
is never enough slack space. (At least 32 entries are allocated, so as
|
||||
long as there are less than 24 entries, there is enough slack).
|
||||
Earlier kernels reserved no slack, and did less allocations, so this
|
||||
problem was not visible.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
include/efi_loader.h | 2 +-
|
||||
lib/efi_loader/efi_memory.c | 11 +++++++++--
|
||||
2 files changed, 10 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/include/efi_loader.h b/include/efi_loader.h
|
||||
index cb53a57..36dbe8b 100644
|
||||
--- a/include/efi_loader.h
|
||||
+++ b/include/efi_loader.h
|
||||
@@ -119,7 +119,7 @@ void *efi_alloc(uint64_t len, int memory_type);
|
||||
/* More specific EFI memory allocator, called by EFI payloads */
|
||||
efi_status_t efi_allocate_pages(int type, int memory_type, unsigned long pages,
|
||||
uint64_t *memory);
|
||||
-/* EFI memory free function. Not implemented today */
|
||||
+/* EFI memory free function. */
|
||||
efi_status_t efi_free_pages(uint64_t memory, unsigned long pages);
|
||||
/* EFI memory allocator for small allocations */
|
||||
efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index de28db6..d3a2ffd 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -336,8 +336,15 @@ void *efi_alloc(uint64_t len, int memory_type)
|
||||
|
||||
efi_status_t efi_free_pages(uint64_t memory, unsigned long pages)
|
||||
{
|
||||
- /* We don't free, let's cross our fingers we have plenty RAM */
|
||||
- return EFI_SUCCESS;
|
||||
+ uint64_t r = 0;
|
||||
+
|
||||
+ r = efi_add_memory_map(memory, pages, EFI_CONVENTIONAL_MEMORY, false);
|
||||
+ /* Merging of adjacent free regions is missing */
|
||||
+
|
||||
+ if (r == memory)
|
||||
+ return EFI_SUCCESS;
|
||||
+
|
||||
+ return EFI_NOT_FOUND;
|
||||
}
|
||||
|
||||
efi_status_t efi_allocate_pool(int pool_type, unsigned long size,
|
33
0022-efi_loader-Keep-memory-mapping-sort.patch
Normal file
33
0022-efi_loader-Keep-memory-mapping-sort.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 54af1e79726ed7c1032d493145be9332154c7e6e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sat, 1 Oct 2016 23:32:28 +0200
|
||||
Subject: [PATCH] efi_loader: Keep memory mapping sorted when splitting an
|
||||
entry
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The code assumes sorted mappings in descending address order. When
|
||||
splitting a mapping, insert the new part next to the current mapping.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
lib/efi_loader/efi_memory.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index d3a2ffd..742bc90 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -135,7 +135,8 @@ static int efi_mem_carve_out(struct efi_mem_list *map,
|
||||
newmap->desc = map->desc;
|
||||
newmap->desc.physical_start = carve_start;
|
||||
newmap->desc.num_pages = (map_end - carve_start) >> EFI_PAGE_SHIFT;
|
||||
- list_add_tail(&newmap->link, &efi_mem);
|
||||
+ /* Insert before current entry (descending address order) */
|
||||
+ list_add_tail(&newmap->link, &map->link);
|
||||
|
||||
/* Shrink the map to [ map_start ... carve_start ] */
|
||||
map_desc->num_pages = (carve_start - map_start) >> EFI_PAGE_SHIFT;
|
39
0023-efi_loader-Do-not-leak-memory-when-.patch
Normal file
39
0023-efi_loader-Do-not-leak-memory-when-.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From 6664cc7a103156a8faee7f94cb1fb86f64776c6c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||
Date: Sat, 1 Oct 2016 23:32:29 +0200
|
||||
Subject: [PATCH] efi_loader: Do not leak memory when unlinking a mapping
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
As soon as a mapping is unlinked from the list, there are no further
|
||||
references to it, so it should be freed. If it not unlinked,
|
||||
update the start address and length.
|
||||
|
||||
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
Reviewed-by: Alexander Graf <agraf@suse.de>
|
||||
Signed-off-by: Alexander Graf <agraf@suse.de>
|
||||
---
|
||||
lib/efi_loader/efi_memory.c | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
|
||||
index 742bc90..95aa590 100644
|
||||
--- a/lib/efi_loader/efi_memory.c
|
||||
+++ b/lib/efi_loader/efi_memory.c
|
||||
@@ -116,10 +116,13 @@ static int efi_mem_carve_out(struct efi_mem_list *map,
|
||||
if (map_end == carve_end) {
|
||||
/* Full overlap, just remove map */
|
||||
list_del(&map->link);
|
||||
+ free(map);
|
||||
+ } else {
|
||||
+ map->desc.physical_start = carve_end;
|
||||
+ map->desc.num_pages = (map_end - carve_end)
|
||||
+ >> EFI_PAGE_SHIFT;
|
||||
}
|
||||
|
||||
- map_desc->physical_start = carve_end;
|
||||
- map_desc->num_pages = (map_end - carve_end) >> EFI_PAGE_SHIFT;
|
||||
return (carve_end - carve_start) >> EFI_PAGE_SHIFT;
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:974fb7225c0af6a721307631f66b81e20dbda82a4d7cc32aba2a625727231253
|
||||
size 11506848
|
3
u-boot-2016.09.01.tar.bz2
Normal file
3
u-boot-2016.09.01.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95728e89dd476d17428f94080752ab48884be477b6a678941582aeef618b70bb
|
||||
size 11783287
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a10-olinuxino-lime
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a10-olinuxino-lime platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A10-OLinuXino-Lime_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a13-olinuxino
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a13-olinuxino platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXino_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a13-olinuxinom
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a13-olinuxinom platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXinoM_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a20-olinuxino-lime
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a20-olinuxino-lime platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a20-olinuxino-lime2
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a20-olinuxino-lime2 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-a20-olinuxinomicro
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the a20-olinuxinomicro platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino_MICRO_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-am335xboneblack
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the am335xboneblack platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_boneblack_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-am335xevm
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the am335xevm platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-am57xxevm
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the am57xxevm platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-am57xxevmnodt
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the am57xxevmnodt platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_nodt_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-arndale
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the arndale platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-bananapi
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the bananapi platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Bananapi_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-clearfog
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the clearfog platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" clearfog_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-colibrit20
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the colibrit20 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" colibri_t20_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-cubieboard
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the cubieboard platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-cubieboard2
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the cubieboard2 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-cubietruck
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the cubietruck platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-dragonboard410c
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the dragonboard410c platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" dragonboard410c_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-firefly-rk3288
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the firefly-rk3288 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" firefly-rk3288_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in rksd rkimage; do
|
||||
./tools/mkimage -n rk3288 -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n rk3288 -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in rksd rkimage; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-highbank
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the highbank platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-hikey
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the hikey platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" hikey_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-hyundaia7hd
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the hyundaia7hd platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Hyundai_A7HD_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-jetson-tk1
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the jetson-tk1 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-melea1000
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the melea1000 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-merriia80optimus
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the merriia80optimus platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Merrii_A80_Optimus_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-mx53loco
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the mx53loco platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-mx6cuboxi
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the mx6cuboxi platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6cuboxi_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-mx6qsabrelite
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the mx6qsabrelite platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-odroid-c2
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the odroid-c2 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-c2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-odroid-xu3
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the odroid-xu3 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-xu3_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-odroid
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the odroid platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-omap3beagle
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the omap3beagle platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-omap4panda
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the omap4panda platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-orangepipc
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the orangepipc platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" orangepi_pc_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-p2371-2180
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the p2371-2180 platform
|
||||
License: GPL-2.0
|
||||
@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" p2371-2180_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
|
||||
for t in ; do
|
||||
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
|
||||
done
|
||||
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 11:25:48 UTC 2016 - agraf@suse.com
|
||||
|
||||
- Backport patches to allow 4.8 kernels to boot
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2016.09
|
||||
* Patches added:
|
||||
0016-efi_loader-Update-description-of-in.patch
|
||||
0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 13:21:36 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- update_git.sh: Handle SUBLEVEL for %archive_version (x.y.Z)
|
||||
- Switch to branch tumbleweed-2016.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:01:33 UTC 2016 - guillaume@opensuse.org
|
||||
|
||||
- Updated to v2016.09
|
||||
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-staging
|
||||
* Patches dropped:
|
||||
0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
0012-x86-Move-table-csum-into-separate-h.patch
|
||||
0013-x86-Move-smbios-generation-into-arc.patch
|
||||
0014-efi_loader-Expose-efi_install_confi.patch
|
||||
0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0017-efi_loader-Fix-efi_install_configur.patch
|
||||
0018-smbios-Provide-serial-number.patch
|
||||
0019-common-env_nand-Ensure-that-we-have.patch
|
||||
* Patches added:
|
||||
0009-x86-Move-table-csum-into-separate-h.patch
|
||||
0010-x86-Move-smbios-generation-into-arc.patch
|
||||
0011-efi_loader-Expose-efi_install_confi.patch
|
||||
0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
0014-efi_loader-Fix-efi_install_configur.patch
|
||||
0015-smbios-Provide-serial-number.patch
|
||||
- Add python as BuildRequires (needed by some boards using DTOC
|
||||
such as firefly-rk3288)
|
||||
- Fix firefly-rk3288 by replacing u-boot-spl-dtb.bin
|
||||
by u-boot-spl.bin
|
||||
- Updated to v2016.09.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:18:17 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user